orderSwitchPopup.wxml 2.12 KB
<!-- 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">
			<view class="label">
				<view class="num">交易参考号</view>
				<view class="time">支付时间</view>
				<view class="payNum">支付金额</view>
			</view>
			<view class="table-body">
				<scroll-view
				             scroll-y
				             enable-back-to-top
				             refresher-enabled="{{true}}"
				             bindrefresherrefresh="restPageNum"
				             bindscrolltolower="scrollonReachBottom"
				             refresher-threshold="104"
				             style="height:100%;"
				             refresher-triggered="{{triggered}}">
					<block
					       wx:for="{{tableList}}"
					       class="orderInfo"
					       wx:for-item="tableItem"
					       wx:key="index">
						<view
						      class="orderInfo"
						      data-index="{{index}}"
						      data-item="{{tableItem}}"
						      bindtap="choose">
							<block wx:if="{{tableItem.active}}">
								<image class="checkedIcon" src="../images/checkedIcon.png" />
							</block>
							<block wx:if="{{!tableItem.active}}">
								<view class="arc" />
							</block>
							<view class="tradeNo">{{tableItem.outTradeNo}}</view>
							<view class="accountDate">{{tableItem.formatAccountDate}}</view>
							<view class="orderPrice">¥{{tableItem.totalFee / 100}}</view>
						</view>
					</block>
					<view class="tips" wx:if="{{tableList.length>4&&(currentPage==pages)}}">到底了~</view>
				</scroll-view>
			</view>
		</view>
		<view class="wx-popup-btn">
			<view class="btn-ok" bindtap='_success' open-type="{{sureButtonType}}">{{btn_ok}}</view>
		</view>
	</view>
</view>