69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
<view class="page">
|
|
<view class="notice">
|
|
<view class="notice-head">
|
|
<text class="notice-title">注意</text>
|
|
</view>
|
|
<view class="notice-row">
|
|
<text class="notice-label">退款规则:</text>
|
|
<text class="notice-text">{{refundRulesText}}</text>
|
|
</view>
|
|
<view class="notice-row">
|
|
<text class="notice-label">退款路径:</text>
|
|
<text class="notice-text">原路退款,请注意查收</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="refund-info" wx:if="{{actualPaidAmount}}">
|
|
<view class="refund-info-row">
|
|
<text class="refund-info-label">实际支付:</text>
|
|
<text class="refund-info-value">¥{{actualPaidAmount}}</text>
|
|
</view>
|
|
<view class="refund-info-row" wx:if="{{refundedAmount > 0}}">
|
|
<text class="refund-info-label">已退款:</text>
|
|
<text class="refund-info-value refunded">¥{{refundedAmount}}</text>
|
|
</view>
|
|
<view class="refund-info-row">
|
|
<text class="refund-info-label">剩余可退款:</text>
|
|
<text class="refund-info-value refundable">¥{{refundableAmount}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="items" wx:if="{{items.length}}">
|
|
<block wx:for="{{items}}" wx:key="itemKey" wx:for-item="regItem">
|
|
<view class="item-card">
|
|
<view class="item-title">
|
|
<text class="item-title-text">{{regItem.projectName}}</text>
|
|
</view>
|
|
<view class="pill-row">
|
|
<block wx:for="{{regItem.pills}}" wx:key="pillKey" wx:for-item="pill">
|
|
<view
|
|
class="pill {{pill.selected ? 'is-on' : ''}}"
|
|
catchtap="onTogglePill"
|
|
data-pillkey="{{pill.pillKey}}"
|
|
>{{pill.label}}</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
|
|
<view class="empty" wx:else>
|
|
<text class="empty-text">{{loading ? '加载中...' : '暂无可取消项目'}}</text>
|
|
</view>
|
|
|
|
<view class="footer">
|
|
<view class="footer-left" catchtap="onToggleAll">
|
|
<view class="check {{selectAll ? 'is-on' : ''}}"></view>
|
|
<text class="footer-left-text">取消全部</text>
|
|
</view>
|
|
<view
|
|
class="footer-btn {{selectedCount === 0 ? 'is-disabled' : ''}}"
|
|
catchtap="onConfirmCancel"
|
|
>
|
|
<text class="footer-btn-sub">退款金额 ¥{{refundAmount}}</text>
|
|
<text class="footer-btn-main">确认取消</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|