orderRatingPopup.wxml
1.82 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
<!-- components/orderSwitchPopup/orderSwitchPopup.wxml -->
<view wx:if="{{flag}}" class='container' style=''>
<!-- bindtap='_close' 取消遮光层关闭事件 -->
<view class='wrap {{wrapAnimate}}' style='background:rgba(0,0,0,{{bgOpacity}});' />
<view class='popup-container {{popupAnimate}}'>
<view class="v_title">
<view class="wx-popup-title">{{title}}</view>
<image
bindtap='_close'
src='../../images/order-close.png'
mode='widthFix'
class='btn-colse'
wx:if="{{isShowClose}}" />
</view>
<view class="wx-popup-con">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{false}}"
refresher-threshold="104"
style="height:100%;">
<view class="signature">
<image src="{{orderInfo.electronicSignature}}" binderror="" bindload="" />
</view>
<view class="customerPhotos">
<image
class="customerPhotosItem"
wx:for="{{orderInfo.customerPhotos}}"
src="{{item.customerPhoto}}"
wx:key="index"
binderror=""
bindload="" />
</view>
<view class='star-box'>
<view class="label">评分:</view>
<block wx:for="{{5}}" wx:key="index">
<view class="star" bindtap="setStar" data-index="{{index}}">
<image src="{{index < orderInfo.rating?'/tabWorkOrder/images/star-active.png':'/tabWorkOrder/images/star.png'}}" />
</view>
</block>
</view>
<view class="tags">
<block wx:for="{{tags}}" wx:key="index">
<view
wx:if="{{item.checked}}"
class="tag {{item.checked?'act':''}}"
bindtap="chooseTag"
data-index="{{index}}">
{{item.name}}
</view>
</block>
</view>
</scroll-view>
</view>
</view>
</view>