Files
xingque/pages/withdraw/components/record-mode2/record-mode2.wxml

91 lines
4.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- record-mode2仅提现记录自动打款 -->
<view class="app">
<image class="global-bg" src="{{imgUrls.pageBg}}" mode="aspectFill" />
<view class="history-section history-section--full">
<view class="history-header">
<text class="history-title">提现记录</text>
</view>
<view wx:if="{{hasPendingCollect}}" class="pending-tip">
您有审核通过的提现待收款,请点击「收款」按钮,在微信中主动确认后才能到账。
</view>
<scroll-view class="filter-scroll" scroll-x show-scrollbar="{{false}}">
<view class="filter-track">
<view
wx:for="{{statusTabs}}"
wx:key="value"
class="filter-chip {{currentStatusFilter == item.value ? 'active' : ''}}"
bindtap="onStatusFilterTap"
data-value="{{item.value}}"
>{{item.label}}</view>
</view>
</scroll-view>
<scroll-view class="history-scroll" scroll-y enable-back-to-top bindscrolltolower="onReachBottom">
<view wx:for="{{recordList}}" wx:key="index" class="history-item">
<view class="history-info">
<text class="history-amount">¥{{item.jine}}</text>
<text class="history-time">{{item.create}}</text>
</view>
<view class="history-detail">
<text class="history-method">微信零钱</text>
<text class="history-type">{{item.leixingLabel}}</text>
</view>
<view class="history-status">
<view
wx:if="{{item.canCollect}}"
class="status-badge status-pending collect-tappable"
bindtap="onCollectTap"
data-index="{{index}}"
>
<text>{{item.statusText}}</text>
<text class="collect-sub">点击收款</text>
</view>
<view wx:elif="{{item.canShowDetail}}" class="status-badge status-fail">
{{item.statusText}}
<text class="fail-link" bindtap="onViewDetail" data-index="{{index}}">详情</text>
</view>
<view wx:else class="status-badge {{item.statusBadgeClass}}">{{item.statusText}}</view>
</view>
</view>
<view wx:if="{{loading}}" class="load-tip">加载中...</view>
<view wx:if="{{nomore && recordList.length > 0}}" class="more-tip">—— 没有更多了 ——</view>
<view wx:if="{{!nomore && recordList.length > 0}}" class="load-more-btn" bindtap="onReachBottom">加载更多记录</view>
<view wx:if="{{recordList.length === 0 && !loading}}" class="load-tip">暂无提现记录</view>
</scroll-view>
</view>
<view class="safe-bottom"></view>
</view>
<view wx:if="{{showCollectConfirm}}" class="modal-mask" bindtap="onCloseCollectConfirm">
<view class="modal-dialog" catchtap="stopPropagation">
<view class="modal-header">确认收款</view>
<view class="modal-body">
<view class="auto-tip">审核已通过,{{collectConfirmRecord.leixingLabel}} ¥{{collectConfirmRecord.jine}}</view>
<view>请点击「去收款」,然后在微信弹窗中主动确认,资金才会打入您的微信零钱。</view>
<view class="warn-tip" wx:if="{{collectConfirmRecord.shenhe_danhao}}">审核单号:{{collectConfirmRecord.shenhe_danhao}}</view>
<view class="warn-tip">注意:审核通过≠已到账,必须您本人点击确认才能完成收款!</view>
</view>
<view class="modal-footer">
<view class="modal-btn cancel" bindtap="onCloseCollectConfirm">稍后再说</view>
<view class="modal-btn confirm" bindtap="onConfirmCollect">{{submitting ? '处理中...' : '去收款'}}</view>
</view>
</view>
</view>
<view wx:if="{{showDetailModal}}" class="modal-mask" bindtap="onCloseDetailModal">
<view class="modal-dialog" catchtap="stopPropagation">
<view class="modal-header">{{detailTitle}}</view>
<view class="modal-body">{{detailContent}}</view>
<view class="modal-footer">
<view class="modal-btn confirm" bindtap="onCloseDetailModal">知道了</view>
</view>
</view>
</view>
<global-notification id="global-notification" />
<popup-notice id="popupNotice" />