order.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. html,
  2. body {
  3. height: 100%;
  4. background-color: #f5f5f5;
  5. font-family: PingFangSC-Regular;
  6. color: #333333;
  7. overflow-x: hidden;
  8. }
  9. .tab {
  10. width: 100%;
  11. box-sizing: border-box;
  12. padding: 28rpx 60rpx 0;
  13. background: #ffffff;
  14. font-size: 32rpx;
  15. color: #666666;
  16. text-align: center;
  17. position: fixed;
  18. z-index: 10;
  19. }
  20. .tab>view{
  21. display: flex;
  22. justify-content: space-between;
  23. }
  24. .tab > view>view {
  25. width: 150rpx;
  26. box-sizing: border-box;
  27. padding: 0 22rpx 28rpx;
  28. }
  29. .tab .selected {
  30. color: #3296fb;
  31. }
  32. .tab .line {
  33. width: 150rpx;
  34. height: 4rpx;
  35. background: #3296fb;
  36. position: absolute;
  37. left: 60rpx;
  38. bottom: 0;
  39. padding: 0;
  40. }
  41. .contentNull {
  42. width: 100%;
  43. height: 100%;
  44. background: #ffffff;
  45. position: relative;
  46. overflow-y: hidden;
  47. }
  48. .contentNull > view {
  49. position: absolute;
  50. top: 332rpx;
  51. left: 222rpx;
  52. display: flex;
  53. flex-direction: column;
  54. }
  55. .contentNull > view > image {
  56. width: 308rpx;
  57. height: 308rpx;
  58. }
  59. .contentNull > view > text {
  60. font-size: 28rpx;
  61. color: #9197a3;
  62. text-align: center;
  63. }
  64. .wrap {
  65. box-sizing: border-box;
  66. width: 100%;
  67. height: 100%;
  68. overflow-x: hidden;
  69. }
  70. #content {
  71. width: 300%;
  72. height: 100%;
  73. box-sizing: border-box;
  74. padding-top: 100rpx;
  75. display: flex;
  76. justify-content: space-between;
  77. }
  78. #content .cItem {
  79. width: 750rpx;
  80. height: 100%;
  81. background: #f5f5f5;
  82. float: left;
  83. }
  84. #content .item {
  85. background: #ffffff;
  86. box-sizing: border-box;
  87. padding: 32rpx 32rpx 0;
  88. margin: 20rpx 20rpx 0;
  89. display: flex;
  90. flex-direction: column;
  91. }
  92. #content .item:last-child{
  93. margin-bottom: 52rpx;
  94. }
  95. #content .item > .header {
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: center;
  99. margin-bottom: 18rpx;
  100. }
  101. #content .item > .header > .left {
  102. display: flex;
  103. align-items: center;
  104. font-size: 32rpx;
  105. }
  106. #content .item > .header > .left > image {
  107. width: 52rpx;
  108. height: 52rpx;
  109. margin-right: 20rpx;
  110. border-radius: 50%;
  111. }
  112. #content .header > .right {
  113. font-size: 30rpx;
  114. }
  115. #content .sItem:nth-child(2) .footer {
  116. justify-content: flex-end;
  117. }
  118. #content .item > .detail {
  119. width: 100%;
  120. background: #fafafa;
  121. font-size: 28rpx;
  122. color: #666666;
  123. line-height: 26px;
  124. box-sizing: border-box;
  125. padding: 18rpx 28rpx;
  126. margin-bottom: 28rpx;
  127. }
  128. #content .item > .detail > view {
  129. display: flex;
  130. justify-content: space-between;
  131. align-items: center;
  132. }
  133. #content .item > .detail > view>view {
  134. display: flex;
  135. justify-content: space-between;
  136. align-items: center;
  137. }
  138. #content .item > .money {
  139. text-align: right;
  140. font-size: 28rpx;
  141. line-height: 26px;
  142. margin-bottom: 32rpx;
  143. }
  144. #content .item > .money > text {
  145. font-family: PingFangSC-Medium;
  146. font-size: 32rpx;
  147. }
  148. #content .item > .line {
  149. width: 678rpx;
  150. height: 2rpx;
  151. transform: scaleY(0.5);
  152. background: #eeeeee;
  153. margin-bottom: 18rpx;
  154. }
  155. #content .item > .footer {
  156. display: flex;
  157. justify-content: flex-end;
  158. align-items: center;
  159. padding-bottom: 20rpx;
  160. }
  161. #content .item > .footer .btn {
  162. border: 1rpx solid #cccccc;
  163. border-radius: 30rpx;
  164. padding: 12rpx 24rpx;
  165. font-size: 26rpx;
  166. color: #666666;
  167. }
  168. #content .item > .footer > view:nth-child(2) {
  169. display: flex;
  170. align-items: center;
  171. margin-left: 160rpx;
  172. }
  173. #content .item > .footer > view:nth-child(2) > .cancle {
  174. margin-right: 20rpx;
  175. }
  176. #content .item > .footer > view:nth-child(2) > .pay {
  177. background: #3296fb;
  178. color: #ffffff;
  179. border: none;
  180. }
  181. .modal {
  182. position: fixed;
  183. top: 0;
  184. width: 100%;
  185. height: 100%;
  186. background: rgba(0, 0, 0, 0.56);
  187. z-index: 900;
  188. display: flex;
  189. flex-direction: column;
  190. }
  191. .modal>view:first-child{
  192. flex: 1;
  193. }
  194. .modal > .detail {
  195. width: 100%;
  196. position: absolute;
  197. bottom: -500px;
  198. background: #f8f8f8;
  199. }
  200. .modal > .detail > .header {
  201. display: flex;
  202. justify-content: space-between;
  203. align-items: center;
  204. padding: 26rpx 20rpx 26rpx 32rpx;
  205. border-bottom: 2rpx solid #eeeeee;
  206. background: #ffffff;
  207. }
  208. .modal > .detail > .header > view {
  209. font-family: PingFangSC-Medium;
  210. font-size: 32rpx;
  211. display: flex;
  212. align-items: center;
  213. }
  214. .modal > .detail > .header > view > view {
  215. width: 6rpx;
  216. height: 32rpx;
  217. background: #3296fb;
  218. margin-right: 22rpx;
  219. }
  220. .modal > .detail > .header > image {
  221. width: 48rpx;
  222. height: 48rpx;
  223. }
  224. .orderModal > .detail > .person {
  225. padding: 36rpx 32rpx 40rpx;
  226. background: #ffffff;
  227. margin-bottom: 24rpx;
  228. }
  229. .orderModal > .detail > .person > view {
  230. display: flex;
  231. justify-content: space-between;
  232. line-height: 52rpx;
  233. font-size: 28rpx;
  234. }
  235. .orderModal > .detail > .person > view>text:first-child {
  236. color: #999999;
  237. }
  238. .orderModal > .detail > .person > view>text:last-child {
  239. color: #666666;
  240. }
  241. .orderModal > .detail > .money {
  242. background: #ffffff;
  243. padding: 30rpx 32rpx 0;
  244. }
  245. .orderModal > .detail > .money > .header {
  246. padding-bottom: 28rpx;
  247. display: flex;
  248. justify-content: space-between;
  249. align-items: center;
  250. }
  251. .orderModal > .detail > .money > .header > text:first-child {
  252. font-size: 30rpx;
  253. }
  254. .orderModal > .detail > .money > .header > text:last-child {
  255. font-size: 34rpx;
  256. color: #ff5e5e;
  257. }
  258. .modal .line {
  259. width: 718rpx;
  260. height: 2rpx;
  261. background: #eeeeee;
  262. }
  263. .orderModal > .detail > .money > .content {
  264. padding: 30rpx 0 64rpx;
  265. }
  266. .orderModal > .detail > .money > .content > view {
  267. display: flex;
  268. justify-content: space-between;
  269. font-size: 28rpx;
  270. line-height: 52rpx;
  271. }
  272. .orderModal > .detail > .money > .content > view>text:first-child {
  273. color: #999999;
  274. }
  275. .orderModal > .detail > .money > .content > view>text:last-child {
  276. text-align: right;
  277. color: #666666;
  278. }
  279. .modal .btn, .modal .btn-X{
  280. padding: 0 20rpx;
  281. height: 100rpx;
  282. background: #ffffff;
  283. }
  284. .modal .btn-X{
  285. height: 168rpx;
  286. }
  287. .modal .btn > view,.modal .btn-X > view {
  288. height: 90rpx;
  289. line-height: 90rpx;
  290. background: #3296fb;
  291. border-radius: 22.5px;
  292. text-align: center;
  293. color: #ffffff;
  294. font-family: PingFangSC-Medium;
  295. font-size: 32rpx;
  296. }
  297. .discountModal > .detail > .tips {
  298. padding: 34rpx 30rpx 32rpx;
  299. background: #f1f8ff;
  300. font-size: 24rpx;
  301. color: #666666;
  302. }
  303. .discountModal > .detail > .card {
  304. background: #ffffff;
  305. box-sizing: border-box;
  306. padding: 30rpx 30rpx 28rpx;
  307. height: 500rpx;
  308. }
  309. .discountModal > .detail > .card .cardItem {
  310. width: 100%;
  311. height: 200rpx;
  312. margin-bottom: 28rpx;
  313. display: flex;
  314. }
  315. .discountModal > .detail > .card .cardItem > .left {
  316. width: 220rpx;
  317. height: 200rpx;
  318. background-image: linear-gradient(-179deg, #21bfd5 3%, #2c8fd8 100%);
  319. color: #ffffff;
  320. display: flex;
  321. flex-direction: column;
  322. align-items: center;
  323. border-bottom-left-radius: 4rpx;
  324. border-top-left-radius: 4rpx;
  325. }
  326. .discountModal > .detail > .card .cardItem > .left > view {
  327. margin-top: 34rpx;
  328. }
  329. .discountModal > .detail > .card .cardItem > .left > view > text:first-child {
  330. font-family: DINAlternate-Bold;
  331. font-size: 17px;
  332. }
  333. .discountModal > .detail > .card .cardItem > .left > view > text:last-child {
  334. font-family: DINAlternate-Bold;
  335. font-size: 80rpx;
  336. }
  337. .discountModal > .detail > .card .cardItem > .left > text {
  338. font-size: 20rpx;
  339. }
  340. .discountModal > .detail > .card .cardItem > .right {
  341. flex: 1;
  342. box-sizing: border-box;
  343. padding: 30rpx 32rpx;
  344. display: flex;
  345. justify-content: space-between;
  346. align-items: center;
  347. box-shadow: 2rpx 4rpx 16rpx #dedede;
  348. border-bottom-right-radius: 4rpx;
  349. border-top-right-radius: 4rpx;
  350. }
  351. .discountModal > .detail > .card .cardItem > .right > image {
  352. width: 48rpx;
  353. height: 48rpx;
  354. }
  355. .discountModal > .detail > .card .cardItem > .right > view {
  356. display: flex;
  357. flex-direction: column;
  358. justify-content: space-between;
  359. }
  360. .discountModal
  361. > .detail
  362. > .card
  363. > .cardItem
  364. > .right
  365. > view
  366. > text:first-child {
  367. font-size: 30rpx;
  368. color: #666666;
  369. }
  370. .discountModal > .detail > .card .cardItem > .right > view > text:last-child {
  371. font-family: SFProText-Regular;
  372. font-size: 24rpx;
  373. color: #999999;
  374. line-height: 46rpx;
  375. }
  376. ::-webkit-scrollbar {
  377. width: 0;
  378. height: 0;
  379. color: transparent;
  380. }