pay.css 9.6 KB

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