grouponPreList.wxss 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  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: #09AFFF;
  319. color:white ;
  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-unit{
  351. color:#09afff;
  352. margin-left:4rpx;
  353. }
  354. .coupon-top-left .coupon-value .coupon-unit-member{
  355. color:#E9B06B;
  356. margin-left:4rpx;
  357. }
  358. .coupon-top-left .coupon-value .coupon-flag{
  359. color:#09afff;
  360. margin-right:4rpx;
  361. }
  362. .coupon-top-left .coupon-value .coupon-flag-member{
  363. color:#E9B06B;
  364. margin-right:4rpx;
  365. }
  366. .coupon-top-left .coupon-value .coupon-value-member{
  367. font-size: 70rpx;
  368. line-height: 54rpx;
  369. color:#E9B06B ;
  370. }
  371. .coupon-top-content{
  372. flex:1;
  373. margin:0 30rpx 0 20rpx;
  374. color: #B4B4B4;
  375. font-size: 22rpx;
  376. font-weight: normal;
  377. }
  378. .coupon-valid-name{
  379. font-weight: bold;
  380. color: #555555;
  381. font-size: 32rpx;
  382. margin-bottom:10rpx;
  383. /* width:380rpx; */
  384. overflow: hidden;
  385. text-overflow: ellipsis;
  386. white-space: nowrap;
  387. }
  388. .coupon-top-right{
  389. /* writing-mode: vertical-lr; */
  390. width: 142rpx;
  391. height: 56rpx;
  392. background: #09AFFF;
  393. border-radius: 42rpx;
  394. text-align: center;
  395. color: #FFFFFF;
  396. line-height: 56rpx;
  397. font-size: 20rpx;
  398. letter-spacing: 3rpx;
  399. }
  400. .coupon-top-member{
  401. width: 142rpx;
  402. height: 56rpx;
  403. background: #E9B06B;
  404. border-radius: 42rpx;
  405. text-align: center;
  406. color: #FFFFFF;
  407. line-height: 56rpx;
  408. font-size: 20rpx;
  409. letter-spacing: 3rpx;
  410. }
  411. .coupon-bottom{
  412. padding:10rpx 4rpx 22rpx;
  413. color: #757575;
  414. font-size: 20rpx;
  415. line-height: 36rpx;
  416. border-top:1rpx dashed #D4D4D4;
  417. letter-spacing: 2rpx;
  418. display: flex;
  419. justify-content: space-between;
  420. align-items: center;
  421. }
  422. .coupon-switch-block{
  423. height: 104rpx;
  424. padding:0 27rpx;
  425. display: flex;
  426. align-items: center;
  427. margin-bottom:-20rpx;
  428. justify-content: center;
  429. }
  430. .van-tab--active.van-tab>view.van-ellipsis{
  431. color: #000 !important;
  432. letter-spacing: 2rpx;
  433. }
  434. .type-switch{
  435. width: 132rpx;
  436. height: 46rpx;
  437. line-height: 42rpx;
  438. border: 2rpx solid #B4B4B4;
  439. border-radius: 46rpx;
  440. text-align: center;
  441. color: #B4B4B4;
  442. font-size:24rpx;
  443. margin:10rpx;
  444. }
  445. .type-switch.active-switch{
  446. background: #4E4E4E;
  447. color: #fff;
  448. /* border: 2rpx solid #09AFFF; */
  449. }