couponList.wxss 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  1. page {
  2. background: #f4f4f4;
  3. min-height: 100%;
  4. }
  5. .container {
  6. background: #f4f4f4;
  7. min-height: 100%;
  8. /* padding-top: 30rpx; */
  9. }
  10. .container .h {
  11. position: fixed;
  12. left: 0;
  13. top: 0;
  14. z-index: 1000;
  15. width: 100%;
  16. display: flex;
  17. background: #fff;
  18. height: 84rpx;
  19. border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  20. }
  21. .container .h .item {
  22. display: inline-block;
  23. height: 82rpx;
  24. width: 50%;
  25. padding: 0 15rpx;
  26. text-align: center;
  27. }
  28. .container .h .item .txt {
  29. display: inline-block;
  30. height: 82rpx;
  31. padding: 0 20rpx;
  32. line-height: 82rpx;
  33. color: #333;
  34. font-size: 30rpx;
  35. width: 170rpx;
  36. }
  37. .container .h .item.active .txt {
  38. color: #ab2b2b;
  39. border-bottom: 4rpx solid #ab2b2b;
  40. }
  41. .container .b {
  42. padding-top: 12rpx;
  43. height: auto;
  44. border-top:1rpx solid #ddd;
  45. }
  46. .container .b .coupon-form {
  47. height: 110rpx;
  48. width: 100%;
  49. background: #fff;
  50. padding-left: 30rpx;
  51. padding-right: 30rpx;
  52. padding-top: 20rpx;
  53. display: flex;
  54. }
  55. .container .b .input-box {
  56. flex: 1;
  57. height: 70rpx;
  58. color: #333;
  59. font-size: 24rpx;
  60. background: #fff;
  61. position: relative;
  62. border: 1px solid rgba(0, 0, 0, 0.15);
  63. border-radius: 35rpx;
  64. margin-right: 30rpx;
  65. }
  66. .container .b .input-box .coupon-sn {
  67. position: absolute;
  68. top: 10rpx;
  69. left: 30rpx;
  70. height: 50rpx;
  71. width: 100%;
  72. color: #000;
  73. line-height: 50rpx;
  74. font-size: 24rpx;
  75. }
  76. .container .b .clear-icon {
  77. position: absolute;
  78. top: 20rpx;
  79. right: 18rpx;
  80. z-index: 2;
  81. display: block;
  82. background: #fff;
  83. }
  84. .container .b .add-btn {
  85. height: 70rpx;
  86. border: none;
  87. width: 168rpx;
  88. /* background: #b4282d; */
  89. background: #4E4E4E;
  90. border-radius: 35rpx;
  91. line-height: 70rpx;
  92. color: #fff;
  93. font-size: 28rpx;
  94. text-align: center;
  95. }
  96. .container .b .add-btn.disabled {
  97. background: #ccc;
  98. }
  99. .container .b .help {
  100. height: 72rpx;
  101. line-height: 72rpx;
  102. text-align: right;
  103. padding-right: 30rpx;
  104. background-size: 28rpx;
  105. color: #999;
  106. font-size: 24rpx;
  107. }
  108. .container .b .coupon-list {
  109. width: 750rpx;
  110. height: 100%;
  111. overflow: hidden;
  112. }
  113. .container .b .item {
  114. position: relative;
  115. height: 290rpx;
  116. background: #ccc7c7;
  117. margin-bottom: 30rpx;
  118. margin-left: 30rpx;
  119. margin-right: 30rpx;
  120. padding-top: 52rpx;
  121. }
  122. .container .b .item.active {
  123. background: linear-gradient(to right, #cfa568, #e3bf79);
  124. }
  125. .container .b .tag {
  126. height: 32rpx;
  127. background: #a48143;
  128. padding-left: 16rpx;
  129. padding-right: 16rpx;
  130. position: absolute;
  131. left: 20rpx;
  132. color: #fff;
  133. top: 20rpx;
  134. font-size: 20rpx;
  135. text-align: center;
  136. line-height: 32rpx;
  137. }
  138. .container .b .content {
  139. margin-top: 24rpx;
  140. margin-left: 40rpx;
  141. display: flex;
  142. margin-right: 40rpx;
  143. flex-direction: row;
  144. }
  145. .container .b .content .left {
  146. flex: 1;
  147. }
  148. .container .b .discount {
  149. font-size: 50rpx;
  150. color: #b4282d;
  151. }
  152. .container .b .min {
  153. color: #fff;
  154. }
  155. .container .b .content .right {
  156. width: 400rpx;
  157. }
  158. .container .b .name {
  159. font-size: 44rpx;
  160. color: #fff;
  161. margin-bottom: 14rpx;
  162. }
  163. .container .b .time {
  164. font-size: 24rpx;
  165. color: #fff;
  166. line-height: 30rpx;
  167. }
  168. .container .b .condition {
  169. position: absolute;
  170. width: 100%;
  171. bottom: 0;
  172. left: 0;
  173. height: 78rpx;
  174. background: rgba(0, 0, 0, 0.08);
  175. padding: 24rpx 40rpx;
  176. display: flex;
  177. flex-direction: row;
  178. }
  179. .container .b .condition .txt {
  180. display: block;
  181. height: 30rpx;
  182. flex: 1;
  183. overflow: hidden;
  184. font-size: 24rpx;
  185. line-height: 30rpx;
  186. color: #fff;
  187. }
  188. .container .b .condition .icon {
  189. margin-left: 30rpx;
  190. width: 24rpx;
  191. height: 24rpx;
  192. }
  193. .container .b .page {
  194. width: 750rpx;
  195. height: 108rpx;
  196. background: #fff;
  197. margin-bottom: 20rpx;
  198. }
  199. .container .b .page view {
  200. height: 108rpx;
  201. width: 50%;
  202. float: left;
  203. font-size: 29rpx;
  204. color: #333;
  205. text-align: center;
  206. line-height: 108rpx;
  207. }
  208. .container .b .page .prev {
  209. border-right: 1px solid #d9d9d9;
  210. }
  211. .container .b .page .disabled {
  212. color: #ccc;
  213. }
  214. .b .no-list{
  215. margin:16rpx 0 0;
  216. text-align: center;
  217. color:#999;
  218. font-size: 28rpx;
  219. }
  220. .my-coupon-list{
  221. padding:20rpx 24rpx;
  222. width: auto;
  223. height: 100%;
  224. overflow: hidden;
  225. }
  226. .my-coupon-item{
  227. border-radius: 18rpx;
  228. background:#fff;
  229. height: 190rpx;
  230. margin:0 0 20rpx;
  231. display: flex;
  232. justify-content: space-between;
  233. padding:0 20rpx 0 0;
  234. width:706rpx;
  235. }
  236. .coupon-left{
  237. background:rgba(9, 175, 255, 0.1);
  238. width:230rpx;
  239. display: flex;
  240. flex-direction: column;
  241. align-items: center;
  242. justify-content: space-between;
  243. height:190rpx;
  244. padding:18rpx 0 30rpx;
  245. }
  246. .coupon-left .coupon-amount{
  247. font-size: 48rpx;
  248. font-weight: bold;
  249. }
  250. .coupon-left .coupon-type{
  251. font-size: 24rpx;
  252. font-weight: bold;
  253. white-space: nowrap;
  254. overflow: hidden;
  255. text-overflow: ellipsis;
  256. width:220rpx;
  257. text-align: center;
  258. }
  259. .coupon-left .coupon-btn{
  260. background:#999999;
  261. color: #fff;
  262. width:120rpx;
  263. height: 32rpx;
  264. line-height:32rpx;
  265. font-size: 22rpx;
  266. margin-top:10rpx;
  267. border-radius:30rpx;
  268. text-align: center;
  269. }
  270. .coupon-left .coupon-btn.active-btn{
  271. background:#09afff;
  272. }
  273. .coupon-content{
  274. margin:0 20rpx 0 30rpx;
  275. display: flex;
  276. flex-direction: column;
  277. justify-content: space-between;
  278. padding:40rpx 0;
  279. flex:1
  280. }
  281. .coupon-content view.coupon-name{
  282. color:#999;
  283. font-size:30rpx;
  284. font-weight: bold;
  285. white-space: nowrap;
  286. overflow: hidden;
  287. text-overflow: ellipsis;
  288. width:330rpx;
  289. }
  290. .coupon-content view.coupon-date{
  291. color:#999;
  292. font-size:20rpx;
  293. }
  294. .coupon-right{
  295. width:84rpx;
  296. height:114rpx;
  297. padding-top:30rpx;
  298. }
  299. .coupon-status{
  300. width:84rpx;
  301. height:84rpx;
  302. }
  303. .my-coupon-item-valid{
  304. background: #fff;
  305. box-shadow: 0rpx 6rpx 14rpx 0px rgba(142, 142, 142, 0.03);
  306. border-radius: 20rpx;
  307. width:696rpx;
  308. margin-bottom:24rpx;
  309. padding:0 30rpx;
  310. }
  311. .my-coupon-item-valid .marker{
  312. position: absolute;
  313. right: 10rpx;
  314. float: right;
  315. padding: 5rpx;
  316. width: 136rpx;
  317. /* border-radius: 1rpx solid #; */
  318. background: #F5DA9E;
  319. color:#C8965A ;
  320. text-align: center;
  321. border-bottom-left-radius: 20rpx;
  322. /* margin-right: -30rpx; */
  323. border-top-right-radius: 15rpx;
  324. }
  325. .coupon-top{
  326. display: flex;
  327. height: 152rpx;
  328. align-items: center;
  329. justify-content: space-between;
  330. padding:0rpx 8rpx 0 0;
  331. }
  332. .coupon-top-left{
  333. width:150rpx;
  334. color: #09AFFF;
  335. font-size: 22rpx;
  336. padding:8rpx 0 0 4rpx;
  337. }
  338. .coupon-top-left .coupon-value{
  339. display: flex;
  340. align-items: flex-end;
  341. height: 54rpx;
  342. margin-bottom:10rpx;
  343. font-size: 24rpx;
  344. font-weight: bold;
  345. }
  346. .coupon-top-left .coupon-value .coupon-value-num{
  347. font-size: 70rpx;
  348. line-height: 54rpx;
  349. }
  350. .coupon-top-left .coupon-value .coupon-value-num2{
  351. font-size: 40rpx;
  352. line-height: 54rpx;
  353. margin-left: 15rpx
  354. }
  355. .coupon-top-left .coupon-value .coupon-unit{
  356. color:#09afff;
  357. margin-left:4rpx;
  358. }
  359. .coupon-top-left .coupon-value .coupon-unit-member{
  360. color:#E9B06B;
  361. margin-left:4rpx;
  362. }
  363. .coupon-top-left .coupon-value .coupon-flag{
  364. color:#09afff;
  365. margin-right:4rpx;
  366. }
  367. .coupon-top-left .coupon-value .coupon-flag-member{
  368. color:#E9B06B;
  369. margin-right:4rpx;
  370. }
  371. .coupon-top-left .coupon-value .coupon-value-member{
  372. font-size: 70rpx;
  373. line-height: 54rpx;
  374. color:#E9B06B ;
  375. }
  376. .coupon-top-content{
  377. flex:1;
  378. margin:0 30rpx 0 20rpx;
  379. color: #B4B4B4;
  380. font-size: 22rpx;
  381. font-weight: normal;
  382. }
  383. .coupon-valid-name{
  384. font-weight: bold;
  385. color: #555555;
  386. font-size: 32rpx;
  387. margin-bottom:10rpx;
  388. width:380rpx;
  389. overflow: hidden;
  390. text-overflow: ellipsis;
  391. white-space: nowrap;
  392. }
  393. .coupon-top-right{
  394. /* writing-mode: vertical-lr; */
  395. width: 142rpx;
  396. height: 56rpx;
  397. background: #09AFFF;
  398. border-radius: 42rpx;
  399. text-align: center;
  400. color: #FFFFFF;
  401. line-height: 56rpx;
  402. font-size: 20rpx;
  403. letter-spacing: 3rpx;
  404. }
  405. .coupon-top-member{
  406. width: 142rpx;
  407. height: 56rpx;
  408. background: #E9B06B;
  409. border-radius: 42rpx;
  410. text-align: center;
  411. color: #FFFFFF;
  412. line-height: 56rpx;
  413. font-size: 20rpx;
  414. letter-spacing: 3rpx;
  415. }
  416. .coupon-bottom{
  417. padding:10rpx 4rpx 22rpx;
  418. color: #757575;
  419. font-size: 20rpx;
  420. line-height: 36rpx;
  421. border-top:1rpx dashed #D4D4D4;
  422. letter-spacing: 2rpx;
  423. display: flex;
  424. justify-content: space-between;
  425. align-items: center;
  426. }
  427. .coupon-switch-block{
  428. height: 104rpx;
  429. padding:0 27rpx;
  430. display: flex;
  431. align-items: center;
  432. margin-bottom:-20rpx;
  433. justify-content: center;
  434. }
  435. .van-tab--active.van-tab>view.van-ellipsis{
  436. color: #000 !important;
  437. letter-spacing: 2rpx;
  438. }
  439. .type-switch{
  440. width: 132rpx;
  441. height: 46rpx;
  442. line-height: 42rpx;
  443. border: 2rpx solid #B4B4B4;
  444. border-radius: 46rpx;
  445. text-align: center;
  446. color: #B4B4B4;
  447. font-size:24rpx;
  448. margin:10rpx;
  449. }
  450. .type-switch.active-switch{
  451. background: #4E4E4E;
  452. color: #fff;
  453. /* border: 2rpx solid #09AFFF; */
  454. }
  455. .pup-up-coupon{
  456. width: 100vw;
  457. height: 100vh;
  458. display: flex;
  459. justify-content: center;
  460. align-items: center;
  461. position: fixed;
  462. top: 0;
  463. left: 0;
  464. background: rgba(0, 0, 0, 0.5);
  465. z-index: 9999;
  466. }
  467. .pup-up-coupon image{ /* 设不设都行 */
  468. width: 550rpx;
  469. height: 550rpx;
  470. border-radius: 10rpx;
  471. }
  472. .pup-up-coupon .close-icon{
  473. position: absolute;
  474. right: 360rpx;
  475. top: 70%;
  476. }
  477. .tc{
  478. font-family:'阿里巴巴普惠体 2 55 Regular';
  479. width: 550rpx;
  480. height: 550rpx;
  481. background-image: url('https://jzmall.lifejingzhi.com/file/jzmall/weixin/yhj.png');
  482. background-size:cover;
  483. background-repeat: no-repeat;
  484. background-position: center;
  485. }
  486. .pkName{
  487. text-align: center;
  488. font-weight: bold;
  489. color: #862B0B;
  490. line-height: 55rpx;
  491. }
  492. .num{
  493. text-align: center;
  494. font-weight: bold;
  495. color: #802003;
  496. line-height: 100rpx;
  497. font-size: 55rpx;
  498. }
  499. .money{
  500. display: flex;
  501. flex-wrap: wrap;
  502. align-items: center;
  503. width: 170rpx;
  504. color: #FEFAFA;
  505. font-weight: bold;
  506. font-size: 80rpx;
  507. margin-left: 70rpx;
  508. /* margin-top: 55rpx; */
  509. }
  510. .money>span{
  511. color: #FEFAFA;
  512. font-weight: bold;
  513. font-size: 30rpx;
  514. padding-top: 30rpx;
  515. }
  516. .couponName{
  517. display: flex;
  518. flex-wrap: wrap;
  519. align-items: center;
  520. color: #FEFAFA;
  521. font-weight: bold;
  522. width: 150rpx;
  523. font-size: 45rpx;
  524. margin-left: 70rpx;
  525. }
  526. .couponNameDesc{
  527. display: flex;
  528. flex-wrap: wrap;
  529. align-items: center;
  530. color: #FEFAFA;
  531. font-weight: bold;
  532. width: 250rpx;
  533. height: 240rpx;
  534. font-size: 35rpx;
  535. margin-left: 20rpx;
  536. }
  537. .box{
  538. width: 510rpx;
  539. height: 240rpx;
  540. display: flex;
  541. justify-content: space-between;
  542. }