cardBag.wxss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  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. background-color: #FFF;
  61. border-radius: 16rpx;
  62. width: 690rpx;
  63. height: 154rpx;
  64. flex-direction: row;
  65. display: flex;
  66. margin: 40rpx 30rpx;
  67. position: relative;
  68. }
  69. .leftLine{
  70. background-color: #FA7D22;
  71. border-radius: 16rpx 0rpx 0rpx 16rpx;
  72. width: 10rpx;
  73. height: 154rpx;
  74. display: flex;
  75. flex-direction: column;
  76. }
  77. .leftLineDe{
  78. background: #999999;
  79. }
  80. .right{
  81. width: 100%;
  82. padding: 24rpx 24rpx 0rpx 44rpx;
  83. }
  84. .titleFrequency{
  85. display: flex;
  86. justify-content: space-between;
  87. height: 32rpx;
  88. line-height: 32rpx;
  89. margin-bottom: 30rpx;
  90. }
  91. .title {
  92. width: 512rpx;
  93. height: 32rpx;
  94. color: rgba(51,51,51,1);
  95. font-size: 32rpx;
  96. font-family: SourceHanSansCN-Regular;
  97. text-align: left;
  98. line-height: 32rpx;
  99. }
  100. .frequency{
  101. margin-right: 24rpx;
  102. }
  103. .beOverdue{
  104. display: flex;
  105. align-items: center;
  106. }
  107. .usedTimes{
  108. color: #FF3007;
  109. font-size: 36rpx;
  110. font-family: SourceHanSansCN-Regular;
  111. text-align: left;
  112. white-space: nowrap;
  113. }
  114. .totalFrequency{
  115. color: #666666;
  116. font-size: 28rpx;
  117. font-family: SourceHanSansCN-Regular;
  118. text-align: center;
  119. white-space: nowrap;
  120. margin-top: 8rpx;
  121. }
  122. .beOverdueToUse{
  123. display: flex;
  124. justify-content: space-between;
  125. }
  126. .beOverdueItem{
  127. color: #999999;
  128. font-size: 24rpx;
  129. font-family: SourceHanSansCN-Regular;
  130. text-align: left;
  131. white-space: nowrap;
  132. }
  133. .tips{
  134. color: #FF3007;
  135. font-size: 32rpx;
  136. font-family: SourceHanSansCN-Regular;
  137. text-align: left;
  138. white-space: nowrap;
  139. margin: 0rpx 8rpx;
  140. }
  141. .toUse{
  142. background-color: #FA7D22;
  143. border-radius: 25rpx;
  144. position: relative;
  145. z-index: 70;
  146. height: 50rpx;
  147. display: flex;
  148. justify-content: center;
  149. align-items: center;
  150. width: 104rpx;
  151. color: rgba(255,255,255,1);
  152. font-size: 24rpx;
  153. font-family: PingFangSC-Medium;
  154. text-align: left;
  155. white-space: nowrap;
  156. }
  157. .cardBg{
  158. z-index: 69;
  159. position: absolute;
  160. left: 470rpx;
  161. top: -86rpx;
  162. }
  163. .cardBg image{
  164. width: 180rpx;
  165. height: 144rpx;
  166. object-fit: contain;
  167. }
  168. .used{
  169. color: #999;
  170. }
  171. .usedBg{
  172. background-color: #999;
  173. }
  174. .loading{
  175. position: relative;
  176. bottom: 5rpx;
  177. padding: 10rpx;
  178. text-align: center;
  179. }
  180. .hide{
  181. display: none;
  182. }
  183. .hideRight{
  184. justify-content: flex-end;
  185. }
  186. .finish{
  187. background-color: #E5E5E5 !important;
  188. }
  189. /* 优惠券页面 */
  190. .couponList:last-child{
  191. padding-bottom: 80rpx;
  192. }
  193. .coupon-item {
  194. width: 690rpx;
  195. height: 220rpx;
  196. background: url('https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220822/%E7%BC%96%E7%BB%84%206%402x.png');
  197. background-size: cover;
  198. margin: 0 auto;
  199. margin-top: 20rpx;
  200. display: flex;
  201. }
  202. .coupon-left {
  203. width: 180rpx;
  204. height: 100%;
  205. position: relative;
  206. }
  207. .coupon-type {
  208. font-size: 12px;
  209. font-weight: 500;
  210. height: 36rpx;
  211. line-height: 36rpx;
  212. width: 92rpx;
  213. text-align: center;
  214. color: white;
  215. }
  216. .coupon-price {
  217. height: 182rpx;
  218. line-height: 170rpx;
  219. width: 100%;
  220. font-size: 44rpx;
  221. color: #FF3007;
  222. font-weight: 500;
  223. text-align: center;
  224. }
  225. .coupon-price text {
  226. color: #FF3007;
  227. }
  228. .coupon-right {
  229. flex: 1;
  230. height: 100%;
  231. padding-left: 30rpx;
  232. }
  233. .coupon-right-top {
  234. width: 100%;
  235. height: 140rpx;
  236. display: flex;
  237. flex-direction: column;
  238. justify-content: space-around;
  239. }
  240. .coupon-title {
  241. font-size: 32rpx;
  242. font-weight: 600;
  243. white-space: nowrap;
  244. overflow: hidden;
  245. text-overflow: ellipsis;
  246. width: 400rpx;
  247. color: #333;
  248. }
  249. .coupon-condition {
  250. font-size: 24rpx;
  251. color: #666666;
  252. white-space: nowrap;
  253. overflow: hidden;
  254. text-overflow: ellipsis;
  255. }
  256. .coupon-right-bottom {
  257. width: 100%;
  258. height: 80rpx;
  259. display: flex;
  260. align-items: center;
  261. }
  262. .coupon-time {
  263. font-size: 24rpx;
  264. color: #666666;
  265. width: 360rpx;
  266. white-space: nowrap;
  267. overflow: hidden;
  268. text-overflow: ellipsis;
  269. display: flex;
  270. align-items: center;
  271. }
  272. .coupon-time text {
  273. font-size: 24rpx;
  274. color: #666666;
  275. width: 360rpx;
  276. white-space: nowrap;
  277. overflow: hidden;
  278. text-overflow: ellipsis;
  279. }
  280. .finaTime {
  281. font-size: 24rpx;
  282. color: #FF3007;
  283. white-space: nowrap;
  284. overflow: hidden;
  285. text-overflow: ellipsis;
  286. font-size: 30rpx;
  287. }
  288. .coupon-redio {
  289. width: 104rpx;
  290. height: 50rpx;
  291. background-color: #fb7e1f;
  292. border-radius: 40rpx;
  293. text-align: center;
  294. line-height: 50rpx;
  295. color: white;
  296. font-size: 24rpx;
  297. }
  298. /* 使用过的优惠券 */
  299. .used .coupon-price {
  300. color: #979797;
  301. }
  302. .used .coupon-price text {
  303. color: #979797;
  304. }
  305. .used .coupon-title {
  306. color: #979797;
  307. }
  308. .used .coupon-condition {
  309. color: #979797;
  310. }
  311. .used .coupon-time {
  312. color: #979797;
  313. }
  314. .used .coupon-redio {
  315. background-color: #979797;
  316. }
  317. .used .bgc {
  318. background-color: #979797;
  319. width: 99rpx;
  320. height: 38rpx;
  321. border-radius: 12px 0px 12px 0px;
  322. }