cardBag.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. /* pages/cardBag/cardBag.wxss */
  2. page {
  3. background: #F9F9F9;
  4. }
  5. .history{
  6. display: flex;
  7. justify-content: right;
  8. height: 60rpx;
  9. background-color: #fff;
  10. }
  11. .history view {
  12. width: 112rpx;
  13. height: 40rpx;
  14. color: rgba(153,153,153,1);
  15. font-size: 28rpx;
  16. font-family: PingFangSC-Regular;
  17. text-align: center;
  18. white-space: nowrap;
  19. line-height: 40rpx;
  20. margin: 10rpx 0 0 598rpx;
  21. }
  22. .tabs-wrap {
  23. padding: 0 84rpx;
  24. height: 120rpx;
  25. background: #fff;
  26. justify-content: space-between;
  27. }
  28. .tabs-wrap .item {
  29. height: 100%;
  30. font-size: 28rpx;
  31. color: #666666;
  32. position: relative;
  33. font-family: PingFangSC-Regular;
  34. font-weight: 400;
  35. }
  36. .tabs-wrap .item.active {
  37. font-family: PingFangSC-Medium;
  38. font-weight: 500;
  39. color: #333333;
  40. }
  41. .tabs-wrap .item.active::before {
  42. content: '';
  43. position: absolute;
  44. top: 90rpx;
  45. width: 40rpx;
  46. height: 8rpx;
  47. background: linear-gradient(144deg, #FA7D22 0%, #FA4622 100%);
  48. border-radius: 4rpx;
  49. }
  50. .conItem{
  51. background-color: #FFF;
  52. border-radius: 16rpx;
  53. width: 690rpx;
  54. height: 154rpx;
  55. flex-direction: row;
  56. display: flex;
  57. margin: 40rpx 30rpx;
  58. position: relative;
  59. }
  60. .leftLine{
  61. background-color: #FA7D22;
  62. border-radius: 16rpx 0rpx 0rpx 16rpx;
  63. width: 10rpx;
  64. height: 154rpx;
  65. display: flex;
  66. flex-direction: column;
  67. }
  68. .right{
  69. width: 100%;
  70. padding: 24rpx 24rpx 0rpx 44rpx;
  71. }
  72. .titleFrequency{
  73. display: flex;
  74. justify-content: space-between;
  75. height: 32rpx;
  76. line-height: 32rpx;
  77. margin-bottom: 30rpx;
  78. }
  79. .title {
  80. width: 512rpx;
  81. height: 32rpx;
  82. color: rgba(51,51,51,1);
  83. font-size: 32rpx;
  84. font-family: SourceHanSansCN-Regular;
  85. text-align: left;
  86. line-height: 32rpx;
  87. }
  88. .frequency{
  89. margin-right: 24rpx;
  90. }
  91. .beOverdue{
  92. display: flex;
  93. align-items: center;
  94. }
  95. .usedTimes{
  96. color: #FF3007;
  97. font-size: 36rpx;
  98. font-family: SourceHanSansCN-Regular;
  99. text-align: left;
  100. white-space: nowrap;
  101. }
  102. .totalFrequency{
  103. color: #666666;
  104. font-size: 28rpx;
  105. font-family: SourceHanSansCN-Regular;
  106. text-align: center;
  107. white-space: nowrap;
  108. margin-top: 8rpx;
  109. }
  110. .beOverdueToUse{
  111. display: flex;
  112. justify-content: space-between;
  113. }
  114. .beOverdueItem{
  115. color: #999999;
  116. font-size: 24rpx;
  117. font-family: SourceHanSansCN-Regular;
  118. text-align: left;
  119. white-space: nowrap;
  120. }
  121. .tips{
  122. color: #FF3007;
  123. font-size: 32rpx;
  124. font-family: SourceHanSansCN-Regular;
  125. text-align: left;
  126. white-space: nowrap;
  127. margin: 0rpx 8rpx;
  128. }
  129. .toUse{
  130. background-color: #FA7D22;
  131. border-radius: 25rpx;
  132. height: 50rpx;
  133. display: flex;
  134. justify-content: center;
  135. align-items: center;
  136. width: 104rpx;
  137. color: rgba(255,255,255,1);
  138. font-size: 24rpx;
  139. font-family: PingFangSC-Medium;
  140. text-align: left;
  141. white-space: nowrap;
  142. }
  143. .cardBg{
  144. z-index: 69;
  145. position: absolute;
  146. left: 470rpx;
  147. top: -86rpx;
  148. }
  149. .cardBg image{
  150. width: 180rpx;
  151. height: 144rpx;
  152. object-fit: contain;
  153. }
  154. .used{
  155. color: #999;
  156. }
  157. .usedBg{
  158. background-color: #999;
  159. }