1
0

coupon.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. .coupon-form {
  11. height: 110rpx;
  12. width: 100%;
  13. background: #fff;
  14. padding-left: 30rpx;
  15. padding-right: 30rpx;
  16. padding-top: 20rpx;
  17. display: flex;
  18. }
  19. .input-box {
  20. flex: 1;
  21. height: 70rpx;
  22. color: #333;
  23. font-size: 24rpx;
  24. background: #fff;
  25. position: relative;
  26. border: 1px solid rgba(0, 0, 0, 0.15);
  27. border-radius: 4rpx;
  28. margin-right: 30rpx;
  29. }
  30. .input-box .coupon-sn {
  31. position: absolute;
  32. top: 10rpx;
  33. left: 30rpx;
  34. height: 50rpx;
  35. width: 100%;
  36. color: #000;
  37. line-height: 50rpx;
  38. font-size: 24rpx;
  39. }
  40. .clear-icon {
  41. position: absolute;
  42. top: 21rpx;
  43. right: 30rpx;
  44. width: 28rpx;
  45. height: 28rpx;
  46. }
  47. .add-btn {
  48. height: 70rpx;
  49. border: none;
  50. width: 168rpx;
  51. background: #b4282d;
  52. border-radius: 0;
  53. line-height: 70rpx;
  54. color: #fff;
  55. font-size: 28rpx;
  56. }
  57. .add-btn.disabled {
  58. background: #ccc;
  59. }
  60. .help {
  61. height: 72rpx;
  62. line-height: 72rpx;
  63. text-align: right;
  64. padding-right: 30rpx;
  65. background: url(http://120.76.26.84:80/group1/M00/00/02/rBJEdVvr3hmAFbclAAABsRQzqG8471.png) 590rpx center no-repeat;
  66. background-size: 28rpx;
  67. color: #999;
  68. font-size: 24rpx;
  69. }
  70. .coupon-box {
  71. background-color: #fff;
  72. display: flex;
  73. border-radius: 5px;
  74. flex-direction: row;
  75. position: relative;
  76. }
  77. .coupon-box .coupon-used {
  78. position: absolute;
  79. top: 50%;
  80. right: 10px;
  81. margin-top: -7.5vmin;
  82. height: 15vmin;
  83. width: 15vmin;
  84. background: url(http://120.76.26.84:80/group1/M00/00/02/rBJEdVvr2s2AIzXWAAAPHxXo1UI166.png) no-repeat center;
  85. background-size: contain;
  86. }
  87. .coupon-box-g {
  88. background: linear-gradient(to right, #f0f0f0, #fff);
  89. }
  90. .coupon-box1 {
  91. border: 1px solid #fbb025;
  92. border-left: none;
  93. }
  94. .coupon-box2 {
  95. border: 1px solid #ccc;
  96. border-left: none;
  97. }
  98. .coupon-bg {
  99. width: 35%;
  100. background-position: left;
  101. background-size: cover;
  102. color: #fff;
  103. font-size: 2.4rem;
  104. display: flex;
  105. justify-content: center;
  106. flex-direction: column;
  107. align-items: center;
  108. }
  109. .coupon-bg > view{
  110. font-size: inherit;
  111. color: #fff;
  112. }
  113. .coupon-bg .coupon-currency {
  114. font-size: 1rem;
  115. padding-right: 5px;
  116. color: #fff;
  117. }
  118. .coupon-bg .coupon-type {
  119. font-size: 0.8rem;
  120. color: #fff;
  121. }
  122. .coupon-bg1 {
  123. background-image: url(http://120.76.26.84:80/group1/M00/00/02/rBJEdVvr2v6AcFmPAAAXWs0DSHQ136.png);
  124. }
  125. .coupon-bg2 {
  126. background-image: url(http://120.76.26.84:80/group1/M00/00/02/rBJEdVvr2x6AEzgOAAAPIKZoCH4265.png);
  127. }
  128. .coupon-info {
  129. width: 50%;
  130. margin-left: 40px;
  131. }
  132. .coupon-info .coupon-title {
  133. font-size: 1.1rem;
  134. padding: 8px 0 4px 0;
  135. }
  136. .coupon-info .coupon-desc {
  137. font-size: 0.9rem;
  138. color: #9b9b9b;
  139. list-style: outside;
  140. padding: 4px 0 8px 0;
  141. }