|
|
|
@ -140,6 +140,9 @@ export default { |
|
|
|
this.getSupplier(this.$store.state.supplierInfo.supplierId) |
|
|
|
} |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
this.downCallback() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
back, |
|
|
|
// 获取上新商品数量 |
|
|
|
@ -155,11 +158,11 @@ export default { |
|
|
|
} else { |
|
|
|
this.logo = res.logo |
|
|
|
} |
|
|
|
if (res.backgroundImg === '') { |
|
|
|
this.backgroundStyle = 'background: url("/static/imgs/mall/zsc-bg-icon.png") no-repeat;' |
|
|
|
} else { |
|
|
|
this.backgroundStyle = 'background: url(' + res.backgroundImg + ') no-repeat;' |
|
|
|
} |
|
|
|
// if (res.backgroundImg === '') { |
|
|
|
// this.backgroundStyle = 'background: url("/static/imgs/mall/zsc-bg-icon.png") no-repeat;' |
|
|
|
// } else { |
|
|
|
// this.backgroundStyle = 'background: url(' + res.backgroundImg + ') no-repeat;' |
|
|
|
// } |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch((err) => { |
|
|
|
@ -423,7 +426,7 @@ export default { |
|
|
|
z-index: 9999; |
|
|
|
right: 32rpx; |
|
|
|
bottom: 122rpx; |
|
|
|
background-color: #007aff; |
|
|
|
background-color: #007AFF; |
|
|
|
border-radius: 50%; |
|
|
|
padding: 10rpx; |
|
|
|
text-align: center; |
|
|
|
@ -439,6 +442,7 @@ export default { |
|
|
|
.my-image { |
|
|
|
width: 100rpx; |
|
|
|
height: 100rpx; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</style> |