buy-card.acss 9.2 KB

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