coupon.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /* pages/coupon/coupon.wxss */
  2. .layer {
  3. display: flex;
  4. flex-direction: column;
  5. position: fixed;
  6. top: 0;
  7. bottom: 0;
  8. left: 0;
  9. right: 0;
  10. }
  11. .tab {
  12. flex: 0 0 auto;
  13. padding: 24rpx;
  14. background-color: #fff;
  15. display: flex;
  16. justify-content: space-around;
  17. }
  18. .tab view {
  19. color: #131D34;
  20. font-size: 30rpx;
  21. font-weight: bold;
  22. }
  23. .tab view text {
  24. font-size: 0.8em;
  25. color: inherit;
  26. }
  27. .tab view.active {
  28. position: relative;
  29. color: #ED5D18;
  30. }
  31. .tab view.active::after {
  32. content: '';
  33. position: absolute;
  34. bottom: -20rpx;
  35. height: 4rpx;
  36. width: 60rpx;
  37. background-color: #ED5D18;
  38. left: 50%;
  39. transform: translateX(-50%);
  40. }
  41. .body {
  42. flex: 1;
  43. overflow-y: auto;
  44. padding-top: 20rpx;
  45. background-color: rgb(247,247,247);
  46. }
  47. .item {
  48. margin-bottom: 20rpx;
  49. padding: 20rpx 30rpx;
  50. background-color: #fff;
  51. }
  52. .product {
  53. display: flex;
  54. align-items: center;
  55. }
  56. .cover {
  57. width: 120rpx;
  58. height: 120rpx;
  59. flex: 0 0 auto;
  60. margin-right: 16rpx;
  61. }
  62. .content {
  63. flex: 1;
  64. position: relative;
  65. }
  66. .disable {
  67. filter: grayscale(100%);
  68. }
  69. .disable .invalid {
  70. position: absolute;
  71. width: 200rpx;
  72. height: 200rpx;
  73. right: 0;
  74. top: 0;
  75. z-index: 3;
  76. transform: translate(10%);
  77. }
  78. .content .title {
  79. font-size: 30rpx;
  80. color: #131D34;
  81. margin-bottom: 24rpx;
  82. }
  83. .content .desc {
  84. font-size: 22rpx;
  85. color: #999999;
  86. }
  87. .illustrate {
  88. flex: 0 0 auto;
  89. }
  90. .illustrate .momey {
  91. font-size: 50rpx;
  92. color: #ED5D18;
  93. font-weight: bold;
  94. }
  95. .illustrate .momey text {
  96. color: inherit;
  97. font-size: 24rpx;
  98. }
  99. .illustrate .explain {
  100. color: #999;
  101. font-size: 22rpx;
  102. }
  103. .oper {
  104. display: flex;
  105. margin-top: 26rpx;
  106. border-top: 1px solid rgba(0,0,0,0.1);
  107. padding-top: 26rpx;
  108. align-items: center;
  109. justify-content: space-between;
  110. }
  111. .oper view {
  112. flex: 0 0 auto;
  113. color: #999999;
  114. font-size: 20rpx;
  115. }
  116. .oper .btn {
  117. flex: 0 0 auto;
  118. width: 96rpx;
  119. height: 44rpx;
  120. line-height: 44rpx;
  121. text-align: center;
  122. color: #fff;
  123. font-size: 22rpx;
  124. border-radius:4px;
  125. background-color: #ED5D18;
  126. }
  127. .un-content {
  128. width: 100%;
  129. height: 100%;
  130. text-align: center;
  131. }
  132. .lay {
  133. margin-top: 180rpx;
  134. }
  135. .un-content image {
  136. display: inline-block;
  137. width: 250rpx;
  138. height: 274rpx;
  139. }
  140. .un-content .text {
  141. color: #666C7D;
  142. font-size: 30rpx;
  143. margin-top: 40rpx;
  144. }