修复去追评

feature/comment-0624-ch
ch 2 years ago
parent 845ad5dba8
commit 8d00cb4242

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-06-23 10:40:04 * @Date: 2022-06-23 10:40:04
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-24 16:21:52 * @LastEditTime: 2022-06-28 21:36:12
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -50,6 +50,7 @@ export default {
} }
&--ctx{ &--ctx{
line-height: 24px; line-height: 24px;
word-break: break-all;
} }
} }
</style> </style>

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-06-24 11:43:04 * @Date: 2022-06-24 11:43:04
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-27 18:06:10 * @LastEditTime: 2022-06-28 21:34:32
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -58,6 +58,7 @@
<div class="answer--name"><b>{{commentDetail.merchantComment.userName}}</b><span>{{commentDetail.merchantComment.createTime}}</span></div> <div class="answer--name"><b>{{commentDetail.merchantComment.userName}}</b><span>{{commentDetail.merchantComment.createTime}}</span></div>
<p class="answer--ctx">{{commentDetail.merchantComment.commentContent}}</p> <p class="answer--ctx">{{commentDetail.merchantComment.commentContent}}</p>
</li> </li>
<template v-if="answerVisible">
<li class="answer--item" v-for="(item, idx) in answerCommentList" :key="idx"> <li class="answer--item" v-for="(item, idx) in answerCommentList" :key="idx">
<div class="answer--name"> <div class="answer--name">
<b>{{item.userName}} {{item.parentId !== commentDetail.id ? ` 回复 ${item.parentUserName}` : ''}}</b> <b>{{item.userName}} {{item.parentId !== commentDetail.id ? ` 回复 ${item.parentUserName}` : ''}}</b>
@ -66,6 +67,7 @@
<p class="answer--ctx">{{item.commentContent}}</p> <p class="answer--ctx">{{item.commentContent}}</p>
<span class="answer--answer" @click="handleAnswer(item)"></span> <span class="answer--answer" @click="handleAnswer(item)"></span>
</li> </li>
</template>
</ul> </ul>
<div v-if="answerVisible" class="answer--form"> <div v-if="answerVisible" class="answer--form">
<input v-model="answerContent" class="answer--input" <input v-model="answerContent" class="answer--input"

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-09 14:41:37 * @Date: 2022-05-09 14:41:37
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-27 18:13:43 * @LastEditTime: 2022-06-28 21:47:32
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -14,6 +14,7 @@
<!-- 已发货可以确认收货 --> <!-- 已发货可以确认收货 -->
<UiButton v-if="orderInfo.orderStatus === 4" type="yellow_gradual" :radius="true" @click="receive"></UiButton> <UiButton v-if="orderInfo.orderStatus === 4" type="yellow_gradual" :radius="true" @click="receive"></UiButton>
<UiButton v-if="orderInfo.orderStatus === 5" type="yellow_gradual" :radius="true" @click="handelComment"></UiButton> <UiButton v-if="orderInfo.orderStatus === 5" type="yellow_gradual" :radius="true" @click="handelComment"></UiButton>
<UiButton v-if="orderInfo.orderStatus === 6" type="yellow_gradual" :radius="true" @click="handelComment"></UiButton>
<!-- 待支付可以取消支付订单 --> <!-- 待支付可以取消支付订单 -->
<template v-if="orderInfo.orderStatus === 1"> <template v-if="orderInfo.orderStatus === 1">
<UiButton type="yellow_gradual" :radius="true" @click="payVisible = true">去支付</UiButton> <UiButton type="yellow_gradual" :radius="true" @click="payVisible = true">去支付</UiButton>

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-04 20:47:29 * @Date: 2022-05-04 20:47:29
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-27 15:28:13 * @LastEditTime: 2022-06-28 21:48:56
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -55,10 +55,13 @@
<UiButton type="yellow_gradual" @click="pay(item)"></UiButton> <UiButton type="yellow_gradual" @click="pay(item)"></UiButton>
<span class="link-btn" @click="cancelPay(item)"></span> <span class="link-btn" @click="cancelPay(item)"></span>
</template> </template>
<router-link :to="`./detail?id=${item.orderId}`" v-if="item.orderStatus >= 4"></router-link>
<UiButton type="yellow_gradual" v-if="item.orderStatus === 4" @click="receive(item)"></UiButton> <UiButton type="yellow_gradual" v-if="item.orderStatus === 4" @click="receive(item)"></UiButton>
<UiButton type="yellow_gradual" v-if="item.orderStatus === 5" <UiButton type="yellow_gradual" v-if="item.orderStatus === 5"
@click="$router.push(`/account/comment?orderId=${item.orderId}`)">去评价</UiButton> @click="$router.push(`/account/comment?orderId=${item.orderId}`)">去评价</UiButton>
<UiButton type="yellow_gradual" v-if="item.orderStatus === 6"
@click="$router.push(`/account/comment?orderId=${item.orderId}`)">去追评</UiButton>
<router-link class="link-btn" :to="`./detail?id=${item.orderId}`" v-if="item.orderStatus >= 4"></router-link>
</td> </td>
</template> </template>
</tr> </tr>

@ -2,14 +2,14 @@
* @Author: ch * @Author: ch
* @Date: 2022-06-24 14:39:38 * @Date: 2022-06-24 14:39:38
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-28 15:50:10 * @LastEditTime: 2022-06-28 21:51:09
* @Description: file content * @Description: file content
--> -->
<template> <template>
<div> <div>
<div class="title"> <div class="title">
<b>商品评价</b> <b>商品评价</b>
<div v-if="list.length"> <div>
<el-dropdown class="title--sort" @command="handleCommand"> <el-dropdown class="title--sort" @command="handleCommand">
<span>{{sortActive.label}}<i class="el-icon-arrow-down el-icon--right"></i></span> <span>{{sortActive.label}}<i class="el-icon-arrow-down el-icon--right"></i></span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">

Loading…
Cancel
Save