cardBag.wxss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. /* 历史记录 */
  2. .history {
  3. width: 750rpx;
  4. height: 60rpx;
  5. background: #FFFFFF;
  6. line-height: 60rpx;
  7. display: flex;
  8. justify-content: flex-end;
  9. }
  10. .history .historyBtn {
  11. font-size: 28rpx;
  12. color: #999999;
  13. margin-right: 40rpx;
  14. }
  15. /* 切换状态栏 */
  16. .tab {
  17. width: 750rpx;
  18. height: 120rpx;
  19. padding: 30rpx 42rpx 0 70rpx;
  20. background: #FFFFFF;
  21. box-sizing: border-box;
  22. display: flex;
  23. position: relative;
  24. }
  25. .tab .tab-item {
  26. font-size: 28rpx;
  27. color: #666666;
  28. }
  29. .activeTab {
  30. color: #333333 !important;
  31. font-weight: 600 !important;
  32. position: relative;
  33. }
  34. .activeTab::before {
  35. content: '';
  36. position: absolute;
  37. bottom: 30rpx;
  38. left: 50%;
  39. transform: translateX(-50%);
  40. width: 40rpx;
  41. height: 8rpx;
  42. background: linear-gradient(144deg, #FA7D22 0%, #FA4622 100%);
  43. border-radius: 4px;
  44. }
  45. .moreCard{
  46. font-size: 28rpx;
  47. color: #FA7D22;
  48. position: absolute;
  49. right: 42rpx;
  50. }
  51. /* 次卡列表 */
  52. .scroll{
  53. height: calc(100vh - 220rpx);
  54. }
  55. .content{
  56. padding: 1rpx;
  57. box-sizing: border-box;
  58. }
  59. .conItem{
  60. margin: 40rpx 30rpx;
  61. }
  62. .conItem .conItemTop{
  63. display: flex;
  64. flex-direction: row;
  65. background-color: #FFF;
  66. border-radius: 16rpx;
  67. width: 690rpx;
  68. height: 154rpx;
  69. position: relative;
  70. }
  71. .explain{
  72. margin: 0 auto;
  73. margin-top: 10rpx;
  74. background-color: #FFF;
  75. border-radius: 16rpx;
  76. width: 690rpx;
  77. padding: 20rpx;
  78. font-size: 20rpx;
  79. box-sizing:border-box
  80. }
  81. .explain view{
  82. margin-bottom: 10rpx;
  83. }
  84. .leftLine{
  85. background-color: #FA7D22;
  86. border-radius: 16rpx 0rpx 0rpx 16rpx;
  87. width: 10rpx;
  88. height: 154rpx;
  89. display: flex;
  90. flex-direction: column;
  91. }
  92. .leftLineDe{
  93. background: #999999;
  94. }
  95. .right{
  96. width: 100%;
  97. padding: 24rpx 24rpx 0rpx 44rpx;
  98. }
  99. .titleFrequency{
  100. display: flex;
  101. justify-content: space-between;
  102. height: 32rpx;
  103. line-height: 32rpx;
  104. margin-bottom: 30rpx;
  105. }
  106. .title {
  107. width: 512rpx;
  108. height: 32rpx;
  109. color: rgba(51,51,51,1);
  110. font-size: 32rpx;
  111. font-family: SourceHanSansCN-Regular;
  112. text-align: left;
  113. line-height: 32rpx;
  114. }
  115. .frequency{
  116. margin-right: 24rpx;
  117. }
  118. .beOverdue{
  119. display: flex;
  120. align-items: center;
  121. }
  122. .usedTimes{
  123. color: #FF3007;
  124. font-size: 36rpx;
  125. font-family: SourceHanSansCN-Regular;
  126. text-align: left;
  127. white-space: nowrap;
  128. }
  129. .totalFrequency{
  130. color: #666666;
  131. font-size: 28rpx;
  132. font-family: SourceHanSansCN-Regular;
  133. text-align: center;
  134. white-space: nowrap;
  135. margin-top: 8rpx;
  136. }
  137. .beOverdueToUse{
  138. display: flex;
  139. justify-content: space-between;
  140. }
  141. .beOverdueItem{
  142. color: #999999;
  143. font-size: 24rpx;
  144. font-family: SourceHanSansCN-Regular;
  145. text-align: left;
  146. white-space: nowrap;
  147. }
  148. .tips{
  149. color: #FF3007;
  150. font-size: 32rpx;
  151. font-family: SourceHanSansCN-Regular;
  152. text-align: left;
  153. white-space: nowrap;
  154. margin: 0rpx 8rpx;
  155. }
  156. .toUse{
  157. background-color: #FA7D22;
  158. border-radius: 25rpx;
  159. position: relative;
  160. z-index: 70;
  161. height: 50rpx;
  162. display: flex;
  163. justify-content: center;
  164. align-items: center;
  165. width: 104rpx;
  166. color: rgba(255,255,255,1);
  167. font-size: 24rpx;
  168. font-family: PingFangSC-Medium;
  169. text-align: left;
  170. white-space: nowrap;
  171. }
  172. .cardBg{
  173. z-index: 69;
  174. position: absolute;
  175. left: 470rpx;
  176. top: -86rpx;
  177. }
  178. .cardBg image{
  179. width: 180rpx;
  180. height: 144rpx;
  181. object-fit: contain;
  182. }
  183. .used{
  184. color: #999;
  185. }
  186. .usedBg{
  187. background-color: #999;
  188. }
  189. .loading{
  190. position: relative;
  191. bottom: 5rpx;
  192. padding: 10rpx;
  193. text-align: center;
  194. }
  195. .hide{
  196. display: none;
  197. }
  198. .hideRight{
  199. justify-content: flex-end;
  200. }
  201. .finish{
  202. background-color: #E5E5E5 !important;
  203. }
  204. /* 优惠券页面 */
  205. .couponList:last-child{
  206. padding-bottom: 80rpx;
  207. }
  208. .coupon-item {
  209. width: 690rpx;
  210. height: 220rpx;
  211. background: url('https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220822/%E7%BC%96%E7%BB%84%206%402x.png');
  212. background-size: cover;
  213. margin: 0 auto;
  214. margin-top: 20rpx;
  215. display: flex;
  216. }
  217. .coupon-left {
  218. width: 180rpx;
  219. height: 100%;
  220. position: relative;
  221. }
  222. .coupon-type {
  223. font-size: 12px;
  224. font-weight: 500;
  225. height: 36rpx;
  226. line-height: 36rpx;
  227. width: 92rpx;
  228. text-align: center;
  229. color: white;
  230. }
  231. .coupon-price {
  232. height: 182rpx;
  233. line-height: 170rpx;
  234. width: 100%;
  235. font-size: 44rpx;
  236. color: #FF3007;
  237. font-weight: 500;
  238. text-align: center;
  239. }
  240. .coupon-price text {
  241. color: #FF3007;
  242. }
  243. .coupon-right {
  244. flex: 1;
  245. width: 400rpx;
  246. height: 100%;
  247. padding-left: 30rpx;
  248. }
  249. .coupon-right-top {
  250. width: 100%;
  251. height: 140rpx;
  252. display: flex;
  253. flex-direction: column;
  254. justify-content: space-around;
  255. }
  256. .coupon-title {
  257. font-size: 32rpx;
  258. font-weight: 600;
  259. white-space: nowrap;
  260. overflow: hidden;
  261. text-overflow: ellipsis;
  262. width: 400rpx;
  263. color: #333;
  264. }
  265. .coupon-condition {
  266. font-size: 24rpx;
  267. color: #666666;
  268. white-space: nowrap;
  269. overflow: hidden;
  270. text-overflow: ellipsis;
  271. }
  272. .coupon-right-bottom {
  273. width: 100%;
  274. height: 80rpx;
  275. display: flex;
  276. align-items: center;
  277. }
  278. .coupon-time {
  279. font-size: 24rpx;
  280. color: #666666;
  281. width: 360rpx;
  282. white-space: nowrap;
  283. overflow: hidden;
  284. text-overflow: ellipsis;
  285. display: flex;
  286. align-items: center;
  287. }
  288. .coupon-time text {
  289. font-size: 24rpx;
  290. color: #666666;
  291. width: 360rpx;
  292. white-space: nowrap;
  293. overflow: hidden;
  294. text-overflow: ellipsis;
  295. }
  296. .finaTime {
  297. font-size: 24rpx;
  298. color: #FF3007;
  299. white-space: nowrap;
  300. overflow: hidden;
  301. text-overflow: ellipsis;
  302. font-size: 30rpx;
  303. }
  304. .coupon-redio {
  305. width: 104rpx;
  306. height: 50rpx;
  307. background-color: #fb7e1f;
  308. border-radius: 40rpx;
  309. text-align: center;
  310. line-height: 50rpx;
  311. color: white;
  312. font-size: 24rpx;
  313. }
  314. /* 使用过的优惠券 */
  315. .used .coupon-price {
  316. color: #979797;
  317. }
  318. .used .coupon-price text {
  319. color: #979797;
  320. }
  321. .used .coupon-title {
  322. color: #979797;
  323. }
  324. .used .coupon-condition {
  325. color: #979797;
  326. }
  327. .used .coupon-time {
  328. color: #979797;
  329. }
  330. .used .coupon-redio {
  331. background-color: #979797;
  332. }
  333. .used .bgc {
  334. background-color: #979797;
  335. width: 99rpx;
  336. height: 38rpx;
  337. border-radius: 12px 0px 12px 0px;
  338. }
  339. .explainIcon{
  340. z-index: 999;
  341. }
  342. .explainIcon image{
  343. width: 54rpx;
  344. height: 44rpx;
  345. margin-left: 20rpx;
  346. margin-top: 8rpx;
  347. }