- Added a new entry for user interaction habit analysis based on agent transcripts, summarizing key insights into communication styles and preferences. - Updated project indices to reflect the latest developments, including the addition of a wallet balance feature and enhancements to the mini program's user interface for better user experience. - Improved the handling of loading states in the chapters page, ensuring a smoother user experience during data retrieval. - Implemented a gift payment sharing feature, allowing users to share payment requests with friends for collaborative purchases.
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
<!-- Soul创业派对 - 代付详情页 -->
|
|
<view class="page">
|
|
<view class="nav-bar" style="padding-top: {{statusBarHeight}}px;">
|
|
<view class="nav-content">
|
|
<view class="nav-back" bindtap="goBack">
|
|
<text class="back-arrow">←</text>
|
|
</view>
|
|
<view class="nav-info">
|
|
<text class="nav-title">帮他付款</text>
|
|
</view>
|
|
<view class="nav-right-placeholder"></view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="content" style="padding-top: calc({{statusBarHeight}}px + 88rpx);">
|
|
<block wx:if="{{loading}}">
|
|
<view class="loading-box">
|
|
<view class="loading-spinner"></view>
|
|
<text class="loading-text">加载中...</text>
|
|
</view>
|
|
</block>
|
|
<block wx:elif="{{detail}}">
|
|
<view class="card">
|
|
<view class="card-header">
|
|
<text class="card-title">代付订单</text>
|
|
<text class="initiator">{{detail.initiatorNickname || '好友'}} 请你帮忙付款</text>
|
|
</view>
|
|
<view class="card-body">
|
|
<view class="row">
|
|
<text class="label">商品</text>
|
|
<text class="value">{{detail.description || '-'}}</text>
|
|
</view>
|
|
<view class="row amount-row">
|
|
<text class="label">金额</text>
|
|
<text class="amount">¥{{detail.amount ? detail.amount.toFixed(2) : '0.00'}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="tips">
|
|
<text>付款后,{{detail.initiatorNickname || '好友'}}将获得对应权益</text>
|
|
</view>
|
|
<button class="pay-btn" bindtap="doPay" disabled="{{paying}}">
|
|
{{paying ? '支付中...' : '帮他付款'}}
|
|
</button>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="empty">
|
|
<text>代付请求不存在或已处理</text>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|