details.wxml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <!--pages/infor/details.wxml-->
  2. <!-- <include src="detail_head.wxml"/> -->
  3. <include src="/pages/fc/fc.wxml" />
  4. <view style='overflow-x:hidden'>
  5. <view style='background-color:#fff'>
  6. <view class='sp' wx:if='{{showpic}}' bindtap='hidepic'>
  7. <image src='{{pic_url}}' class='show_pic'></image>
  8. </view>
  9. <view style='width:100%;hight:20px;padding:3px 0 3px 15px;color:#999;font-size:14px;background-color:#eee'>
  10. 订单信息
  11. </view>
  12. <view style='margin-top:20rpx'></view>
  13. <zan-cell-group title-width="90">
  14. <zan-cell title="订单编号" value="{{}}" style='color:#777;'>
  15. <text style='color:red;'>{{order_num}}</text>
  16. <image src='{{pic_url}}' class='qrcode' bindtap='showPic' data-src='{{pic_url}}' style='width:40rpx;height:40rpx;margin: -8rpx -8rpx -8rpx 20rpx'></image>
  17. </zan-cell>
  18. </zan-cell-group>
  19. <zan-cell-group title-width="90">
  20. <zan-cell title="交易时间" value="" style='color:#777;'>
  21. <text style='color:#2a2121'>{{order_created_time}}</text>
  22. </zan-cell>
  23. </zan-cell-group>
  24. <zan-cell-group title-width="90">
  25. <zan-cell title="订单状态" value="" style='color:#777;'>
  26. <text style='color:red;'>{{order_status}}</text>
  27. </zan-cell>
  28. <view style='width:100%;hight:20px;padding:3px 0 3px 15px;color:#999;font-size:14px;background-color:#eee;margin:20rpx 0 0 0;'>
  29. 产品信息
  30. </view>
  31. </zan-cell-group>
  32. <view style='margin-top:20rpx'></view>
  33. <zan-cell-group title-width="90">
  34. <zan-cell title="商品名称" value="" style='color:#777;'>
  35. <text style='color:#2a2121'>{{gCategory}}</text>
  36. </zan-cell>
  37. </zan-cell-group>
  38. <zan-cell-group title-width="90">
  39. <zan-cell title="品类" value="" style='color:#777;'>
  40. <text style='color:#2a2121'>{{gType}}</text>
  41. </zan-cell>
  42. </zan-cell-group>
  43. <zan-cell-group title-width="90">
  44. <zan-cell title="颜色" value="" style='color:#777;'>
  45. <text style='color:#2a2121'>{{gColor}}</text>
  46. </zan-cell>
  47. </zan-cell-group>
  48. <zan-cell-group title-width="90">
  49. <zan-cell title="问题描述" value="" style='color:#777;'>
  50. <text style='color:#2a2121'>{{gDescription}}</text>
  51. </zan-cell>
  52. </zan-cell-group>
  53. <view wx:if="{{theimgs}}" class='pic-box' style='background-color:#fff'>
  54. <image wx:for='{{theimgs}}' src="{{item}}" data-list="{{theimgs}}" data-src='{{item}}' bindtap='preImg'></image>
  55. </view>
  56. <view style='width:100%;hight:20px;padding:3px 0 3px 15px;color:#999;font-size:14px;background-color:#eee;margin:20rpx 0 0 0;'>
  57. 客户信息<text style='float:right;position:absolute;right:20rpx;color:#349BE1' wx:if='{{showinfotrue}}' bindtap='si'>收起</text><text style='float:right;position:absolute;right:20rpx;color:#349BE1' bindtap='si' wx:if='{{showinfofalse}}'>查看</text>
  58. </view>
  59. <view style='margin-top:20rpx' wx:if='{{showinfo}}'></view>
  60. <zan-cell-group title-width="90" wx:if='{{showinfo}}'>
  61. <zan-cell title="姓名" value="" style='color:#777;'>
  62. <text style='color:#2a2121'>{{uName}}</text>
  63. </zan-cell>
  64. </zan-cell-group>
  65. <zan-cell-group title-width="90" wx:if='{{showinfo}}'>
  66. <zan-cell title="联系方式" value="" style='color:#777;'>
  67. <text style='color:#2a2121'>{{uMobile}}</text>
  68. </zan-cell>
  69. </zan-cell-group>
  70. <zan-cell-group title-width="90" wx:if='{{showinfo}}'>
  71. <zan-cell title="收货地址" value="" style='color:#777;'>
  72. <text style='color:#2a2121'>{{uAddress}}</text>
  73. </zan-cell>
  74. </zan-cell-group>
  75. <zan-cell-group title-width="130" wx:if='{{status!=0&&status!=7}}'>
  76. <view style='width:100%;hight:20px;padding:3px 0 3px 15px;color:#999;font-size:14px;background-color:#eee;margin:20rpx 0 0 0;'>
  77. 订单进度
  78. </view>
  79. <view class='buzou'>
  80. <zan-steps type="vertical" hasDesc="true" steps-class="my-class" icon-class="gray" desc-class="desc" title-class="white" steps="{{steps}}"></zan-steps>
  81. </view>
  82. <zan-cell title="预计完成时间" value="" style="color:#777;" wx:if='{{status>0}}'>
  83. <text style='color:#2a2121'>{{expected_time}}</text>
  84. </zan-cell>
  85. <zan-cell title="备注" value="" style="color:#777;" wx:if='{{msg!=null}}'><text style='color:#2a2121'>{{msg}}</text></zan-cell>
  86. </zan-cell-group>
  87. <zan-row style='background-color:#fff'>
  88. <zan-col col="17" wx:if='{{status==0}}'>
  89. <text style='color:rgba(0,0,0,0)'>0</text>
  90. </zan-col>
  91. <zan-col col="17" wx:if='{{status==4}}'>
  92. <text style='color:rgba(0,0,0,0)'>0</text>
  93. </zan-col>
  94. <zan-col col="17" wx:if='{{status==5}}'>
  95. <text style='color:rgba(0,0,0,0)'>0</text>
  96. </zan-col>
  97. <zan-col col="24" wx:if='{{status==1||status==2||status==3||status==6||status==7}}'>
  98. <text style='color:rgba(0,0,0,0)'>0</text>
  99. </zan-col>
  100. <zan-col col="6" offset="1">
  101. <form bindsubmit='upFormID' report-submit='true'>
  102. <button form-type="submit" wx:if="{{status==0}}" bindtap='quxiao'>取消订单</button>
  103. </form>
  104. </zan-col>
  105. <zan-col col="6" offset="1">
  106. <form bindsubmit='upFormID' report-submit='true'>
  107. <button form-type="submit" wx:if="{{status==4}}" bindtap='shouhuo'>确认收货</button>
  108. </form>
  109. </zan-col>
  110. <zan-col col="6" offset="1">
  111. <form bindsubmit='upFormID' report-submit='true'>
  112. <button form-type="submit" wx:if="{{status==5}}" bindtap='assess' id='vorder-id'>评价</button>
  113. </form>
  114. </zan-col>
  115. </zan-row>
  116. <!-- <view class='foot-btn'>
  117. <button wx:if="{{status==1}}" bindtap='quxiao'>取消订单</button>
  118. <button wx:if="{{status==2}}" bindtap='shouhuo'>确认收货</button>
  119. <button wx:if="{{status==3&&!pingjia}}" bindtap='assess' id='vorder-id'>评价</button>
  120. </view> -->
  121. </view>
  122. </view>