From 6c8102aecda65f4334993f4e8cebb7e07398d3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 16 Nov 2021 17:43:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=88=91=E7=9A=84=E8=AF=84?= =?UTF-8?q?=E4=BB=B7=E4=B8=AD=E8=AE=A2=E5=8D=95=E8=AF=84=E8=AE=BA=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/evaluate/myEvaluate.vue | 32 +++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/pages/order/evaluate/myEvaluate.vue b/pages/order/evaluate/myEvaluate.vue index dcb6c85..84ed1a2 100644 --- a/pages/order/evaluate/myEvaluate.vue +++ b/pages/order/evaluate/myEvaluate.vue @@ -2,7 +2,8 @@ - + @@ -18,7 +19,8 @@ - + {{ sku.name }} @@ -34,7 +36,8 @@ - + @@ -52,7 +55,11 @@ + + {{groupCommentStatusWay[sku.commentStatus]}} + + @@ -69,7 +76,8 @@ import { getComments } from "@/api/members.js"; export default { data() { return { - list: [ //顶部tab + list: [ + //顶部tab { name: "待评价", }, @@ -77,12 +85,19 @@ export default { name: "已评价", }, ], - gradeList: { //评论表 + gradeList: { + //评论表 GOOD: "好评", MODERATE: "中评", WORSE: "差评", haveImage: "有图", }, + groupCommentStatusWay: { + NEW: "新订单,不能进行评论", + UNFINISHED: "未完成评论", + WAIT_CHASE: "待追评的评论信息", + FINISHED: "已经完成评论", + }, current: 0, //当前tabIndex orderList: [], //商品集合 params: { @@ -193,7 +208,7 @@ export default { * 发表评价 */ talkCommont(sku) { - console.log(sku) + console.log(sku); uni.navigateTo({ url: `./releaseEvaluate?sn=${sku.sn}&sku=${encodeURIComponent( JSON.stringify(sku) @@ -262,6 +277,11 @@ export default { page { height: 100%; } +.tips { + text-align: right; + font-size: 24rpx; + color: #999; +} .wrap { background: #f6f6f6; height: calc(100vh - var(--window-top));