1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <!-- nova-tourism/pages/shop/order/index.wxml -->
- <nav type="back" background-color="{{activeColor}}" title="订单详情" frontColor="#ffffff" />
- <view class="infomation">
- <view class="title" style="background-color: {{activeColor}};">配送信息</view>
- <view class="name">
- <view class="key">姓名</view>
- <view class="value">
- <input class="ipt" model:value="{{realName}}" type="text" placeholder="请输入真实姓名" placeholder-style="color: #bbb;"></input>
- </view>
- </view>
- <view class="mobile">
- <view class="key">联系电话</view>
- <view class="value">
- <input class="ipt" model:value="{{mobile}}" type="text" placeholder="请输入有效联系电话" placeholder-style="color: #bbb;"></input>
- </view>
- </view>
- <view class="address">
- <view class="key">送货地址</view>
- <view class="value">
- <input class="ipt" model:value="{{address}}" type="text" placeholder="请输入详细地址" placeholder-style="color: #bbb;"></input>
- </view>
- </view>
- </view>
- <view class="goodsList">
- <view class="status" style="background-color: {{activeColor}};">
- {{
- order.status == '100' ? '待付款' :
- (order.status == '200' ? '已支付' :
- (order.status == '300' ? '已出单' :
- (order.status == '400' ? '已送达' :
- (order.status == '500' ? '退款申请中' :
- (order.status == '601' ? '退款审核通过' :
- (order.status == '602' ? '退款审核被驳回' :
- (order.status == '700' ? '退款成功' :
- (order.status == '800' ? '已评价' : '' ))))))))
- }}
- </view>
- <view class="store">
- <view class="img">
- <image src="{{order.store.cover}}" mode="aspectFill"></image>
- </view>
- <view class="storeName">{{order.store.storeName}}</view>
- </view>
- <view class="goods" wx:for="{{goods}}" wx:key="index">
- <view class="img">
- <image src="{{item.image}}" mode="aspectFill"></image>
- </view>
- <view class="info">
- <view class="name">{{item.name}}</view>
- <view class="desc">{{item.desc ? item.desc : '暂无商品介绍'}}</view>
- </view>
- <view class="data">
- <view class="price">¥{{item.price >= 0 ? item.price : 0}}</view>
- <view class="originalPrice">¥{{item.originalPrice >= 0 ? item.originalPrice : 0}}</view>
- <view class="count">X{{item.count}}</view>
- </view>
- </view>
- <view class="totalPrice">
- <view class="key">订单总价</view>
- <view class="value">¥{{order.totalPrice >= 0 ? order.totalPrice : 0}}</view>
- </view>
- </view>
- <view class="purchase" wx:if="{{order.status == '100'}}" style="background-color: {{activeColor}};">
- <view class="totalPrice">合计:¥{{order.totalPrice}}</view>
- <view class="pay" bindtap="payMoney" style="box-shadow: -10rpx 0 25rpx {{activeColor}};">支付订单</view>
- </view>
- <van-toast id="van-toast" />
- <payment style="z-index: 99999;" id='payMent' show="{{show}}" tradeNo="{{tradeNo}}" price="{{money}}" bind:payResult='acceptResult' showType="all" />
|