diff --git a/buyer/src/components/goodsDetail/ShowGoods.vue b/buyer/src/components/goodsDetail/ShowGoods.vue index 8f23da65..57d20b77 100644 --- a/buyer/src/components/goodsDetail/ShowGoods.vue +++ b/buyer/src/components/goodsDetail/ShowGoods.vue @@ -155,7 +155,7 @@ export default { count: 1, // 商品数量 imgIndex: 0, // 展示图片下标 currentSelceted: [], // 当前商品sku - imgList: this.detail.data.specList[0].specImage || [{}], // 商品图片列表 + imgList: [{}], // 商品图片列表 skuDetail: this.detail.data, // sku详情 goodsSpecList: this.detail.specs, // 商品spec promotionMap: { // 活动状态 @@ -329,6 +329,11 @@ export default { } }) } + this.detail.data.specList.forEach(e => { + if (e.specName === 'images') { + this.imgList = e.specImage + } + }) this.formatSku(this.goodsSpecList); this.promotion() document.title = this.skuDetail.goodsName diff --git a/buyer/src/pages/GoodsDetail.vue b/buyer/src/pages/GoodsDetail.vue index 80028cc0..33b72bff 100644 --- a/buyer/src/pages/GoodsDetail.vue +++ b/buyer/src/pages/GoodsDetail.vue @@ -16,9 +16,9 @@ {{ goodsMsg.data.storeName }} {{ - storeCollected ? '已收藏店铺' : '收藏店铺' - }} + :color="storeCollected ? '#ed3f14' : '#666'"/> + {{storeCollected ? '已收藏店铺' : '收藏店铺'}} + 联系客服 diff --git a/buyer/src/pages/home/memberCenter/Point.vue b/buyer/src/pages/home/memberCenter/Point.vue index 188afcbd..47b8a3fc 100644 --- a/buyer/src/pages/home/memberCenter/Point.vue +++ b/buyer/src/pages/home/memberCenter/Point.vue @@ -8,7 +8,7 @@

积分日志

diff --git a/manager/src/views/change-password/change-password.vue b/manager/src/views/change-password/change-password.vue index 66f7a097..85708f12 100644 --- a/manager/src/views/change-password/change-password.vue +++ b/manager/src/views/change-password/change-password.vue @@ -1,5 +1,3 @@ - -