48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
<!-- 账号受限页 U48 -->
|
|||
|
|
<view class="page" wx:if="{{!loading}}">
|
||
|
|
<view class="status-banner" wx:if="{{hasRestriction}}">
|
||
|
|
<view class="banner-icon">⚠</view>
|
||
|
|
<text class="banner-title">账号受限</text>
|
||
|
|
<text class="banner-status">{{statusText(accountStatus)}}</text>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view wx:if="{{!hasRestriction}}" class="normal-state">
|
||
|
|
<view class="normal-icon">✓</view>
|
||
|
|
<text class="normal-title">账号状态正常</text>
|
||
|
|
<text class="normal-hint">您的账号目前无限制,可以正常使用所有功能。</text>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view class="actions-list" wx:if="{{hasRestriction && actions.length > 0}}">
|
||
|
|
<view class="action-card" wx:for="{{actions}}" wx:key="id">
|
||
|
|
<view class="action-header">
|
||
|
|
<text class="action-type">{{actionTypeText(item.actionType)}}</text>
|
||
|
|
<text class="action-time">{{formatTime(item.effectiveAt)}}</text>
|
||
|
|
</view>
|
||
|
|
<text class="action-reason">{{item.reason}}</text>
|
||
|
|
<text class="action-expiry" wx:if="{{item.expiresAt}}">
|
||
|
|
有效期至:{{formatTime(item.expiresAt)}}
|
||
|
|
</text>
|
||
|
|
<text class="action-expiry" wx:else>永久限制</text>
|
||
|
|
<button
|
||
|
|
wx:if="{{item.canAppeal && canAppeal}}"
|
||
|
|
class="btn-appeal"
|
||
|
|
data-action="{{item}}"
|
||
|
|
bindtap="goAppeal">
|
||
|
|
提交申诉
|
||
|
|
</button>
|
||
|
|
<text wx:if="{{item.canAppeal && !canAppeal && appealEnabled}}" class="appeal-hint">
|
||
|
|
该类型限制暂不支持在线申诉,请联系客服。
|
||
|
|
</text>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view class="appeal-disabled" wx:if="{{hasRestriction && !appealEnabled}}">
|
||
|
|
<text class="disabled-hint">当前申诉功能暂未开放,如有疑问请联系客服。</text>
|
||
|
|
<button class="btn-contact" bindtap="goHelp">联系客服</button>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
<view class="page loading-page" wx:if="{{loading}}">
|
||
|
|
<text>加载中...</text>
|
||
|
|
</view>
|