infor.wxml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <!--pages/infor/infor.wxml-->
  2. <include src="/pages/fc/fc.wxml" />
  3. <view class='sp' wx:if='{{showpic}}' bindtap='hidepic'>
  4. <image src='{{pic_url}}' class='show_pic'></image>
  5. </view>
  6. <view class='all'>
  7. <view class='head'>
  8. <view class='mybox'>
  9. <image class='userimg' src="{{avatar}}"></image>
  10. <view class='username'>{{nikename}}</view>
  11. <view class='userlevel'>
  12. <image src='../../img/icon-good-shop.png'></image>
  13. <view>普通用户</view>
  14. </view>
  15. </view>
  16. </view>
  17. <view class='body'>
  18. <view class='list'>
  19. <!-- <view class='sousuo'>
  20. <view class='pic' bindtap='search'><image src='../../img/search.png'></image></view>
  21. <input class='findit' placeholder='检索您的售后订单' bindblur='searchin'></input>
  22. <view class='sweep'><image src='../../img/icon-offline.png'></image></view>
  23. </view> -->
  24. <view class='vorder-infor'>
  25. <navigator class="{{selected==0?'active':''}}" bindtap='allOrder'>
  26. <image src='https://f.9026.com/upload/images/20190402/96f5602f26591eb878772cb23560699f.png'></image>
  27. <view>全部订单</view>
  28. <view style='width:80rpx;margin-left:30rpx;height:4rpx;background-color:RGB(233,59,61);margin-top:10rpx' wx:if='{{selected==0}}'></view>
  29. </navigator>
  30. <navigator class="{{selected==1?'active':''}}" bindtap='TobeAudited'>
  31. <image src='https://f.9026.com/upload/images/20190402/300ef7e847685cda543e2ddede208673.png'></image>
  32. <view>待审核</view>
  33. <view style='width:80rpx;margin-left:30rpx;height:4rpx;background-color:RGB(233,59,61);margin-top:10rpx' wx:if='{{selected==1}}'></view>
  34. <text class='num' wx:if='{{examine!=0}}'>{{examine}}</text>
  35. </navigator>
  36. <navigator class="{{selected==2?'active':''}}" bindtap='TobeSend'>
  37. <image src='https://f.9026.com/upload/images/20190402/5d347d962b852c09fd463e5b30ba70c5.png'></image>
  38. <view>待发货</view>
  39. <view style='width:80rpx;margin-left:30rpx;height:4rpx;background-color:RGB(233,59,61);margin-top:10rpx' wx:if='{{selected==2}}'></view>
  40. <text class='num' wx:if="{{send!=0}}">{{send}}</text>
  41. </navigator>
  42. <navigator class="{{selected==3?'active':''}}" bindtap='TobeReceived'>
  43. <image src='https://f.9026.com/upload/images/20190402/8ece24d2ccff3b500aeabfb251f67a46.png'></image>
  44. <view>待收货</view>
  45. <view style='width:80rpx;margin-left:30rpx;height:4rpx;background-color:RGB(233,59,61);margin-top:10rpx' wx:if='{{selected==3}}'></view>
  46. <text class='num' wx:if="{{sending!=0}}">{{sending}}</text>
  47. </navigator>
  48. <navigator class="{{selected==4?'active':''}}" bindtap='TobeEvaluated'>
  49. <image src='https://f.9026.com/upload/images/20190402/0aa33c2753f861760bd38fbd9c976cf5.png'></image>
  50. <view>待评价</view>
  51. <view style='width:80rpx;margin-left:30rpx;height:4rpx;background-color:RGB(233,59,61);margin-top:10rpx' wx:if='{{selected==4}}'></view>
  52. <text class='num' wx:if='{{comment!=0}}'>{{comment}}</text>
  53. </navigator>
  54. </view>
  55. </view>
  56. <view class='vorder' wx:if="{{infor.length==0}}" style='text-align:center;'>
  57. 暂无订单
  58. </view>
  59. <view class='vorder' wx:key="index" id='{{index}}' wx:for='{{infor}}'>
  60. <zan-cell-group title-width="90">
  61. <zan-cell title="订单编号" value="{{}}">
  62. <text style='color:red;'>{{item.vorderid}}</text>
  63. <image src='{{item.qrcode}}' class='qrcode' id='{{item.qrcode}}' bindtap='showPic' data-src='{{item.qrcode}}' style='width:40rpx;height:40rpx;margin: -8rpx -8rpx -8rpx 20rpx'></image>
  64. </zan-cell>
  65. </zan-cell-group>
  66. <zan-cell-group title-width="90">
  67. <zan-cell title="交易时间" value="">
  68. <text>{{item.vordertime}}</text>
  69. </zan-cell>
  70. </zan-cell-group>
  71. <zan-cell-group title-width="90">
  72. <zan-cell title="订单状态" value="">
  73. <text style='color:red;'>{{item.state}}</text>
  74. </zan-cell>
  75. </zan-cell-group>
  76. <view style='width:100%;height:2rpx;background:#eee;margin:10rpx 0'></view>
  77. <zan-cell-group title-width="90">
  78. <zan-cell title="品类" value="">
  79. <text>{{item.cate}}</text>
  80. </zan-cell>
  81. </zan-cell-group>
  82. <zan-cell-group title-width="90">
  83. <zan-cell title="产品型号" value="">
  84. <text>{{item.model}}</text>
  85. </zan-cell>
  86. </zan-cell-group>
  87. <zan-cell-group title-width="90">
  88. <zan-cell title="问题描述" value="">
  89. <text>{{item.problem}}</text>
  90. </zan-cell>
  91. </zan-cell-group>
  92. <zan-cell-group title-width="90">
  93. <zan-cell title="预计完成时间 " value="" wx:if='{{item.state!="待审核"&&item.state!="已取消"}}'>
  94. <text>{{item.expected_time}}</text>
  95. </zan-cell>
  96. </zan-cell-group>
  97. <zan-row>
  98. <zan-col col="17" wx:if='{{ item.state == "待生产" || item.state == "生产中" || item.state == "待发货" || item.state == "已评价" || item.state == "已取消"}}'>
  99. <text style='color:rgba(0,0,0,0)'>0</text>
  100. </zan-col>
  101. <zan-col col="10" wx:if='{{ item.state == "待审核" || item.state == "未签收" || item.state == "待评价" }}'>
  102. <text style='color:rgba(0,0,0,0)'>0</text>
  103. </zan-col>
  104. <zan-col col="7" wx:if='{{item.state == "待审核"}}'>
  105. <form bindsubmit='upFormID' report-submit='true'>
  106. <button form-type="submit" id='{{item.detail_order_id}}' bindtap='quxiao'>取消订单</button>
  107. </form>
  108. </zan-col>
  109. <zan-col col="7" wx:if='{{item.state == "未签收"}}'>
  110. <form bindsubmit='upFormID' report-submit='true'>
  111. <button form-type="submit" id='{{item.detail_order_id}}' bindtap='shouhuo'>确认收货</button>
  112. </form>
  113. </zan-col>
  114. <zan-col col="7" wx:if='{{item.state == "待评价"}}'>
  115. <form bindsubmit='upFormID' report-submit='true'>
  116. <button form-type="submit" id='{{item.detail_order_id}}' bindtap='pingjia'>评价</button>
  117. </form>
  118. </zan-col>
  119. <zan-col col="7">
  120. <form bindsubmit='upFormID' report-submit='true'>
  121. <button form-type="submit" bindtap='detail' id='{{item.detail_order_id}}'>查看详情</button>
  122. </form>
  123. </zan-col>
  124. </zan-row>
  125. </view>
  126. <view style='width:100%;height:200rpx;color:#EBEBEB'>0</view>
  127. </view>
  128. </view>
  129. <view class='foot'>
  130. <zan-row>
  131. <zan-col col="5" bindtap='goIndex'>
  132. <image src='https://f.9026.com/upload/images/20190402/c49b785c520ce7a63cc463a3eeec99f2.png' class='img'></image>
  133. </zan-col>
  134. <zan-col col="7" bindtap='goIndex'>
  135. <text class='index'>售后登记</text>
  136. </zan-col>
  137. <zan-col col="5">
  138. <image src='https://f.9026.com/upload/images/20190402/937ab4209d4f03099f8d3ec922f64d61.png' class='img2'></image>
  139. </zan-col>
  140. <zan-col col="7">
  141. <text class='user'>我的订单</text>
  142. </zan-col>
  143. </zan-row>
  144. </view>