dispose.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <template>
  2. <view class="content">
  3. <view class="main-item" v-for="(item,index) in 10" @click="navTo('/pages/scrap/processing')">
  4. <view class="main-top flex">
  5. <view class="main-top-left">
  6. <image class="icon" src="../../static/icon/order-icon.png" mode=""></image>
  7. <view class="title">
  8. 规格{{index}}(黄色,37码,数量3)
  9. </view>
  10. </view>
  11. <view class="main-top-right">
  12. <view class="type1" v-if="index%2==0">
  13. 未处理
  14. </view>
  15. <view class="type2" v-else>
  16. 已处理
  17. </view>
  18. <image class="jt" src="../../static/img/jt.png" mode=""></image>
  19. </view>
  20. </view>
  21. <view class="main-info">
  22. <scroll-view scroll-x="true" class="main-price">
  23. <view class="image-box">
  24. <view class="image-item" v-for="(itm,ind) in 4">
  25. <image src="../../static/img/user-item2.png" mode=""></image>
  26. </view>
  27. </view>
  28. </scroll-view>
  29. </view>
  30. <view class="main-bottom flex">
  31. <view class="main-bottom-item">
  32. 处理金额:
  33. </view>
  34. <view class="main-bottom-item red">
  35. ¥0
  36. </view>
  37. </view>
  38. </view>
  39. <view class="all flex">
  40. <view class="all-item">
  41. 总金额:
  42. </view>
  43. <view class="all-item all">
  44. ¥1000
  45. </view>
  46. </view>
  47. <view class="btn">
  48. 提交处理
  49. </view>
  50. </view>
  51. </template>
  52. <script>
  53. export default {
  54. data() {
  55. return {};
  56. },
  57. onLoad() {},
  58. onShow() {},
  59. onReachBottom() {},
  60. onReady() {},
  61. methods: {
  62. navTo(url) {
  63. uni.navigateTo({
  64. url
  65. })
  66. }
  67. }
  68. };
  69. </script>
  70. <style lang="scss">
  71. page,
  72. .content {
  73. min-height: 100%;
  74. height: auto;
  75. }
  76. .main-item {
  77. margin: 20rpx auto 0;
  78. width: 702rpx;
  79. background: #FFFFFF;
  80. border-radius: 20rpx;
  81. padding: 24rpx 16rpx 0;
  82. .main-top {
  83. padding: 0 14rpx 0 8rpx;
  84. .main-top-left {
  85. display: flex;
  86. align-items: center;
  87. .icon {
  88. width: 74rpx;
  89. height: 74rpx;
  90. border-radius: 50%;
  91. }
  92. .title {
  93. font-size: 32rpx;
  94. font-family: PingFang SC;
  95. font-weight: bold;
  96. color: #323333;
  97. margin-left: 16rpx;
  98. }
  99. }
  100. .main-top-right {
  101. display: flex;
  102. align-items: center;
  103. .type1 {
  104. margin-right: 10rpx;
  105. font-size: 28rpx;
  106. font-family: PingFang SC;
  107. font-weight: bold;
  108. color: #FF4C4C;
  109. }
  110. .type2 {
  111. margin-right: 10rpx;
  112. font-size: 28rpx;
  113. font-family: PingFang SC;
  114. font-weight: bold;
  115. color: #323333;
  116. }
  117. .jt {
  118. width: 12rpx;
  119. height: 22rpx;
  120. }
  121. }
  122. }
  123. .main-info {
  124. padding: 20rpx 14rpx 30rpx;
  125. border-bottom: 1px solid #f6f6f6;
  126. .main-price {
  127. width: 100%;
  128. .image-box {
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. .image-item {
  133. margin-left: 10rpx;
  134. width: 110rpx;
  135. height: 110rpx;
  136. flex-shrink: 0;
  137. image {
  138. width: 100%;
  139. height: 100%;
  140. }
  141. }
  142. }
  143. }
  144. }
  145. .main-bottom {
  146. padding: 24rpx 15rpx 24rpx 10rpx;
  147. .main-bottom-item {
  148. font-size: 28rpx;
  149. font-family: PingFang SC;
  150. font-weight: 500;
  151. color: #363636;
  152. }
  153. .red {
  154. color: #FF4C4C;
  155. }
  156. }
  157. }
  158. .all {
  159. margin: 20rpx auto 0;
  160. width: 702rpx;
  161. background: #FFFFFF;
  162. border-radius: 20rpx;
  163. padding: 30rpx;
  164. .all-item {
  165. font-size: 32rpx;
  166. font-family: PingFang SC;
  167. font-weight: bold;
  168. color: #323333;
  169. }
  170. .red {
  171. color: #FF4C4C;
  172. }
  173. }
  174. .btn {
  175. margin: 60rpx auto 0;
  176. width: 622rpx;
  177. height: 85rpx;
  178. background: #069CFA;
  179. border-radius: 15rpx;
  180. text-align: center;
  181. line-height: 85rpx;
  182. font-size: 32rpx;
  183. font-family: PingFang SC;
  184. font-weight: bold;
  185. color: #FFFFFF;
  186. }
  187. </style>