1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
epp/weixin-miniprogram/pages/shop/orderConfirm.wxml

50 lines
1.4 KiB
Plaintext
Raw Normal View History

<!--pages/shop/orderConfirm.wxml-->
<view class="page-title-container">
<view class="page-title-emoji">🎉</view>
<view class="page-title">
订单已创建,快去支付吧
</view>
</view>
<view class="order-info">
<view>订单号:{{order.id}}</view>
<view>订单创建时间:{{orderTime}}</view>
<view>订单状态:{{order.orderStatus}}</view>
</view>
<view class="good-list-title">商品列表</view>
<view class="good-card-container" wx:for="{{orderGoodList}}" wx:for-item="item" wx:key="wxid" goodinfo="{{item}}">
<!-- 商品图片 -->
<view class="good-card-image" style="background-image: {{ 'url(' + item.good.picUrl + ');'}};">
</view>
<!-- 商品标题 -->
<view class="good-card-info good-title-container">
<text class="good-title line-wrap">{{ item.good.brief }}</text>
</view>
<!-- 下单时刻商品单价 -->
<view class="good-card-info">
<view class="good-price good-price-counter">
<view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ item.unitPrice }}</view>
</view>
</view>
<!-- 商品个数 -->
<view class="good-card-info">
<view>x{{ item.goodCount }}</view>
</view>
</view>
<view style="height: 110px;">
<!-- 占位用 -->
</view>
<view class="bottom-controlbox">
<!-- 屏幕底部 -->
<view class="bottom-buttons">
<view class="btn" id="btn-confirm-payment" bindtap="confirmPayment">确认支付</view>
</view>
</view>