商品评论回复功能

This commit is contained in:
sunyinggang
2020-02-10 20:59:54 +08:00
parent 1bc2f4e13d
commit 4bbe33d799
10 changed files with 92 additions and 17 deletions

View File

@@ -20,9 +20,9 @@
<view class="imgs" wx:if="{{item.picList.length > 0}}">
<image class="img" wx:for="{{item.picList}}" wx:key="*this" wx:for-item="pitem" src="{{pitem}}"></image>
</view>
<view class="customer-service" wx:if="{{item.reply}}">
<text class="u">小商场回复:</text>
<text class="c">{{item.reply}}</text>
<view class="customer-service" wx:if="{{item.adminContent}}">
<text class="u">商家回复:</text>
<text class="c">{{item.adminContent}}</text>
</view>
</view>

View File

@@ -75,6 +75,10 @@
<view class="imgs" wx:if="{{item.picList.length > 0}}">
<image class="img" wx:for="{{item.picList}}" wx:key="*this" wx:for-item="iitem" src="{{iitem}} "></image>
</view>
<view class="customer-service" wx:if="{{item.adminContent}}">
<text class="u">商家回复:</text>
<text class="c">{{item.adminContent}}</text>
</view>
</view>
</view>
</view>

View File

@@ -321,6 +321,27 @@
margin-bottom: 30rpx;
}
.comments .customer-service {
width: 690rpx;
height: auto;
overflow: hidden;
margin-top: 23rpx;
background: rgba(0, 0, 0, 0.03);
padding: 21rpx;
}
.comments .customer-service .u {
font-size: 24rpx;
color: #333;
line-height: 37.5rpx;
}
.comments .customer-service .c {
font-size: 24rpx;
color: #999;
line-height: 37.5rpx;
}
.goods-attr {
width: 750rpx;
height: auto;

View File

@@ -10,8 +10,8 @@
},
"compileType": "miniprogram",
"libVersion": "2.4.0",
"appid": "wxa5b486c6b918ecfb",
"projectname": "litemall-wx",
"appid": "wx1cd22d00f1fac673",
"projectname": "litemall-wx-l",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {