order.wxss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. page {
  2. height: 100%;
  3. width: 100%;
  4. background: #f4f4f4;
  5. }
  6. view,text{
  7. color:#333;
  8. font-size: 32rpx;
  9. }
  10. view.van-tab--active .van-ellipsis{
  11. color:#09afff;
  12. }
  13. .orders-switch {
  14. width: 100%;
  15. background: #fff;
  16. height: 84rpx;
  17. /* border-bottom: 1px solid rgba(0,0,0,.15); */
  18. }
  19. .orders-switch .item {
  20. display: inline-block;
  21. height: 82rpx;
  22. width: 18%;
  23. padding: 0 15rpx;
  24. text-align: center;
  25. }
  26. .orders-switch .item .txt {
  27. display: inline-block;
  28. height: 82rpx;
  29. padding: 0 20rpx;
  30. line-height: 82rpx;
  31. color: #9a9ba1;
  32. font-size: 30rpx;
  33. width: 170rpx;
  34. }
  35. .orders-switch .item.active .txt {
  36. color: #ab956d;
  37. border-bottom: 4rpx solid #ab956d;
  38. }
  39. .no-order {
  40. width: 100%;
  41. height: auto;
  42. margin: 0 auto;
  43. }
  44. .no-order .c {
  45. width: 100%;
  46. height: auto;
  47. margin-top: 400rpx;
  48. }
  49. .no-order .c text {
  50. margin: 0 auto;
  51. display: block;
  52. width: 258rpx;
  53. height: 29rpx;
  54. line-height: 29rpx;
  55. text-align: center;
  56. font-size: 29rpx;
  57. color: #999;
  58. }
  59. .orders {
  60. height: auto;
  61. width: 100%;
  62. overflow: hidden;
  63. }
  64. .order {
  65. margin-top: 20rpx;
  66. background: #fff;
  67. padding:0 0 20rpx
  68. }
  69. .order .h {
  70. height: 83.3rpx;
  71. line-height: 83.3rpx;
  72. margin-left: 31.25rpx;
  73. padding-right: 31.25rpx;
  74. border-bottom: 1px solid #f4f4f4;
  75. font-size: 30rpx;
  76. color: #333;
  77. }
  78. .order .h .l {
  79. float: left;
  80. }
  81. .order .h .r {
  82. float: right;
  83. color: #b4282d;
  84. font-size: 24rpx;
  85. }
  86. .order .goods {
  87. display: inline-block;
  88. align-items: center;
  89. height: 340rpx;
  90. margin-right: 16rpx;
  91. width:180rpx;
  92. flex-direction: column;
  93. }
  94. .order .goods .img {
  95. height: 180rpx;
  96. width: 180rpx;
  97. background: #f4f4f4;
  98. margin-bottom:12rpx;
  99. }
  100. .order .goods .img image {
  101. height: 180rpx;
  102. width: 180rpx;
  103. border-radius:8rpx;
  104. }
  105. .order .goods .info {
  106. width:180rpx;
  107. flex: 1;
  108. /* padding-left: 20rpx; */
  109. }
  110. .order .goods .name {
  111. /* margin-top: 30rpx; */
  112. /* display: block; */
  113. /*height: 44rpx;
  114. line-height: 44rpx;*/
  115. color: #333;
  116. font-size: 30rpx;
  117. line-height:40rpx;
  118. height: 80rpx;
  119. overflow: hidden;
  120. }
  121. .order .goods .number {
  122. height: 37rpx;
  123. line-height: 37rpx;
  124. color: #666;
  125. font-size: 25rpx;
  126. /* margin-top: 10rpx; */
  127. }
  128. .order .goods .status {
  129. width: 105rpx;
  130. color: #b4282d;
  131. font-size: 25rpx;
  132. }
  133. .order .b {
  134. height: 103rpx;
  135. line-height: 103rpx;
  136. margin-left: 31.25rpx;
  137. padding-right: 31.25rpx;
  138. border-top: 1px solid #f4f4f4;
  139. font-size: 30rpx;
  140. color: #333;
  141. }
  142. .order .b .l {
  143. float: left;
  144. }
  145. .order .b .r {
  146. float: right;
  147. }
  148. .order .b .btn {
  149. margin-top: 19rpx;
  150. height: 64.5rpx;
  151. line-height: 64.5rpx;
  152. text-align: center;
  153. padding: 0 20rpx;
  154. border-radius: 5rpx;
  155. font-size: 28rpx;
  156. color: #fff;
  157. background: #b4282d;
  158. }
  159. .order-item-operate{
  160. height: 80rpx;
  161. display: flex;
  162. align-items: center;
  163. justify-content: space-between;
  164. padding:0 32rpx;
  165. }
  166. .order-operate-wrapper{
  167. height: 80rpx;
  168. display: flex;
  169. align-items: center;
  170. justify-content: flex-end;
  171. }
  172. .order-operate-wrapper>view{
  173. height: 44rpx;
  174. width:148rpx;
  175. text-align: center;
  176. line-height: 44rpx;
  177. text-align: center;
  178. border-radius:44rpx;
  179. border:1rpx solid #09afff;
  180. font-size: 28rpx;
  181. margin-left:20rpx;
  182. }
  183. .myqr{
  184. position: fixed;
  185. z-index: 999;
  186. width: 100%;
  187. text-align: center;
  188. height: auto;
  189. padding-top: 50rpx;
  190. top:0;
  191. left:0;
  192. right:0;
  193. bottom:0;
  194. }
  195. .myqr .cancel{
  196. width: 60rpx;
  197. height: 60rpx;
  198. margin-top: 30rpx;
  199. margin-left: 480rpx;
  200. }
  201. .myqr .img{
  202. width: 480rpx;
  203. }
  204. .myqr .btn{
  205. width: 120rpx;
  206. height: 120rpx;
  207. line-height: 120rpx;
  208. margin-top: 20rpx;
  209. padding: 30rpx;
  210. background: #ffffff;
  211. border-radius:60rpx;
  212. }
  213. /* 会员卡蒙层的样式 */
  214. .poster{
  215. position: fixed;
  216. top: 0;
  217. bottom: 0;
  218. right: 0;
  219. left: 0;
  220. background-color: #333333d1;
  221. /* padding: 0rpx 80rpx;
  222. padding-top: 20%;*/
  223. z-index: 99;
  224. height: 100%;
  225. text-align: center;
  226. justify-content: center;
  227. align-items: center;
  228. display: flex;
  229. }
  230. .title{
  231. color: #fff;
  232. margin: 20rpx 0;
  233. font-size: 30rpx;
  234. }
  235. .ads{
  236. margin: 10rpx 0rpx;
  237. color: #fff;
  238. }
  239. .tool{
  240. display: flex;
  241. text-align: center;
  242. justify-content: baseline;
  243. width: 100%;
  244. margin-top: 20rpx;
  245. }
  246. .tool view{
  247. flex: 1;
  248. }
  249. .img{
  250. width: 99rpx;
  251. }
  252. .closeImg{
  253. width: 57rpx;
  254. height: 57rpx;
  255. }
  256. .share-btn{
  257. background-color:transparent;
  258. }
  259. .share-btn::after {
  260. border: none;
  261. }
  262. .m-card{
  263. width: 100%;
  264. height: 230rpx;
  265. margin: 20rpx 0;
  266. }
  267. .m-card image{
  268. width: 100%;
  269. height: 230rpx;
  270. }
  271. .special-orders{
  272. margin-top:20rpx;
  273. }
  274. .special-item{
  275. margin:0 24rpx 20rpx;
  276. width: 702rpx;
  277. /* height: 506rpx; */
  278. background: #FFFFFF;
  279. border-radius: 18rpx;
  280. }
  281. .special-item .title-wrapper{
  282. height:116rpx;
  283. padding:0 20rpx;
  284. display: flex;
  285. align-items: center;
  286. justify-content: space-between;
  287. }
  288. .status-special{
  289. color: #b4282d;
  290. font-size: 22rpx;
  291. }
  292. .fail-reason{
  293. color: #b4282d;
  294. font-size: 22rpx;
  295. margin:14rpx 0;
  296. padding:0 20rpx;
  297. }
  298. .special-item .title{
  299. flex:1;
  300. height: 116rpx;
  301. display: flex;
  302. align-items: center;
  303. }
  304. .special-item .title image{
  305. width:30rpx;
  306. height:30rpx;
  307. margin-right:12rpx;
  308. }
  309. .special-item .title view{
  310. font-size: 30rpx;
  311. }
  312. .special-content{
  313. height:352rpx;
  314. display:flex;
  315. padding:0 20rpx;
  316. justify-content: space-between;
  317. }
  318. .special-scroll{
  319. width:544rpx;
  320. display: flex;
  321. white-space: nowrap;
  322. align-items: center;
  323. }
  324. .scroll-item{
  325. height: 352rpx;
  326. display: inline-block;
  327. flex-direction: column;
  328. align-items: center;
  329. width:180rpx;
  330. margin-right:16rpx;
  331. }
  332. .special-item .goods-img{
  333. width:180rpx;
  334. height:180rpx;
  335. margin-bottom:20rpx;
  336. }
  337. .special-item .googs-name{
  338. width:180rpx;
  339. line-height:40rpx;
  340. height: 80rpx;
  341. font-size: 30rpx;
  342. overflow: hidden;
  343. white-space: normal;
  344. /* white-space: nowrap; */
  345. }
  346. .goods-num{
  347. width:120rpx;
  348. padding-top:80rpx;
  349. text-align: right;
  350. font-size: 30rpx;
  351. }
  352. .special-operate{
  353. padding:0 24rpx;
  354. height:86rpx;
  355. display:flex;
  356. align-items: center;
  357. justify-content: flex-end;
  358. border-top: 2rpx solid #EFEFEF;
  359. }
  360. .special-btn{
  361. color: #09AFFF;
  362. font-size: 38rpx;
  363. margin-left:24rpx;
  364. }
  365. .goods-scroll{
  366. /* width:720rpx; */
  367. width:580rpx;
  368. height: 340rpx;
  369. display:flex;
  370. white-space: nowrap;
  371. margin:20rpx 0;
  372. }
  373. .buy-num{
  374. font-size: 24rpx;
  375. color:#666;
  376. height:40rpx;
  377. margin-top:8rpx;
  378. }