buy-card.acss 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. /* required by usingComponents */
  2. /* pages/buy-card/buy-card.wxss */
  3. page {
  4. /* height: 100%; */
  5. background: #f2f3f5;
  6. }
  7. .box {
  8. /* width: 100%; */
  9. /* height: 100%; */
  10. /* display: flex;
  11. flex-direction: column;
  12. align-items: center; */
  13. padding-bottom: 20rpx;
  14. }
  15. .card {
  16. margin: 30rpx;
  17. }
  18. .card-list1 {
  19. position: relative;
  20. border: solid 5rpx #eceaea;
  21. background-color: #fff;
  22. padding: 30rpx;
  23. /* background: #ffe98f;
  24. border: solid 5rpx var(--globleColor); */
  25. border-radius: 20rpx;
  26. }
  27. .active{
  28. position: relative;
  29. padding: 30rpx;
  30. border-radius: 20rpx;
  31. background: #ffe98f;
  32. border: solid 5rpx var(--globleColor);
  33. }
  34. .card-title {
  35. font-size: 30rpx;
  36. color: #333333;
  37. font-weight: 500;
  38. }
  39. .card-tips {
  40. font-size: 26rpx;
  41. color: #7a7878;
  42. margin-top: 10rpx;
  43. }
  44. .card-money {
  45. font-size: 26rpx;
  46. margin-top: 30rpx;
  47. }
  48. .money-num {
  49. font-size: 50rpx;
  50. font-weight: bold;
  51. }
  52. .yuanjia {
  53. color: #442c2c6c;
  54. display: inline-block;
  55. margin-left: 10rpx;
  56. text-decoration: line-through;
  57. }
  58. .card-list {
  59. display: flex;
  60. flex-wrap: wrap;
  61. justify-content: space-between;
  62. flex-direction: row;
  63. }
  64. .card-content{
  65. margin:30rpx;
  66. }
  67. .card-list-item {
  68. position: relative;
  69. flex: 0 0 45%;
  70. border: solid 5rpx #eceaea;
  71. padding: 20rpx 0;
  72. border-radius: 30rpx;
  73. background-color: #fff;
  74. margin-top: 30rpx;
  75. }
  76. .active1{
  77. position: relative;
  78. flex: 0 0 45%;
  79. padding: 20rpx 0;
  80. border-radius: 30rpx;
  81. margin-top: 30rpx;
  82. background: #ffe98f;
  83. border: solid 5rpx var(--globleColor);
  84. }
  85. .right-tips{
  86. position: absolute;
  87. height:40rpx;
  88. padding: 0 30rpx;
  89. font-size: 22rpx;
  90. line-height: 40rpx;
  91. color: #ffffff;
  92. font-weight: bold;
  93. background-color:rgb(235, 58, 4);
  94. border-radius: 0 20rpx ;
  95. top: 0;
  96. right: 0;
  97. }
  98. .item-money{
  99. margin-top: 10rpx;
  100. }
  101. .buy-buttom{
  102. height: 100rpx;
  103. width: 80%;
  104. margin: 0 auto;
  105. margin-top: 50rpx;
  106. background-color: var(--globleColor);
  107. text-align: center;
  108. border-radius:50rpx;
  109. line-height: 100rpx;
  110. font-size: 32rpx;
  111. font-weight: bold;
  112. }
  113. .box .top {
  114. width: 92%;
  115. display: flex;
  116. flex-direction: column;
  117. font-size: 28rpx;
  118. color: darkgray;
  119. margin:0 30rpx;
  120. }
  121. .box .top text:nth-of-type(1) {
  122. font-size: 48rpx;
  123. font-family: PingFang SC;
  124. font-weight: bold;
  125. color: rgba(42, 42, 42, 1);
  126. padding: 50rpx 0rpx 30rpx 0rpx;
  127. }
  128. .box .top text:nth-of-type(2) {
  129. font-size: 32rpx;
  130. font-family: PingFang SC;
  131. font-weight: 400;
  132. color: rgba(153, 153, 153, 1);
  133. padding-bottom: 6rpx;
  134. }
  135. .box .hot {
  136. /* padding-top: ; */
  137. width: 690rpx;
  138. padding: 30rpx 0;
  139. /* height:296rpx; */
  140. background: rgba(255, 255, 255, 1);
  141. border-radius: 20rpx;
  142. background-size: 100% 100%;
  143. display: flex;
  144. flex-direction: column;
  145. justify-content: center;
  146. box-sizing: border-box;
  147. padding-left: 47rpx;
  148. margin-top: 30rpx;
  149. }
  150. .box .hot .title {
  151. font-size: 38rpx;
  152. font-family: PingFang SC;
  153. font-weight: bold;
  154. color: rgba(42, 42, 42, 1);
  155. }
  156. .box .hot .frequency {
  157. font-size: 32rpx;
  158. font-family: PingFang SC;
  159. color: rgba(153, 153, 153, 1);
  160. }
  161. .box .hot .info {
  162. display: flex;
  163. align-items: flex-end;
  164. padding: 19rpx 0rpx;
  165. }
  166. .box .hot .info text:nth-of-type(1) {
  167. font-size: 46rpx;
  168. font-family: PingFang SC;
  169. font-weight: bold;
  170. color: rgba(42, 42, 42, 1);
  171. }
  172. .box .hot .info text:nth-of-type(2) {
  173. font-size: 26rpx;
  174. font-family: PingFang SC;
  175. color: rgba(153, 153, 153, 1);
  176. padding-left: 19rpx;
  177. padding-bottom: 6rpx;
  178. text-decoration: line-through;
  179. }
  180. .box .hot .buy {
  181. width: 160rpx;
  182. height: 70rpx;
  183. margin-bottom: 20rpx;
  184. background: #5E5D5D;
  185. /* background:var(--globleColor); */
  186. border-radius: 40rpx;
  187. display: flex;
  188. /* margin-left: 20rpx; */
  189. align-items: center;
  190. justify-content: center;
  191. font-size: 32rpx;
  192. font-family: PingFang SC;
  193. color: rgba(255, 255, 255, 1);
  194. }
  195. .box .hot .info .buy text {
  196. font-size: 26rpx;
  197. color: #ffffff;
  198. }
  199. .list {
  200. display: flex;
  201. flex-direction: column;
  202. margin-top: 10rpx;
  203. }
  204. .tip text {
  205. /* width: 100rpx; */
  206. display: inline-block;
  207. padding: 0 5rpx;
  208. font-size: 22rpx;
  209. border: solid 1rpx rgba(153, 153, 153, 1);
  210. color: rgba(153, 153, 153, 1);
  211. border-radius: 8rpx;
  212. }
  213. .list .view {
  214. padding: 30rpx 0;
  215. width: 690rpx;
  216. /* height:206rpx; */
  217. background: rgba(255, 255, 255, 1);
  218. border-radius: 20rpx;
  219. margin-top: 20rpx;
  220. position: relative;
  221. display: flex;
  222. flex-direction: column;
  223. justify-content: center;
  224. box-sizing: border-box;
  225. padding-left: 48rpx;
  226. }
  227. .list .view .text {
  228. font-size: 32rpx;
  229. font-family: PingFang SC;
  230. color: rgba(94, 93, 93, 1);
  231. padding-bottom: 20rpx;
  232. }
  233. .list .view .money {
  234. display: flex;
  235. align-items: flex-end;
  236. }
  237. .list .view .money text:nth-of-type(1) {
  238. font-size: 46rpx;
  239. font-family: PingFang SC;
  240. font-weight: bold;
  241. color: rgba(42, 42, 42, 1);
  242. }
  243. .list .view .money text:nth-of-type(2) {
  244. font-size: 26rpx;
  245. font-family: PingFang SC;
  246. color: rgba(153, 153, 153, 1);
  247. padding-left: 34rpx;
  248. padding-bottom: 6rpx;
  249. text-decoration: line-through;
  250. }
  251. .list .view .buy {
  252. width: 140rpx;
  253. height: 50rpx;
  254. background: #5E5D5D;
  255. border-radius: 40rpx;
  256. display: flex;
  257. align-items: center;
  258. justify-content: center;
  259. font-size: 26rpx;
  260. font-family: PingFang SC;
  261. color: rgba(255, 255, 255, 1);
  262. position: absolute;
  263. top: 88rpx;
  264. right: 20rpx;
  265. }
  266. .list .view .position {
  267. width: 186rpx;
  268. height: 42rpx;
  269. background: rgba(24, 213, 185, 1);
  270. border-radius: 0px 20rpx 0px 39rpx;
  271. display: flex;
  272. align-items: center;
  273. justify-content: center;
  274. font-size: 26rpx;
  275. font-family: PingFang SC;
  276. color: rgba(255, 255, 255, 1);
  277. position: absolute;
  278. top: 0rpx;
  279. right: 0rpx;
  280. }
  281. .box .btn {
  282. width: 100%;
  283. height: 160rpx;
  284. background: rgba(255, 255, 255, 1);
  285. box-shadow: 0px 0px 52rpx 0px rgba(210, 210, 210, 1);
  286. display: flex;
  287. align-items: center;
  288. justify-content: space-between;
  289. position: fixed;
  290. bottom: 0rpx;
  291. left: 0rpx;
  292. }
  293. .btn .money {
  294. display: flex;
  295. align-items: flex-end;
  296. margin-left: 30rpx;
  297. }
  298. .btn .money text:nth-of-type(1) {
  299. font-size: 60rpx;
  300. font-family: PingFang SC;
  301. font-weight: 800;
  302. color: rgba(42, 42, 42, 1);
  303. }
  304. .btn .money text:nth-of-type(2) {
  305. font-size: 30rpx;
  306. font-family: PingFang-SC-Medium;
  307. font-weight: Medium;
  308. color: #2A2A2A;
  309. padding-left: 20rpx;
  310. padding-bottom: 6rpx;
  311. }
  312. .btn .form {
  313. width: 214rpx;
  314. height: 70rpx;
  315. background: rgba(24, 213, 185, 1);
  316. border-radius: 35rpx 35rpx 35rpx 35rpx;
  317. display: flex;
  318. align-items: center;
  319. justify-content: center;
  320. font-size: 36rpx;
  321. font-family: PingFang SC;
  322. color: rgba(255, 255, 255, 1);
  323. margin-right: 30rpx;
  324. }
  325. .box .rule {
  326. width: 92%;
  327. display: flex;
  328. flex-direction: column;
  329. }
  330. .rule .title {
  331. font-size: 46rpx;
  332. font-family: PingFang SC;
  333. font-weight: bold;
  334. color: rgba(42, 42, 42, 1);
  335. padding: 106rpx 0rpx 46rpx 0rpx;
  336. }
  337. .rule view {
  338. display: flex;
  339. flex-direction: column;
  340. height: 548rpx;
  341. justify-content: space-between;
  342. padding-bottom: 66rpx;
  343. }
  344. .rule view text {
  345. font-size: 28rpx;
  346. font-family: PingFang-SC-Regular;
  347. font-weight: Regular;
  348. color: #5E5D5D;
  349. }
  350. .background {
  351. width: 100%;
  352. height: 100%;
  353. position: fixed;
  354. top: 0;
  355. left: 0;
  356. right: 0;
  357. bottom: 0;
  358. background: #000000;
  359. opacity: .6;
  360. z-index: 88;
  361. }
  362. .model {
  363. width: 100%;
  364. height: 62%;
  365. position: fixed;
  366. left: 0;
  367. bottom: 0;
  368. z-index: 99;
  369. background: white;
  370. }
  371. .model .view {
  372. width: 100%;
  373. height: 100%;
  374. position: relative;
  375. padding-top: 80rpx;
  376. padding-bottom: 120rpx;
  377. box-sizing: border-box;
  378. }
  379. .model .view .title {
  380. position: absolute;
  381. top: 0rpx;
  382. height: 80rpx;
  383. line-height: 80rpx;
  384. text-align: center;
  385. width: 100%;
  386. border-bottom: 2rpx solid #F4F4F4;
  387. z-index: 99;
  388. }
  389. .model .view .btn1 {
  390. position: absolute;
  391. bottom: 0rpx;
  392. width: 100%;
  393. display: flex;
  394. align-items: center;
  395. justify-content: center;
  396. height: 120rpx;
  397. background: #F4F4F4;
  398. z-index: 99;
  399. }
  400. .model .view .btn1 text {
  401. width: 80%;
  402. height: 80rpx;
  403. line-height: 80rpx;
  404. text-align: center;
  405. color: white;
  406. font-size: 28rpx;
  407. background:var(--globleColor);
  408. border-radius: 40rpx;
  409. }
  410. .model .view .content {
  411. height: 100%;
  412. overflow-y: scroll;
  413. display: flex;
  414. flex-direction: column;
  415. width: 95%;
  416. margin: 0 auto;
  417. }
  418. .model .view .content text {
  419. padding-top: 20rpx;
  420. font-size: 26rpx;
  421. }
  422. .model .view .content .title1 {
  423. font-size: 30rpx;
  424. font-weight: 800;
  425. }
  426. .model .view .content .count_a {
  427. display: flex;
  428. align-items: center;
  429. }
  430. .model .view .content .count_a text:nth-of-type(1) {
  431. font-size: 32rpx;
  432. font-weight: 800;
  433. }
  434. .model .view .content .count_a text:nth-of-type(2) {
  435. font-size: 26rpx;
  436. color: #5E5D5D;
  437. padding-left: 14rpx;
  438. }
  439. .model .view .content .count_b {
  440. display: flex;
  441. align-items: flex-end;
  442. }
  443. .model .view .content .count_b text:nth-of-type(1) {
  444. font-size: 34rpx;
  445. font-weight: 800;
  446. color: red;
  447. }
  448. .model .view .content .count_b text:nth-of-type(2) {
  449. font-size: 26rpx;
  450. padding-left: 10rpx;
  451. text-decoration: line-through;
  452. }
  453. .over1 {
  454. position: fixed;
  455. top: 39%;
  456. right: 5%;
  457. z-index: 99;
  458. }
  459. .none {
  460. display: flex;
  461. flex-direction: column;
  462. align-items: center;
  463. justify-content: center;
  464. width: 100%;
  465. padding-top: 30%;
  466. height: 90%;
  467. }
  468. .none image {
  469. height: 200rpx;
  470. width: 200rpx;
  471. }
  472. .none text {
  473. /* padding-right: 70rpx; */
  474. padding-top: 50rpx;
  475. }