review.wxml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <skeleton />
  2. <block wx:for="{{item}}" wx:key="this" wx:for-index="idx" wx:for-item="rs">
  3. <van-panel title="{{rs.order_starttime}}" desc="{{rs.order_no}}" status="{{rs.status_text}}">
  4. <van-steps steps="{{ steps }}" active="{{ active }}" active-color="#38f"/>
  5. </van-panel>
  6. <view class="title">宝贝信息</view>
  7. <view class="container">
  8. <block wx:for="{{rs.item}}" wx:key="this" wx:for-item="vo" >
  9. <view class="card">
  10. <view class="img"><image src="{{vo.img }}" /></view>
  11. <view class="info">
  12. <view class="name">{{ vo.name }}</view>
  13. <view class="price">
  14. <text class="amount">¥{{ vo.amount }}</text>
  15. <text class="right f12">x <text class="f16">{{ vo.buy_nums }}</text></text>
  16. </view>
  17. </view>
  18. </view>
  19. </block>
  20. </view>
  21. <view class="title">宝贝价格</view>
  22. <van-cell required icon="gold-coin" title="商品价格" value="¥{{rs.real_amount}}" />
  23. <van-cell required icon="free-postage" title="运费价格" value="¥{{rs.real_freight}}" />
  24. <van-cell required icon="cash-back-record" title="付款金额" value="¥{{rs.order_amount}}" border="{{ false }}"/>
  25. <view class="title">收货地址</view>
  26. <van-cell icon="contact" title="姓名:{{rs.express_name}}" />
  27. <van-cell icon="phone" title="手机:{{rs.express_phone}}" />
  28. <van-cell icon="location" title="地址:{{rs.express_address}}" border="{{ false }}"/>
  29. <block wx:if="{{rs.express_status == 1}}">
  30. <view class="title">发货信息</view>
  31. <van-cell icon="clock-o" title="发货时间:{{rs.express_starttime}}" />
  32. <van-cell icon="free-postage" title="物流公司:{{rs.express_company}}" />
  33. <van-cell icon="records" title="快递单号:{{rs.express_no}}" border="{{ false }}"/>
  34. </block>
  35. <van-goods-action wx:if="{{rs.status == 0 && rs.is_del == 0}}" custom-class="goods-action">
  36. <block wx:if="{{rs.paid_at == 0}}">
  37. <van-goods-action-button text="关闭订单" type="warning" bind:click="closeOrder" />
  38. <van-goods-action-button text="立即支付" bind:click="payTypes" disabled="{{disabled}}" />
  39. </block>
  40. <block wx:if="{{rs.express_status == 1}}">
  41. <van-goods-action-button text="确认收货" type="warning" bind:click="okOrder" />
  42. <van-goods-action-button text="查看快递" bind:click="getMaps" />
  43. </block>
  44. </van-goods-action>
  45. </block>
  46. <view class="bottom"><include src="/component/loading.wxml" /></view>
  47. <van-action-sheet title="请选择支付方式 " show="{{ show }}" actions="{{ actions }}" bind:close="onClose" bind:select="onSelect" cancel-text="取消" bind:cancel="onClose" data-address-id="{{address.id}}" />
  48. <!-- 古德云支付组件 -->
  49. <goodpay wx:if="{{ chickPayBtn }}" params="{{ orderParams }}" bindSuccess="goodPaySuccess" bindFail="goodPayFail" bindComplete="goodPayComplete" bind:Change="goodPayChange"/>