evaluate.wxml
2.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!--pages/evaluate/evaluate.wxml-->
<view class="container">
<!-- 商品信息 -->
<view class="productInfo">
<view class="leftPic">
<image src="{{postData.listGoodsVoList[0].goodsPic}}"></image>
</view>
<view class="rightText">
<view class="name">{{postData.listGoodsVoList[0].goodsName}}</view>
<view class="detail">{{postData.listGoodsVoList[0].goodsAttributes}}</view>
<view class="price">¥{{postData.listGoodsVoList[0].goodsPrice}}</view>
<view class="num">x{{postData.listGoodsVoList[0].goodsQuantity}}</view>
</view>
</view>
<!-- 商品评价 -->
<view class="evaluateBox">
<view class="title">商品评价
</view>
<textarea name="" id="" cols="30" rows="10" placeholder="请输入商品评价" bindinput="textAreaInput" maxlength="300"
value="{{content}}"></textarea>
<view class="number">300/{{length}}</view>
<!-- 上传凭证 -->
<view class="photoBox">
<view class="photoText">
<view class="lefttext">上传凭证</view>
<view class="right">最多可上传3张</view>
</view>
<view class="photo">
<view class="photoOne" bindtap="chooseImage">
<image src="/images/05-06/photo.png" mode="aspectFill"></image>
</view>
<view class="photoOne" wx:for="{{imgs}}" data-index="{{index}}">
<image src="{{item}}"></image>
<view class="delBox" bindtap="delPic" data-index="{{index}}">
<image src="/images/05-06/chaIcon.png"></image>
</view>
</view>
</view>
</view>
<!-- bottom -->
<view class="btnBox" bindtap="submit" id="{{iphone?'bottom40':''}}">
<view class="btn">
提交
</view>
</view>
</view>
<!-- 匿名评价 -->
<view class="anonymBox">
<view class="checkBox" data-type="{{checkType}}" bindtap="checkEvent">
<image src="/images/04-01/uncheck.png" wx:if="{{checkType==0}}"></image>
<image src="/images/04-01/check.png" wx:if="{{checkType==1}}"></image>
</view>
<view>匿名评价</view>
</view>
</view>