my-order.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <!-- 我的订单 -->
  2. <template>
  3. <view>
  4. <view class="top">
  5. <view class="head">
  6. <view></view>
  7. <view>订单号:{{number}}</view>
  8. <view>
  9. <view>{{state}}</view>
  10. <view class="triangle"></view>
  11. </view>
  12. </view>
  13. <view class="content">
  14. <view>
  15. <text>订单类型</text>
  16. <text>普通订单</text>
  17. </view>
  18. <view>
  19. <text>物料描述</text>
  20. <text>185/65R15 92H XL BH15 BGBL</text>
  21. </view>
  22. <view>
  23. <text>轮胎条数</text>
  24. <text>100<text>条</text></text>
  25. </view>
  26. <view>
  27. <text>创建时间</text>
  28. <text>2020-11-06 14:25:30</text>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="top">
  33. <view class="head">
  34. <view style="background-color: #FC1E1E;"></view>
  35. <view>订单号:{{number}}</view>
  36. <view>
  37. <view style="background-color: #FC1E1E;">{{state}}</view>
  38. <view class="triangle1"></view>
  39. </view>
  40. </view>
  41. <view class="content">
  42. <view>
  43. <text>订单类型</text>
  44. <text>普通订单</text>
  45. </view>
  46. <view>
  47. <text>物料描述</text>
  48. <text>185/65R15 92H XL BH15 BGBL</text>
  49. </view>
  50. <view>
  51. <text>轮胎条数</text>
  52. <text>100<text>条</text></text>
  53. </view>
  54. <view>
  55. <text>创建时间</text>
  56. <text>2020-11-06 14:25:30</text>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="top">
  61. <view class="head">
  62. <view style="background-color: #0094FE;"></view>
  63. <view>订单号:{{number}}</view>
  64. <view>
  65. <view style="background-color: #0094FE;">{{state}}</view>
  66. <view class="triangle2"></view>
  67. </view>
  68. </view>
  69. <view class="content">
  70. <view>
  71. <text>订单类型</text>
  72. <text>普通订单</text>
  73. </view>
  74. <view>
  75. <text>物料描述</text>
  76. <text>185/65R15 92H XL BH15 BGBL</text>
  77. </view>
  78. <view>
  79. <text>轮胎条数</text>
  80. <text>100<text>条</text></text>
  81. </view>
  82. <view>
  83. <text>创建时间</text>
  84. <text>2020-11-06 14:25:30</text>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="top">
  89. <view class="head">
  90. <view style="background-color: #14EBBB;"></view>
  91. <view>订单号:{{number}}</view>
  92. <view>
  93. <view style="background-color: #14EBBB;">{{state}}</view>
  94. <view class="triangle3"></view>
  95. </view>
  96. </view>
  97. <view class="content">
  98. <view>
  99. <text>订单类型</text>
  100. <text>普通订单</text>
  101. </view>
  102. <view>
  103. <text>物料描述</text>
  104. <text>185/65R15 92H XL BH15 BGBL</text>
  105. </view>
  106. <view>
  107. <text>轮胎条数</text>
  108. <text>100<text>条</text></text>
  109. </view>
  110. <view>
  111. <text>创建时间</text>
  112. <text>2020-11-06 14:25:30</text>
  113. </view>
  114. </view>
  115. </view>
  116. <view class="top">
  117. <view class="head">
  118. <view style="background-color: #14EBBB;"></view>
  119. <view>订单号:{{number}}</view>
  120. <view>
  121. <view style="background-color: #14EBBB;">{{state}}</view>
  122. <view class="triangle3"></view>
  123. </view>
  124. </view>
  125. <view class="content">
  126. <view>
  127. <text>订单类型</text>
  128. <text>普通订单</text>
  129. </view>
  130. <view>
  131. <text>物料描述</text>
  132. <text>185/65R15 92H XL BH15 BGBL</text>
  133. </view>
  134. <view>
  135. <text>轮胎条数</text>
  136. <text>100<text>条</text></text>
  137. </view>
  138. <view>
  139. <text>创建时间</text>
  140. <text>2020-11-06 14:25:30</text>
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. </template>
  146. <script>
  147. export default {
  148. data() {
  149. return {
  150. number: '137678199412137865',
  151. state: '状态是'
  152. }
  153. },
  154. methods: {
  155. }
  156. }
  157. </script>
  158. <style lang="scss" scoped>
  159. .top {
  160. width: 702rpx;
  161. margin: 0 auto;
  162. padding-top: 20rpx;
  163. background-color: #FFFFFF;
  164. margin-top: 20rpx;
  165. border-radius: 10rpx;
  166. box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.1);
  167. padding-bottom: 20rpx;
  168. }
  169. .content {
  170. width: 642rpx;
  171. background-color: #fff;
  172. margin: 0 auto;
  173. margin-top: 80rpx;
  174. border-top: 1rpx solid #E7E8EA;
  175. padding-top: 20rpx;
  176. }
  177. .content>view {
  178. margin-bottom: 10rpx;
  179. }
  180. .content>view>text {
  181. color: #303134;
  182. font-size: 28rpx;
  183. }
  184. .content>view>text:nth-child(2) {
  185. float: right;
  186. }
  187. .head {
  188. width: 702rpx;
  189. }
  190. .head>view:nth-child(1) {
  191. width: 16rpx;
  192. height: 60rpx;
  193. background: #F6CF19;
  194. float: left;
  195. }
  196. .head>view:nth-child(2) {
  197. width: 500rpx;
  198. height: 60rpx;
  199. font-size: 30rpx;
  200. float: left;
  201. line-height: 60rpx;
  202. overflow: hidden;
  203. font-weight: bold;
  204. margin-left: 10rpx;
  205. }
  206. .head>view:nth-child(3) {
  207. width: 190rpx;
  208. float: right;
  209. margin-right: -20rpx;
  210. }
  211. .head>view:nth-child(3)>view:nth-child(1) {
  212. width: 190rpx;
  213. height: 60rpx;
  214. background: #F6CF19;
  215. border-radius: 500rpx 0px 0px 500rpx;
  216. float: right;
  217. text-align: center;
  218. color: #FFFFFF;
  219. line-height: 60rpx;
  220. overflow: hidden;
  221. }
  222. .triangle,
  223. .triangle1,
  224. .triangle2,
  225. .triangle3 {
  226. width: 0px;
  227. height: 0px;
  228. margin-top: 60rpx;
  229. margin-right: -190rpx;
  230. border: 10rpx solid;
  231. transform: rotate(270deg);
  232. float: right;
  233. }
  234. .triangle {
  235. border-color: #B89804 #B89804 transparent transparent;
  236. }
  237. .triangle1 {
  238. border-color: #960000 #960000 transparent transparent;
  239. }
  240. .triangle2 {
  241. border-color: #0F519C #0F519C transparent transparent;
  242. }
  243. .triangle3 {
  244. border-color: #01A07D #01A07D transparent transparent;
  245. }
  246. </style>