diff --git a/common/api/user.js b/common/api/user.js index a4c2b39..da2a7e7 100644 --- a/common/api/user.js +++ b/common/api/user.js @@ -375,10 +375,9 @@ export default { return vm.$u.post('member/getClothesTypeList'); }, // 送洗评价 - sendOrderComment({ id, comment }) { + sendOrderComment({ id, comment, comment_img }) { return vm.$u.post('member/sendOrderComment', { - id: id, - comment: comment, + id, comment, comment_img }); }, // 送洗确认完成 diff --git a/components/mine/comment/index.vue b/components/mine/comment/index.vue index 70c0c0e..c32bd29 100644 --- a/components/mine/comment/index.vue +++ b/components/mine/comment/index.vue @@ -6,8 +6,8 @@ {{ info.comment }} - - + + @@ -19,6 +19,14 @@ export default { }, props: { info: Object, + }, + methods: { + previewImage(urls) { + // console.log(urls) + uni.previewImage({ + urls: urls, + }); + }, } }; @@ -47,12 +55,12 @@ export default { font-size: 26rpx; color: rgba(51,51,51,1); line-height: 40rpx; - margin-bottom: 19rpx; } .image { display: flex; flex-wrap: wrap; > image { + margin-top: 20rpx; width: 210rpx; height: 210rpx; border-radius: 10rpx; diff --git a/components/shop/recommend/pintuan.vue b/components/shop/recommend/pintuan.vue index fb5bac7..5b5d625 100644 --- a/components/shop/recommend/pintuan.vue +++ b/components/shop/recommend/pintuan.vue @@ -110,7 +110,6 @@ export default { left: 0; top: 0; z-index: 8; - background-color: aqua; } &:last-child { left: 32rpx; diff --git a/pageC/merchant/index.vue b/pageC/merchant/index.vue index 8254980..fb9e050 100644 --- a/pageC/merchant/index.vue +++ b/pageC/merchant/index.vue @@ -236,6 +236,13 @@ export default { };