index.wxss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. /* pages/shopOrder/index.wxss */
  2. /* tab */
  3. .van-tabs__scroll--line{
  4. height: auto !important;
  5. }
  6. .van-tabs{
  7. border-bottom: 1rpx solid rgba(243,244,249,1);
  8. }
  9. .van-tabs__line{
  10. width:40rpx !important;
  11. height:4rpx;
  12. background:rgba(211,68,68,1);
  13. border-radius:2rpx !important;
  14. }
  15. .van-tab,.van-tab .van-ellipsis{
  16. padding: 0 !important;
  17. font-size:30rpx;
  18. color:rgba(0,0,0,1);
  19. }
  20. .van-tab--active,.van-tab--active .van-ellipsis{
  21. color:rgba(211,68,68,1);
  22. }
  23. /* 订单列表 */
  24. .orderList{
  25. padding: 90rpx 30rpx 0;
  26. }
  27. .orderList .order{
  28. margin-top: 30rpx;
  29. background:rgba(255,255,255,1);
  30. box-shadow:0rpx 0rpx 21rpx 0rpx rgba(0, 0, 0, 0.09);
  31. border-radius:10rpx;
  32. padding: 0 30rpx;
  33. }
  34. .orderList .order:last-child{
  35. margin-bottom: 30rpx;
  36. }
  37. .order .order_t{
  38. display: flex;
  39. align-items: center;
  40. justify-content: space-between;
  41. height: 90rpx;
  42. border-bottom: 1rpx solid rgba(0,0,0,.05);
  43. }
  44. .order .order_t_l{
  45. display: flex;
  46. align-items: center;
  47. }
  48. .order .order_type{
  49. width:75rpx;
  50. height:31rpx;
  51. border-radius:5rpx;
  52. font-size:24rpx;
  53. color:rgba(255,255,255,1);
  54. text-align: center;
  55. line-height: 31rpx;
  56. background: #295C56;
  57. }
  58. /* .order .order_type.ziti{
  59. background:rgba(85,141,255,1);
  60. }
  61. .order .order_type.waimai{
  62. background:rgba(213,76,67,1);
  63. } */
  64. .order .order_time{
  65. font-size:26rpx;
  66. color:rgba(0,0,0,.45);
  67. padding-left: 20rpx;
  68. }
  69. .order .order_status{
  70. font-size: 30rpx;
  71. color:rgba(255,109,29,1);
  72. }
  73. .order .order_goods{
  74. padding: 30rpx 0;
  75. display: flex;
  76. justify-content: space-between;
  77. border-bottom: 1rpx solid rgba(0,0,0,.05);
  78. }
  79. .order .order_goods_l{
  80. display: flex;
  81. }
  82. .order .goods_thumb{
  83. width:127rpx;
  84. height:127rpx;
  85. border-radius:10rpx;
  86. overflow: hidden;
  87. }
  88. .order .goods_info{
  89. display: flex;
  90. flex-direction: column;
  91. justify-content: space-between;
  92. padding-left: 18rpx;
  93. }
  94. .order .goods_title{
  95. font-size:32rpx;
  96. color:rgba(0,0,0,1);
  97. }
  98. .order .goods_num{
  99. font-size:28rpx;
  100. color:rgba(0,0,0,.54);
  101. }
  102. .order .order_goods_r{
  103. color:rgba(211,68,68,1);
  104. }
  105. .order .cash_tag{
  106. font-size:26rpx;
  107. }
  108. .order .cash_num{
  109. font-size:42rpx;
  110. padding-left: 10rpx;
  111. }
  112. .order .goods_vip_price .cash_num{
  113. font-size:26rpx;
  114. padding-left: 0;
  115. }
  116. .order .order_address{
  117. padding: 30rpx 0;
  118. border-bottom: 1rpx solid rgba(0,0,0,.05);
  119. display: flex;
  120. align-items: center;
  121. }
  122. .order .icon_wrap{
  123. width:29rpx;
  124. height:35rpx;
  125. }
  126. .order .icon_address{
  127. width:29rpx;
  128. height:35rpx;
  129. }
  130. .order .address{
  131. padding-left: 15rpx;
  132. font-size:30rpx;
  133. color:rgba(0,0,0,1);
  134. }
  135. .order .order_pay{
  136. padding: 30rpx 0;
  137. font-size:26rpx;
  138. display: flex;
  139. justify-content: space-between;
  140. }
  141. .order .order_pay_l{
  142. display: flex;
  143. }
  144. .order .order_pay .heji{
  145. color:rgba(0,0,0,1);
  146. }
  147. .order .sum_txt{
  148. padding-left: 10rpx;
  149. }
  150. .order .order_pay .heji_price{
  151. color:rgba(211,68,68,1);
  152. display: flex;
  153. flex-direction: column;
  154. padding-left: 10rpx;
  155. }
  156. .order .btn_pay{
  157. width:179rpx;
  158. height:59rpx;
  159. border-radius:30rpx;
  160. font-size:32rpx;
  161. color:rgba(255,255,255,1);
  162. text-align: center;
  163. line-height: 59rpx;
  164. }
  165. .order .btn_pay.ziti{
  166. background:rgba(100,200,133,1);
  167. }
  168. .order .btn_pay.waimai{
  169. background:rgba(100,150,252,1);
  170. }
  171. /* 会员价 */
  172. .vip_tag{
  173. width: 57rpx;
  174. height: 20rpx;
  175. line-height: 20rpx;
  176. background: rgba(213, 76, 67, 1);
  177. color: #fff;
  178. font-size: 16rpx;
  179. text-align: center;
  180. display: inline-block;
  181. margin-left: 12rpx;
  182. position: relative;
  183. }
  184. .vip_tag::before{
  185. content: "";
  186. position: absolute;
  187. left: -6rpx;
  188. top: 0;
  189. width: 0;
  190. height: 0;
  191. border-left: 6rpx solid transparent;
  192. border-right: 6rpx solid transparent;
  193. border-top: 6rpx solid rgba(213, 76, 67, 1);
  194. display: block;
  195. }
  196. /* 运费 */
  197. .yunfei{
  198. display: flex;
  199. justify-content: space-between;
  200. border-bottom: 1rpx solid rgba(0,0,0,.05);
  201. padding: 30rpx 0;
  202. font-size: 26rpx;
  203. }
  204. .yunfei .price{
  205. color: rgba(211,68,68,1);
  206. }
  207. /* 顾客信息 */
  208. .address .info{
  209. padding-left: 10rpx;
  210. }
  211. .address .info:first-child{
  212. padding-left: 0;
  213. }
  214. .user_info{
  215. display: flex;
  216. align-items: center;
  217. padding: 30rpx 0 10rpx;
  218. border-bottom: 1rpx solid rgba(0,0,0,.05);
  219. }
  220. .user_info .thumb{
  221. width: 100rpx;
  222. height: 100rpx;
  223. border-radius: 50%;
  224. }
  225. .user_info .nickname{
  226. padding-left: 30rpx;
  227. white-space: nowrap;
  228. text-overflow: ellipsis;
  229. overflow: hidden;
  230. }
  231. /* 固定tab的位置 */
  232. .custom_tabs{
  233. width: 100%;
  234. position: fixed;
  235. top: 0;
  236. left: 0;
  237. z-index: 1;
  238. }
  239. /* 规格名 */
  240. .goods_labels{
  241. display: flex;
  242. flex-wrap: wrap;
  243. font-size: 24rpx;
  244. color: rgba(8,8,8,.54);
  245. width: 320rpx;
  246. }
  247. .goods_labels .label{
  248. padding: 6rpx;
  249. background: #F6F6F6;
  250. margin: 10rpx 14rpx 0 0;
  251. }
  252. /* 商品原价 */
  253. .order .goods_def_price{
  254. font-size:26rpx;
  255. color: rgba(8,8,8,.54);
  256. }
  257. .order .goods_def_price .price{
  258. text-decoration: line-through;
  259. }
  260. /* 取消订单 */
  261. .order .btn_pay.cancle{
  262. background: rgba(0,0,0,.4);
  263. margin-top: 10rpx;
  264. }