reward.wxss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. .tabs {
  2. box-sizing: border-box;
  3. position: relative;
  4. overflow: hidden;
  5. zoom: 1;
  6. color: #666;
  7. }
  8. .tabs:after, .tabs:before {
  9. content: " ";
  10. display: table;
  11. }
  12. .tabs:after {
  13. clear: both;
  14. visibility: hidden;
  15. font-size: 0;
  16. height: 0;
  17. }
  18. .tabs-bar {
  19. outline: none;
  20. width: 100%;
  21. background-color: #fff;
  22. position: fixed;
  23. top: 0;
  24. left: 0;
  25. right: 0;
  26. z-index: 10;
  27. }
  28. .tabs-link-bar {
  29. z-index: 1;
  30. position: absolute;
  31. left: 0;
  32. bottom: 2rpx;
  33. box-sizing: border-box;
  34. height: 2rpx;
  35. background-color: #ff5777;
  36. transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  37. transform-origin: 0 0;
  38. }
  39. .tabs-bar {
  40. border-bottom: 1px solid #d9d9d9;
  41. box-sizing: border-box;
  42. }
  43. .tabs-nav--container {
  44. overflow: hidden;
  45. font-size: 14rpx;
  46. line-height: 1.5;
  47. box-sizing: border-box;
  48. position: relative;
  49. white-space: nowrap;
  50. margin-bottom: -1px;
  51. zoom: 1;
  52. }
  53. .tabs-nav--container:after, .tabs-nav--container:before {
  54. content: " ";
  55. display: table;
  56. }
  57. .tabs-nav--container:after {
  58. clear: both;
  59. visibility: hidden;
  60. font-size: 0;
  61. height: 0;
  62. }
  63. .tabs-tab-btn-disabled {
  64. cursor: not-allowed;
  65. }
  66. .tabs-tab-btn-disabled, .tabs-tab-btn-disabled:hover {
  67. color: #ccc;
  68. }
  69. .tabs-nav--wrap {
  70. overflow: hidden;
  71. margin-bottom: -1rpx;
  72. }
  73. .tabs-nav {
  74. display: flex;
  75. -moz-box-sizing: border-box;
  76. box-sizing: border-box;
  77. padding-left: 0;
  78. transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  79. position: relative;
  80. margin: 0;
  81. list-style: none;
  82. }
  83. .tabs-nav:after, .tabs-nav:before {
  84. display: table;
  85. content: " ";
  86. }
  87. .tabs-nav:after {
  88. clear: both;
  89. }
  90. .tabs-nav .tabs-tab-disabled {
  91. pointer-events: none;
  92. cursor: default;
  93. color: #ccc;
  94. }
  95. .tabs-nav .tabs-tab {
  96. flex: 1;
  97. display: block;
  98. height: 90rpx;
  99. line-height: 90rpx;
  100. margin: 0 12rpx;
  101. box-sizing: border-box;
  102. position: relative;
  103. transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  104. cursor: pointer;
  105. text-decoration: none;
  106. text-align: center;
  107. font-size: 30rpx;
  108. color: #333;
  109. }
  110. .tabs-nav .tabs-tab:active {
  111. color: #f13e3a;
  112. }
  113. .tabs-nav .tabs-tab .anticon {
  114. width: 14rpx;
  115. height: 14rpx;
  116. margin-right: 8rpx;
  117. }
  118. .tabs-nav .tabs-tab-active {
  119. color: #ff4936;
  120. border-bottom: 6rpx solid #ff4936;
  121. }
  122. .tabs.tabs-card>.tabs-bar .tabs-link-bar {
  123. visibility: hidden;
  124. }
  125. .tabs.tabs-card>.tabs-bar .tabs-tab {
  126. margin: 0;
  127. border: 1px solid #d9d9d9;
  128. border-bottom: 0;
  129. border-radius: 6rpx 6rpx 0 0;
  130. transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  131. background: #f9f9f9;
  132. margin-right: 2rpx;
  133. }
  134. .tabs.tabs-card>.tabs-bar .tabs-tab-active {
  135. background: #fff;
  136. transform: translateZ(0);
  137. border-color: #d9d9d9;
  138. color: #f13e3a;
  139. }
  140. .tabs.tabs-card>.tabs-bar .tabs-nav--wrap {
  141. margin-bottom: 0;
  142. }
  143. .list {
  144. padding-top: 100rpx;
  145. }
  146. .score {
  147. font-size: 70rpx;
  148. }
  149. .details {
  150. position: absolute;
  151. right: 30rpx;
  152. top: 10rpx;
  153. color: #ff6139;
  154. line-height: 1;
  155. }
  156. .coupon {
  157. background-color: #fefefe;
  158. position: relative;
  159. padding: 0 20rpx;
  160. border-radius: 6rpx;
  161. margin-top: 24rpx;
  162. }
  163. .coupon:before, .coupon:after {
  164. content: '';
  165. position: absolute;
  166. width: 20rpx;
  167. height: 40rpx;
  168. background: #f6f6f6;
  169. top: 70rpx;
  170. z-index: 1;
  171. }
  172. .coupon:before {
  173. border-radius: 0 40rpx 40rpx 0;
  174. left: 0;
  175. }
  176. .coupon:after {
  177. border-radius: 40rpx 0 0 40rpx;
  178. right: 0;
  179. }
  180. .coupon .header {
  181. display: flex;
  182. padding: 15rpx 0;
  183. border-bottom: 2rpx dashed #dbdbdb;
  184. height: 140rpx;
  185. }
  186. .coupon .footer {
  187. color: #747474;
  188. font-size: 24rpx;
  189. padding: 22rpx 0 20rpx 0;
  190. }
  191. .coupon .price {
  192. color: #333;
  193. width: 175rpx;
  194. text-align: center;
  195. border-right: 2rpx dashed #dbdbdb;
  196. }
  197. .coupon .price .reduce-price {
  198. color: #000;
  199. font-size: 38rpx;
  200. font-weight: bold;
  201. padding-top: 30rpx;
  202. }
  203. .coupon .price .reduce-price text {
  204. font-size: 24rpx;
  205. }
  206. .coupon .price .reduce-desc {
  207. font-size: 20rpx;
  208. margin-top: 10rpx;
  209. }
  210. .coupon .info {
  211. padding-left: 30rpx;
  212. flex: 1;
  213. }
  214. .coupon .info .reduce-title {
  215. color: #000;
  216. font-size: 28rpx;
  217. font-weight: bold;
  218. padding-top: 20rpx;
  219. display: -webkit-box;
  220. -webkit-box-orient: vertical;
  221. -webkit-line-clamp: 2;
  222. overflow: hidden;
  223. }
  224. .coupon .info .reduce-type {
  225. color: #fff;
  226. font-weight: normal;
  227. font-size: 20rpx;
  228. background: #ec6b5a;
  229. padding: 2rpx 8rpx;
  230. border-radius: 4rpx;
  231. }
  232. .coupon .status {
  233. width: 130rpx;
  234. text-align: center;
  235. }
  236. .coupon .status image {
  237. width: 90rpx;
  238. height: 90rpx;
  239. margin-top: 20rpx;
  240. }
  241. .coupon.used,
  242. .coupon.expired {
  243. background: #fafafa;
  244. }
  245. .coupon.used .price,
  246. .coupon.expired .price {
  247. color: #949494;
  248. }
  249. .coupon.used .reduce-price,
  250. .coupon.expired .reduce-price,
  251. .coupon.used .reduce-title,
  252. .coupon.expired .reduce-title {
  253. color: #7a7a7a;
  254. }
  255. .coupon.used .reduce-type,
  256. .coupon.expired .reduce-type {
  257. background: #eeaea6;
  258. }
  259. .coupon.used .footer,
  260. .coupon.expired .footer {
  261. color: #b6b6b6;
  262. }
  263. .reduce-area {
  264. font-size: 24rpx;
  265. color: #666;
  266. margin-top: 10rpx;
  267. }
  268. .go-shop {
  269. border: 1rpx solid #ec6b5a;
  270. border-radius: 30rpx;
  271. color: #ec6b5a;
  272. font-size: 24rpx;
  273. margin-top: 60rpx;
  274. margin-right: 12rpx;
  275. line-height: 38rpx;
  276. }
  277. .footer-tag {
  278. font-size: 20rpx;
  279. border-radius: 5rpx;
  280. color: #fff;
  281. padding: 2rpx 5rpx;
  282. text-align: center;
  283. }