重构匹配页面,通过新增登录和手机号绑定模态窗口来提升用户体验。在添加好友前,增加了通过微信和手机号绑定登录的功能。更新了API配置,并调整了用户联系信息的本地存储处理方式。改进了模态窗口的用户界面元素,并确保用户交互的数据流正确。
This commit is contained in:
@@ -90,46 +90,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 收益卡片 - 艺术化设计 - 仅登录用户显示 -->
|
||||
<view class="earnings-card" wx:if="{{isLoggedIn}}">
|
||||
<!-- 背景装饰圆 -->
|
||||
<view class="bg-decoration bg-decoration-gold"></view>
|
||||
<view class="bg-decoration bg-decoration-brand"></view>
|
||||
|
||||
<view class="earnings-content">
|
||||
<!-- 标题行:右侧为刷新图标 -->
|
||||
<view class="earnings-header">
|
||||
<view class="earnings-title-wrap">
|
||||
<text class="earnings-icon">💰</text>
|
||||
<text class="earnings-title">我的收益</text>
|
||||
</view>
|
||||
<view class="earnings-refresh-wrap" bindtap="refreshEarnings">
|
||||
<text class="earnings-refresh-icon {{earningsRefreshing ? 'earnings-refresh-spin' : ''}}">↻</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 收益数据:加载中显示 - 占位 -->
|
||||
<view class="earnings-data">
|
||||
<view class="earnings-main">
|
||||
<text class="earnings-label">累计收益</text>
|
||||
<text class="earnings-amount-large gold-gradient">{{earningsLoading ? '-' : '¥' + earnings}}</text>
|
||||
</view>
|
||||
<view class="earnings-secondary">
|
||||
<text class="earnings-label">可提现</text>
|
||||
<text class="earnings-amount-medium">{{earningsLoading ? '-' : '¥' + pendingEarnings}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<view class="earnings-action" bindtap="goToReferral">
|
||||
<text class="action-icon">🎁</text>
|
||||
<text class="action-text">推广中心 / 提现</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 待确认收款(用户确认模式)- 仅登录用户显示 -->
|
||||
<view class="pending-confirm-card" wx:if="{{isLoggedIn}}">
|
||||
<!-- 待确认收款(用户确认模式)- 有数据时显示 -->
|
||||
<view class="pending-confirm-card" wx:if="{{isLoggedIn && pendingConfirmList.length > 0}}">
|
||||
<view class="pending-confirm-header">
|
||||
<text class="pending-confirm-title">待确认收款</text>
|
||||
<text class="pending-confirm-desc" wx:if="{{pendingConfirmList.length > 0}}">审核已通过,点击下方按钮完成收款</text>
|
||||
|
||||
Reference in New Issue
Block a user