修复管理师端预约与登录体验
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
<view class="page no-tab">
|
||||
<view wx:if="{{loadError}}" class="empty card">
|
||||
<text>{{loadError}}</text>
|
||||
<button class="secondary-btn retry-btn" bindtap="loadCustomer">重试</button>
|
||||
</view>
|
||||
|
||||
<block wx:else>
|
||||
<view class="card customer-head">
|
||||
<view class="customer-identity">
|
||||
<view class="avatar">{{avatarText}}</view>
|
||||
@@ -28,13 +34,15 @@
|
||||
<view class="section">
|
||||
<view class="section-title">历史订单</view>
|
||||
<view class="list">
|
||||
<view wx:if="{{orders.length === 0}}" class="empty card">暂无历史订单</view>
|
||||
<view wx:for="{{orders}}" wx:key="id" class="card list-card order-card">
|
||||
<view>
|
||||
<text class="order-title">{{item.project}}</text>
|
||||
<text class="meta">{{item.date}} · {{item.artist}}</text>
|
||||
<text class="order-title">{{item.project || item.productTitle || '预约作品'}}</text>
|
||||
<text class="meta">{{item.date || item.appointmentDate || '-'}} · {{item.artist || item.artistName || '-'}}</text>
|
||||
</view>
|
||||
<text class="amount">¥{{item.amount}}</text>
|
||||
<text class="amount">¥{{item.amount || item.payAmount || 0}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user