orderRatingPopup.wxml 1.94 KB
<!-- components/orderSwitchPopup/orderSwitchPopup.wxml -->
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<view wx:if="{{flag}}" class='container'>
	<!-- 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>