Fix:【商城小程序】商品详情页—【产品参数】与【商品评价】优化

This commit is contained in:
modendeveloper
2024-09-12 23:08:09 +08:00
parent 0d72a1d580
commit 5ab1254676
2 changed files with 31 additions and 19 deletions
+22 -18
View File
@@ -307,6 +307,28 @@
</view>
<!-- 门店信息结束 -->
<!-- 用户评价开始 -->
<!-- v-if="replyCount" -->
<view class="userEvaluation" v-if="replyCount" >
<view class="title acea-row row-between-wrapper">
<view>
<text class="v12-font-weight-500 v12-dark-text">商品评价</text>
<text class="v12-ml-2 v12-dark1-text">({{ replyCount }})</text>
</view>
<text @click="goEvaluateList(id)" class="praise">
<!-- <text class="font-color-red">{{ replyChance }}%</text>
好评率 -->
<text class="iconfont icon-jiantou"></text>
</text>
</view>
<user-evaluation :reply="reply"></user-evaluation>
</view>
<!-- 用户评价结束 -->
<view class="v12-justify-center">
<view style="width: 50%;">
<u-divider text="商品详情" lineColor="#666" textColor="#666" :hairline="false"></u-divider>
</view>
</view>
<!-- v6产品参数开始 -->
<view
class="param-section goods-section"
@@ -347,24 +369,6 @@
</view>
<!-- v6产品参数结束 -->
<!-- 用户评价开始 -->
<!-- v-if="replyCount" -->
<view class="userEvaluation" v-if="replyCount" >
<view class="title acea-row row-between-wrapper">
<view>
<text class="v12-font-weight-500 v12-dark-text">商品评价</text>
<text class="v12-ml-2 v12-dark1-text">({{ replyCount }})</text>
</view>
<text @click="goEvaluateList(id)" class="praise">
<!-- <text class="font-color-red">{{ replyChance }}%</text>
好评率 -->
<text class="iconfont icon-jiantou"></text>
</text>
</view>
<user-evaluation :reply="reply"></user-evaluation>
</view>
<!-- 用户评价结束 -->
<!-- 商品详情开始 -->
<view class="product-intro" style="margin-top: 24rpx">
<rich-text :nodes="storeInfo.description" v-if="source!='pre' && source!='day'"/>