index.rpx.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. .page{
  2. background: #F7F7F7;
  3. padding: 0 32rpx;
  4. border-top: 1px solid #F7F7F7;
  5. }
  6. /* ===== 卡片堆叠动画 ===== */
  7. .card-list {
  8. padding-top: 24rpx;
  9. padding-bottom: 60rpx;
  10. }
  11. .card-item {
  12. width: 686rpx;
  13. background: #FFFFFF;
  14. border-radius: 20rpx;
  15. overflow: hidden;
  16. box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.08);
  17. position: relative;
  18. margin-bottom: 24rpx;
  19. }
  20. /* 展开状态 */
  21. .card-expanded {
  22. box-shadow: 0 8rpx 32rpx rgba(0,0,0,0.12);
  23. }
  24. /* 收起状态 */
  25. .card-collapsed .card-header {
  26. padding: 16rpx 24rpx;
  27. min-height: unset;
  28. }
  29. /* 卡片头部 */
  30. .card-header {
  31. padding: 20rpx 24rpx;
  32. min-height: 140rpx;
  33. }
  34. /* 卡片内容区 */
  35. .card-body {
  36. max-height: 0;
  37. opacity: 0;
  38. overflow: hidden;
  39. transition: max-height 0.35s ease, opacity 0.3s ease;
  40. }
  41. .card-expanded .card-body {
  42. max-height: 1200rpx;
  43. opacity: 1;
  44. transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
  45. }
  46. .card-body-inner {
  47. padding: 0 24rpx 24rpx 24rpx;
  48. }
  49. /* 展开/收起箭头 */
  50. .arrow-icon {
  51. text-align: center;
  52. margin-top: 8rpx;
  53. transition: transform 0.3s ease;
  54. }
  55. .arrow-up {
  56. transform: rotate(180deg);
  57. }
  58. /* 收起时显示的信息 */
  59. .collapsed-info {
  60. display: flex;
  61. flex-direction: row;
  62. margin-top: 8rpx;
  63. }
  64. /* 详情信息 */
  65. .detail-info {
  66. padding-top: 16rpx;
  67. border-top: 1rpx solid #F2F2F2;
  68. }
  69. /* 使用规则 */
  70. .rule-toggle {
  71. display: flex;
  72. align-items: center;
  73. justify-content: space-between;
  74. padding: 20rpx 0;
  75. border-top: 1rpx solid #F2F2F2;
  76. font-size: 24rpx;
  77. color: #666666;
  78. }
  79. /* ===== 原有样式 ===== */
  80. .h-left-content-img{
  81. width: 140rpx;
  82. height: 140rpx;
  83. border-radius: 8rpx;
  84. }
  85. .img-label{
  86. font-size: 20rpx;
  87. color: #999999;
  88. text-align: center;
  89. margin-top: 8rpx;
  90. }
  91. .h-center-content{
  92. width: 340rpx;
  93. min-height: 120rpx;
  94. margin-left: 20rpx;
  95. }
  96. .h-text{
  97. width: 120rpx;
  98. display: flex;
  99. align-items: center;
  100. justify-content: center;
  101. }
  102. .magnifyUrlView{
  103. border-radius: 20rpx;
  104. overflow: hidden;
  105. }
  106. .money{
  107. height: 52rpx;
  108. font-size: 36rpx;
  109. font-family: DINAlternate-Bold, DINAlternate;
  110. font-weight: bold;
  111. color: #333333;
  112. line-height: 52rpx;
  113. text-align: center;
  114. }
  115. .h-value{
  116. font-size: 28rpx;
  117. font-family: PingFangSC-Medium, PingFang SC;
  118. font-weight: bold;
  119. color: #333333;
  120. line-height: 44rpx;
  121. }
  122. .title{
  123. font-size: 20rpx;
  124. font-family: PingFangSC-Regular, PingFang SC;
  125. font-weight: 400;
  126. color: #999999;
  127. line-height: 36rpx;
  128. }
  129. .empty{
  130. margin-top: 80rpx;
  131. width: 300rpx;
  132. }
  133. .emptyText{
  134. font-size: 28rpx;
  135. color: #8f939c;
  136. margin-top: 20rpx;
  137. }
  138. .remark{
  139. width: 100%;
  140. font-size: 24rpx;
  141. line-height: 40rpx;
  142. background: #FAFAFA;
  143. border-radius: 12rpx;
  144. padding: 20rpx;
  145. text-indent: unset;
  146. color: #999999;
  147. margin-top: 12rpx;
  148. box-sizing: border-box;
  149. }
  150. .remarkText{
  151. color: #CCCCCC;
  152. }
  153. .actionBar{
  154. padding: 16rpx 0;
  155. border-top: 1rpx solid #F2F2F2;
  156. }
  157. .actionBtn{
  158. min-width: 128rpx;
  159. height: 56rpx;
  160. line-height: 56rpx;
  161. text-align: center;
  162. border-radius: 28rpx;
  163. font-size: 24rpx;
  164. font-weight: bold;
  165. padding: 0 24rpx;
  166. margin-left: 16rpx;
  167. }
  168. .renewBtn{
  169. background: #FFE05C;
  170. color: #333333;
  171. }
  172. .upgradeBtn{
  173. background: #FF6B35;
  174. color: #FFFFFF;
  175. }
  176. .upgradePopupView{
  177. width: 600rpx;
  178. background: #FFFFFF;
  179. border-radius: 20rpx;
  180. padding: 32rpx;
  181. box-sizing: border-box;
  182. }
  183. .upgradeTitle{
  184. font-size: 32rpx;
  185. font-weight: bold;
  186. color: #333333;
  187. text-align: center;
  188. margin-bottom: 24rpx;
  189. }
  190. .upgradeScroll{
  191. max-height: 600rpx;
  192. }
  193. .upgradeItem{
  194. padding: 24rpx;
  195. background: #F7F7F7;
  196. border-radius: 16rpx;
  197. margin-bottom: 16rpx;
  198. }
  199. .upgradeItemTitle{
  200. font-size: 28rpx;
  201. font-weight: bold;
  202. color: #333333;
  203. line-height: 40rpx;
  204. }
  205. .upgradeItemPrice{
  206. font-size: 24rpx;
  207. color: #666666;
  208. margin-top: 8rpx;
  209. }
  210. .upgradePrice{
  211. color: #FF4444;
  212. font-weight: bold;
  213. }
  214. .upgradeCloseBtn{
  215. height: 80rpx;
  216. line-height: 80rpx;
  217. text-align: center;
  218. background: #FFE05C;
  219. border-radius: 40rpx;
  220. font-size: 28rpx;
  221. color: #333333;
  222. margin-top: 16rpx;
  223. }