cardBag.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. .scroll{
  51. height: calc(100vh - 220rpx);
  52. }
  53. .content{
  54. padding: 1rpx;
  55. box-sizing: border-box;
  56. }
  57. .conItem{
  58. background-color: #FFF;
  59. border-radius: 16rpx;
  60. width: 690rpx;
  61. height: 154rpx;
  62. flex-direction: row;
  63. display: flex;
  64. margin: 40rpx 30rpx;
  65. position: relative;
  66. }
  67. .leftLine{
  68. background-color: #FA7D22;
  69. border-radius: 16rpx 0rpx 0rpx 16rpx;
  70. width: 10rpx;
  71. height: 154rpx;
  72. display: flex;
  73. flex-direction: column;
  74. }
  75. .leftLineDe{
  76. background: #999999;
  77. }
  78. .right{
  79. width: 100%;
  80. padding: 24rpx 24rpx 0rpx 44rpx;
  81. }
  82. .titleFrequency{
  83. display: flex;
  84. justify-content: space-between;
  85. height: 32rpx;
  86. line-height: 32rpx;
  87. margin-bottom: 30rpx;
  88. }
  89. .title {
  90. width: 512rpx;
  91. height: 32rpx;
  92. color: rgba(51,51,51,1);
  93. font-size: 32rpx;
  94. font-family: SourceHanSansCN-Regular;
  95. text-align: left;
  96. line-height: 32rpx;
  97. }
  98. .frequency{
  99. margin-right: 24rpx;
  100. }
  101. .beOverdue{
  102. display: flex;
  103. align-items: center;
  104. }
  105. .usedTimes{
  106. color: #FF3007;
  107. font-size: 36rpx;
  108. font-family: SourceHanSansCN-Regular;
  109. text-align: left;
  110. white-space: nowrap;
  111. }
  112. .totalFrequency{
  113. color: #666666;
  114. font-size: 28rpx;
  115. font-family: SourceHanSansCN-Regular;
  116. text-align: center;
  117. white-space: nowrap;
  118. margin-top: 8rpx;
  119. }
  120. .beOverdueToUse{
  121. display: flex;
  122. justify-content: space-between;
  123. }
  124. .beOverdueItem{
  125. color: #999999;
  126. font-size: 24rpx;
  127. font-family: SourceHanSansCN-Regular;
  128. text-align: left;
  129. white-space: nowrap;
  130. }
  131. .tips{
  132. color: #FF3007;
  133. font-size: 32rpx;
  134. font-family: SourceHanSansCN-Regular;
  135. text-align: left;
  136. white-space: nowrap;
  137. margin: 0rpx 8rpx;
  138. }
  139. .toUse{
  140. background-color: #FA7D22;
  141. border-radius: 25rpx;
  142. position: relative;
  143. z-index: 70;
  144. height: 50rpx;
  145. display: flex;
  146. justify-content: center;
  147. align-items: center;
  148. width: 104rpx;
  149. color: rgba(255,255,255,1);
  150. font-size: 24rpx;
  151. font-family: PingFangSC-Medium;
  152. text-align: left;
  153. white-space: nowrap;
  154. }
  155. .cardBg{
  156. z-index: 69;
  157. position: absolute;
  158. left: 470rpx;
  159. top: -86rpx;
  160. }
  161. .cardBg image{
  162. width: 180rpx;
  163. height: 144rpx;
  164. object-fit: contain;
  165. }
  166. .used{
  167. color: #999;
  168. }
  169. .usedBg{
  170. background-color: #999;
  171. }
  172. .loading{
  173. position: relative;
  174. bottom: 5rpx;
  175. padding: 10rpx;
  176. text-align: center;
  177. }
  178. .hide{
  179. display: none;
  180. }
  181. .hideRight{
  182. justify-content: flex-end;
  183. }