1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

我的订单点击跳转订单详情页;订单详情页展示订单总金额;立即下单可以选择商品数量

This commit is contained in:
2023-03-21 16:36:13 +08:00
parent 87eaf03b9d
commit 0e83116550
12 changed files with 290 additions and 141 deletions

View File

@@ -6,13 +6,22 @@
</view>
</view>
<!-- 订单总金额 -->
<view style="text-align: center;">
<view class="good-price good-price-counter">
<view class="good-price-symbol" style="font-size: 40rpx;">¥</view>
<view class="good-price-number" style="font-size: 60rpx;">{{ orderPrice }}</view>
</view>
</view>
<view class="order-info">
<view>订单号:{{order.id}}</view>
<view>订单创建时间:{{orderTime}}</view>
<view>订单总金额:{{order.orderPrice}} 元</view>
<view>订单状态:{{order.orderStatus}}</view>
</view>
<view class="good-list-title">商品列表</view>
<view class="good-list-title">订单详情</view>
<view class="good-card-container" wx:for="{{orderGoodList}}" wx:for-item="item" wx:key="wxid" goodinfo="{{item}}">
<!-- 商品图片 -->
@@ -45,6 +54,6 @@
<view class="bottom-controlbox">
<!-- 屏幕底部 -->
<view class="bottom-buttons">
<view class="btn" id="btn-confirm-payment" bindtap="confirmPayment">确认支付</view>
<view wx:if="{{ orderStatusCode == 'Pending' }}" class="btn" id="btn-confirm-payment" bindtap="confirmPayment">确认支付</view>
</view>
</view>