微信小店联盟带货小程序

edit.wxss 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .container {
  2. background-color: #f0f2f5;
  3. min-height: 100vh;
  4. padding: 30rpx;
  5. }
  6. .section {
  7. background-color: #ffffff;
  8. border-radius: 16rpx;
  9. padding: 30rpx;
  10. margin-bottom: 30rpx;
  11. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
  12. }
  13. .section-title {
  14. font-size: 36rpx;
  15. font-weight: bold;
  16. color: #333;
  17. margin-bottom: 20rpx;
  18. border-bottom: 2rpx solid #f0f0f0;
  19. padding-bottom: 15rpx;
  20. }
  21. .account-type-grid {
  22. display: flex;
  23. justify-content: space-around;
  24. margin-bottom: 30rpx;
  25. }
  26. .account-type-item {
  27. display: flex;
  28. flex-direction: column;
  29. align-items: center;
  30. padding: 20rpx;
  31. border-radius: 10rpx;
  32. width: 30%;
  33. background-color: #f5f5f5;
  34. transition: all 0.3s ease;
  35. }
  36. .account-type-item.selected {
  37. background-color: #1890ff;
  38. color: white;
  39. }
  40. .account-type-icon {
  41. width: 80rpx;
  42. height: 80rpx;
  43. margin-bottom: 10rpx;
  44. }
  45. .input-group {
  46. background-color: #f9f9f9;
  47. border-radius: 10rpx;
  48. padding: 20rpx;
  49. }
  50. .input-item {
  51. display: flex;
  52. align-items: center;
  53. margin-bottom: 20rpx;
  54. border-bottom: 1rpx solid #f0f0f0;
  55. padding-bottom: 15rpx;
  56. }
  57. .input-item:last-child {
  58. border-bottom: none;
  59. margin-bottom: 0;
  60. }
  61. .label {
  62. width: 100rpx;
  63. font-size: 28rpx;
  64. color: #666;
  65. }
  66. .input {
  67. flex-grow: 1;
  68. text-align: right;
  69. font-size: 32rpx;
  70. color: #333;
  71. }
  72. .bank-select-item {
  73. align-items: center;
  74. }
  75. .bank-select {
  76. display: flex;
  77. justify-content: space-between;
  78. align-items: center;
  79. width: 100%;
  80. padding: 10rpx 0;
  81. border-bottom: 1rpx solid #f0f0f0;
  82. cursor: pointer;
  83. }
  84. .bank-name {
  85. flex-grow: 1;
  86. text-align: right;
  87. font-size: 32rpx;
  88. color: #333;
  89. }
  90. .bank-name::placeholder {
  91. color: #999;
  92. text-align: right;
  93. }
  94. .bank-name:disabled {
  95. background-color: transparent;
  96. }
  97. .select-icon {
  98. margin-left: 10rpx;
  99. color: #999;
  100. }
  101. .input {
  102. flex-grow: 1;
  103. text-align: right;
  104. font-size: 32rpx;
  105. color: #333;
  106. }
  107. .input::placeholder {
  108. color: #999;
  109. text-align: right;
  110. }
  111. .default-setting {
  112. display: flex;
  113. justify-content: space-between;
  114. align-items: center;
  115. }
  116. .default-label {
  117. font-size: 32rpx;
  118. color: #333;
  119. }
  120. .save-btn {
  121. width: 100%;
  122. background-color: #1890ff;
  123. color: #fff;
  124. margin-top: 50rpx;
  125. border-radius: 50rpx;
  126. padding: 20rpx;
  127. font-size: 32rpx;
  128. box-shadow: 0 6rpx 16rpx rgba(24, 144, 255, 0.3);
  129. transition: all 0.3s ease;
  130. }
  131. .save-btn:hover {
  132. background-color: #40a9ff;
  133. box-shadow: 0 8rpx 20rpx rgba(24, 144, 255, 0.4);
  134. }
  135. .bank-list-modal {
  136. position: fixed;
  137. top: 0;
  138. left: 0;
  139. right: 0;
  140. bottom: 0;
  141. background-color: rgba(0, 0, 0, 0.5);
  142. display: none;
  143. z-index: 1000;
  144. opacity: 0;
  145. transition: opacity 0.3s ease;
  146. }
  147. .bank-list-modal.show {
  148. display: flex;
  149. opacity: 1;
  150. }
  151. .bank-list-content {
  152. background-color: #fff;
  153. width: 80%;
  154. max-height: 60%;
  155. margin: auto;
  156. border-radius: 16rpx;
  157. overflow: hidden;
  158. }
  159. .bank-list-title {
  160. text-align: center;
  161. font-size: 36rpx;
  162. font-weight: bold;
  163. padding: 30rpx;
  164. border-bottom: 1rpx solid #f0f0f0;
  165. }
  166. .bank-list-scroll {
  167. max-height: 500rpx;
  168. overflow-y: auto;
  169. }
  170. .bank-list-item {
  171. padding: 20rpx 30rpx;
  172. border-bottom: 1rpx solid #f0f0f0;
  173. text-align: center;
  174. transition: background-color 0.3s ease;
  175. }
  176. .bank-list-item:last-child {
  177. border-bottom: none;
  178. }
  179. .bank-list-item:hover {
  180. background-color: #f5f5f5;
  181. }