12345678910111213141516171819202122232425262728293031323334 |
- <nav type="back" background-color="{{activeColor}}" title="订单详情" frontColor="#ffffff" />
- <view class="box" data-item="{{item}}" bindtap="details">
- <view class="title">{{foodorder.store.storeName}}</view>
- <view class="details">
- <image class="image" src="{{foodorder.store.cover}}" />
- <view class="information">
- <view class="num">订单号:{{foodorder.tradeNo}}</view>
- <view class="time">下单时间:{{time}}</view>
- <view class="time">桌号:{{foodorder.table.name}}</view>
- <view class="time">总价:¥{{foodorder.totalPrice}}</view>
- </view>
- </view>
- </view>
- <view class="box">
- <block wx:for="{{foodorder.foods}}" wx:key="index">
- <view class="content">
- <view class="information">
- <image class="img" src="{{item.images[0]}}" />
- <view style="margin-left:20rpx ;">
- <view class="">{{item.name}}</view>
- <view class="number">{{foodorder.specMap[item.objectId]}}份</view>
- </view>
- </view>
- <view class="price">¥{{item.price}}/份</view>
- </view>
- </block>
- <view class="bummon">
- <view class="totalPrice">合计:¥{{foodorder.totalPrice}}</view>
- <view class="pay" wx:if="{{foodorder.state=='100'}}" bindtap="submit" style="background-color: {{activeColor}};">立即支付</view>
- </view>
- </view>
- <payment style="z-index: 99999;" id='payMent' show="{{show}}" tradeNo="{{foodorder.tradeNo}}"
- price="{{foodorder.totalPrice}}" bind:payResult='acceptResult' showType="all" />
|