Files
a_long/pages/tixian/tixian.wxml
2026-06-14 02:38:05 +08:00

33 lines
912 B
Plaintext
Raw Permalink 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.
<!-- pages/tixian/tixian.wxml -->
<view class="tixian-container">
<!-- 加载中状态 -->
<view wx:if="{{pageMode === 0 && !loadError}}" class="loading-center">
<view class="loading-spinner"></view>
<text class="loading-text">加载中...</text>
</view>
<!-- 加载失败状态 -->
<view wx:elif="{{loadError}}" class="error-center">
<text class="error-text">加载失败,请检查网络</text>
<view class="retry-btn" bindtap="retryFetch">点击重试</view>
</view>
<!-- 模式1收款码模式 -->
<mode1
wx:elif="{{pageMode === 2}}"
options="{{pageOptions}}"
id="tixian-mode1"
/>
<!-- 模式2微信零钱模式 -->
<mode2
wx:elif="{{pageMode === 1}}"
options="{{pageOptions}}"
id="tixian-mode2"
/>
<!-- 弹窗组件(放在最外层,跟原来一样) -->
<global-notification id="global-notification" />
<popup-notice id="popupNotice" />
</view>