feat: present miniapp orders with formatted status
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
<view>{{item.title}}</view>
|
||||
<view class="muted">{{item.typeText}} {{item.orderNo}}</view>
|
||||
</view>
|
||||
<view class="tag">{{item.status}}</view>
|
||||
<view class="tag">{{item.statusText}}</view>
|
||||
</view>
|
||||
<view class="row between">
|
||||
<view class="muted">状态:{{item.status}}</view>
|
||||
<view class="price">¥{{item.amountCent / 100}}</view>
|
||||
<view class="muted">状态:{{item.statusText}}</view>
|
||||
<view class="price">{{item.amountText}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{!orders.length && !loading}}" class="card muted">暂无订单</view>
|
||||
|
||||
Reference in New Issue
Block a user