Fix:【商城小程序】商品详情页—【产品参数】与【商品评价】优化
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<view class="list v12-ma-0" style="padding: 0rpx 0 30rpx;">
|
<view class="list v12-ma-0" style="padding: 0rpx 0 30rpx;">
|
||||||
<view class="item" v-for="(order,orderListIndex) in orderList" :key="orderListIndex">
|
<view class="item" v-for="(order,orderListIndex) in orderList" :key="orderListIndex">
|
||||||
<view class="shop-info flex jc-between ai-center" v-if="order.merName">
|
<view class="shop-info flex jc-between ai-center" v-if="order.merName" @click="goStore(order)">
|
||||||
<view class="flex ai-center">
|
<view class="flex ai-center">
|
||||||
<image :src="webUrl+'/orderIcon/shop.png'" style="width: 32rpx;height: 32rpx"/>
|
<image :src="webUrl+'/orderIcon/shop.png'" style="width: 32rpx;height: 32rpx"/>
|
||||||
<text class="name v12-font-weight-400 v12-dark-text v12-font-24">{{ order.merName }}</text>
|
<text class="name v12-font-weight-400 v12-dark-text v12-font-24">{{ order.merName }}</text>
|
||||||
@@ -304,6 +304,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
goStore(order) {
|
||||||
|
// this.$yrouter.push({
|
||||||
|
// path: "/pagesInn/inn/innHome",
|
||||||
|
// query: {
|
||||||
|
// id: order.merId
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
},
|
||||||
async toYuePay(payPwd) {
|
async toYuePay(payPwd) {
|
||||||
const that = this;
|
const that = this;
|
||||||
//网络请求
|
//网络请求
|
||||||
|
|||||||
@@ -307,6 +307,28 @@
|
|||||||
</view>
|
</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产品参数开始 -->
|
<!-- v6产品参数开始 -->
|
||||||
<view
|
<view
|
||||||
class="param-section goods-section"
|
class="param-section goods-section"
|
||||||
@@ -347,24 +369,6 @@
|
|||||||
</view>
|
</view>
|
||||||
<!-- v6产品参数结束 -->
|
<!-- 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">
|
<view class="product-intro" style="margin-top: 24rpx">
|
||||||
<rich-text :nodes="storeInfo.description" v-if="source!='pre' && source!='day'"/>
|
<rich-text :nodes="storeInfo.description" v-if="source!='pre' && source!='day'"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user