comment.wxml
4.4 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
58
59
60
61
62
63
64
65
66
67
68
<!--pages/my/comment/comment.wxml-->
<view>
<view class='banner'>
<view class='iconfont icon-fanhui' bindtap='get_back'></view>
<view class='coupons'>发表评价</view>
</view>
<view class='content_item'>
<view class='evaluation'>
<view>商品质量 “满意”</view>
<view class='icon_font'>
<view class='iconfont icon-pingjia {{arr[0].flag?"active":""}}' bindtap='changeStarId' data-index='{{1}}' data-flag='{{arr[0].flag}}'></view>
<view class='iconfont icon-pingjia {{arr[1].flag?"active":""}}' bindtap='changeStarId' data-index='{{2}}' data-flag='{{arr[1].flag}}'></view>
<view class='iconfont icon-pingjia {{arr[2].flag?"active":""}}' bindtap='changeStarId' data-index='{{3}}' data-flag='{{arr[2].flag}}'></view>
<view class='iconfont icon-pingjia {{arr[3].flag?"active":""}}' bindtap='changeStarId' data-index='{{4}} ' data-flag='{{arr[3].flag}}'></view>
<view class='iconfont icon-pingjia {{arr[4].flag?"active":""}}' bindtap='changeStarId' data-index='{{5}} ' data-flag='{{arr[4].flag}}'></view>
</view>
</view>
<view class='evaluation1'>
<view>物流服务 “无可挑剔”</view>
<view class='icon_font'>
<view class='iconfont icon-pingjia {{arr1[0].flag?"active":""}}' bindtap='changeStarIds' data-index='{{1}}' data-flag='{{arr1[0].flag}}'></view>
<view class='iconfont icon-pingjia {{arr1[1].flag?"active":""}}' bindtap='changeStarIds' data-index='{{2}}' data-flag='{{arr1[1].flag}}'></view>
<view class='iconfont icon-pingjia {{arr1[2].flag?"active":""}}' bindtap='changeStarIds' data-index='{{3}}' data-flag='{{ar1r[2].flag}}'></view>
<view class='iconfont icon-pingjia {{arr1[3].flag?"active":""}}' bindtap='changeStarIds' data-index='{{4}} ' data-flag='{{arr1[3].flag}}'></view>
<view class='iconfont icon-pingjia {{arr1[4].flag?"active":""}}' bindtap='changeStarIds' data-index='{{5}} ' data-flag='{{arr1[4].flag}}'></view>
</view>
</view>
</view>
<view class='content_item'>
<view class='item_list' wx:for='{{orderList}}' wx:key='{{item.id}}'>
<view>{{item.title}}*{{item.number}}</view>
<view class='content_btn'>
<view class='praise {{item.flag1?"active":""}}' bindtap='changeSupport' data-gid='{{item.id}}' >
<view class='iconfont icon-zan'></view>
<view>赞</view>
</view>
<view class='step_on {{item.flag2?"active":""}}' bindtap='changeSupport2' data-gid='{{item.id}}'>
<view class='iconfont icon-cai'></view>
<view>踩</view>
</view>
</view>
</view>
</view>
<view class='content_item1'>
<view class='area_box'>
<textarea placeholder="亲,是否对商品和配送服务等还满意吗?" placeholder-class='area' class='text_area' maxlength='200' value='{{text}}' bindinput='limit'></textarea>
<text class="font_num">{{length}}/200</text>
</view>
<view class='img_box'>
<view class='content_img' wx:for='{{imgBox}}' wx:key='{{index}}' wx:for-index='index'>
<view class='iconfont icon icon-quxiao' data-index='{{item}}' bindtap='deleteImg'></view>
<image src='{{item}}'></image>
</view>
<view class='content_img' bindtap='changePhoto' wx:if='{{imgBox.length<9}}'>
<view class='iconfont icon-jia'></view>
</view>
</view>
</view>
<view class='bottom_btn' bindtap='submitComment'>
<view class='submit_btn'>提交</view>
</view>
</view>