微信小店联盟带货小程序

withdraw.wxss 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. .container {
  2. min-height: 100vh;
  3. background: #f8f8f8;
  4. padding-bottom: calc(env(safe-area-inset-bottom) + 40rpx);
  5. }
  6. /* 余额展示区域 */
  7. .balance-section {
  8. background: linear-gradient(135deg, #ff4d4f, #ff7875);
  9. padding: 60rpx 40rpx;
  10. text-align: center;
  11. color: #fff;
  12. }
  13. .balance-title {
  14. font-size: 28rpx;
  15. opacity: 0.9;
  16. line-height: 1.5;
  17. }
  18. .balance-amount {
  19. font-size: 72rpx;
  20. font-weight: 600;
  21. margin-top: 20rpx;
  22. line-height: 1.2;
  23. }
  24. /* 提现金额输入区域 */
  25. .withdraw-section {
  26. margin: 20rpx;
  27. padding: 30rpx;
  28. background: #fff;
  29. border-radius: 16rpx;
  30. }
  31. .section-title {
  32. font-size: 28rpx;
  33. color: #333;
  34. margin-bottom: 24rpx;
  35. font-weight: 500;
  36. line-height: 1.5;
  37. }
  38. .amount-input-wrap {
  39. display: flex;
  40. align-items: center;
  41. padding: 20rpx 0;
  42. border-bottom: 2rpx solid #f0f0f0;
  43. }
  44. .currency-symbol {
  45. font-size: 40rpx;
  46. color: #333;
  47. font-weight: 500;
  48. margin-right: 20rpx;
  49. line-height: 1;
  50. display: flex;
  51. align-items: center;
  52. }
  53. .amount-input {
  54. flex: 1;
  55. font-size: 40rpx;
  56. color: #333;
  57. height: 60rpx;
  58. line-height: 60rpx;
  59. padding: 0;
  60. }
  61. .all-withdraw {
  62. font-size: 26rpx;
  63. color: #ff4d4f;
  64. padding: 10rpx 0 10rpx 20rpx;
  65. }
  66. /* 提现方式选择区域 */
  67. .method-section {
  68. margin: 20rpx;
  69. padding: 30rpx;
  70. background: #fff;
  71. border-radius: 16rpx;
  72. }
  73. .method-list {
  74. background: #f8f8f8;
  75. border-radius: 12rpx;
  76. overflow: hidden;
  77. }
  78. .method-item {
  79. display: flex;
  80. align-items: center;
  81. padding: 30rpx;
  82. background: #fff;
  83. margin-bottom: 2rpx;
  84. position: relative;
  85. }
  86. .method-item.selected {
  87. background: rgba(255, 77, 79, 0.05);
  88. }
  89. .method-icon {
  90. width: 48rpx;
  91. height: 48rpx;
  92. margin-right: 20rpx;
  93. flex-shrink: 0;
  94. }
  95. .method-name {
  96. flex: 1;
  97. font-size: 28rpx;
  98. color: #333;
  99. line-height: 1.5;
  100. }
  101. .method-check {
  102. width: 40rpx;
  103. height: 40rpx;
  104. display: flex;
  105. align-items: center;
  106. justify-content: center;
  107. }
  108. /* 账户信息区域 */
  109. .account-section {
  110. margin: 20rpx;
  111. padding: 30rpx;
  112. background: #fff;
  113. border-radius: 16rpx;
  114. }
  115. .account-info {
  116. display: flex;
  117. align-items: center;
  118. justify-content: space-between;
  119. margin-top: 20rpx;
  120. padding: 20rpx 0;
  121. border-bottom: 2rpx solid #f0f0f0;
  122. font-size: 28rpx;
  123. color: #333;
  124. line-height: 1.5;
  125. }
  126. .icon-right {
  127. font-size: 32rpx;
  128. color: #999;
  129. margin-left: 10rpx;
  130. }
  131. /* 提现按钮 */
  132. .withdraw-btn {
  133. position: fixed;
  134. left: 40rpx;
  135. right: 40rpx;
  136. bottom: calc(40rpx + env(safe-area-inset-bottom));
  137. height: 88rpx;
  138. background: #ff4d4f;
  139. color: #fff;
  140. font-size: 32rpx;
  141. border-radius: 44rpx;
  142. font-weight: 500;
  143. border: none;
  144. padding: 0;
  145. display: flex;
  146. align-items: center;
  147. justify-content: center;
  148. }
  149. .withdraw-btn[disabled] {
  150. background: #ffa39e;
  151. opacity: 0.6;
  152. }
  153. /* 输入框placeholder样式 */
  154. .amount-input::placeholder {
  155. color: #999;
  156. font-size: 32rpx;
  157. }
  158. /* 深色模式 */
  159. @media (prefers-color-scheme: dark) {
  160. .container {
  161. background: #1f1f1f;
  162. }
  163. .withdraw-section,
  164. .method-section,
  165. .account-section {
  166. background: #2a2a2a;
  167. }
  168. .section-title,
  169. .currency-symbol,
  170. .amount-input,
  171. .method-name,
  172. .account-info {
  173. color: #fff;
  174. }
  175. .amount-input-wrap,
  176. .account-info {
  177. border-bottom-color: #333;
  178. }
  179. .method-item {
  180. background: #2a2a2a;
  181. }
  182. .method-item.selected {
  183. background: rgba(255, 77, 79, 0.15);
  184. }
  185. .amount-input::placeholder {
  186. color: #666;
  187. }
  188. }