diff --git a/common/api/shop.js b/common/api/shop.js index a56f116..19eb9a8 100644 --- a/common/api/shop.js +++ b/common/api/shop.js @@ -260,13 +260,24 @@ export default { getStoreInfo({id}){ return vm.$u.post('Store/getStoreInfo',{id}) }, + // 评论标签+数量 + getEvaluateSpec({ id }) { + return vm.$u.post('Specialci/getEvaluateSpec', { + goods_id: id, + }) + }, // 获取商品评论 - getAllEvalue({ goods_id, page }) { + getAllEvalue({ goods_id, page, type }) { return vm.$u.post('Specialci/getAllEvalue', { goods_id: goods_id, page: page, + type: type, }) }, + // 搜索发现列表 + searchwordlist() { + return vm.$u.post('ShopSearch/searchwordlist') + }, } } diff --git a/components/comment/index.vue b/components/comment/index.vue index fcdb680..e933943 100644 --- a/components/comment/index.vue +++ b/components/comment/index.vue @@ -8,6 +8,9 @@ {{ content.geval_content }} + + + 掌柜回复: {{ content.geval_explain }} @@ -69,6 +72,18 @@ export default { } } } + .image-container { + margin: 20rpx 0; + > image { + width: 210rpx; + height: 210rpx; + border-radius: 10rpx; + margin-bottom: 20rpx; + &:not(:nth-child(3n)) { + margin-right: 30rpx; + } + } + } .reply { padding: 30rpx; background: rgba(240,238,238,1); diff --git a/components/mine/order-item/index.vue b/components/mine/order-item/index.vue index 5fdd5e5..97800b7 100644 --- a/components/mine/order-item/index.vue +++ b/components/mine/order-item/index.vue @@ -12,9 +12,11 @@ {{ goods.goods_name }} - XL;红色条纹XL;红色条纹XL;红色条纹 - 距离结束:23:23:38 - 总价:¥99.00,实付款¥99 + + {{ spec + ';' }} + + 结束时间:{{ order.add_time * 1000 | date('yyyy-mm-dd hh:MM') }} + 总价:¥{{ goods.goods_price }},实付款¥{{ goods.goods_pay_price }} {{ order.add_time | date }} @@ -27,13 +29,14 @@ 查看物流 立即评价 取消支付 - 立即支付 + 立即支付 联系官方客服 提交官方审核 @@ -114,6 +131,7 @@ export default { height: 50rpx; border-radius: 50%; margin-right: 15rpx; + background-color: aquamarine; } .store-name { font-size: 26rpx; diff --git a/pageB/comment/index.vue b/pageB/comment/index.vue index 0ad8cbe..c70266e 100644 --- a/pageB/comment/index.vue +++ b/pageB/comment/index.vue @@ -1,7 +1,7 @@