微信小店联盟带货小程序

add.wxss 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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. .bank-grid {
  22. display: grid;
  23. grid-template-columns: repeat(3, 1fr);
  24. gap: 20rpx;
  25. }
  26. .bank-item {
  27. background-color: #f5f5f5;
  28. border-radius: 10rpx;
  29. padding: 15rpx;
  30. text-align: center;
  31. font-size: 28rpx;
  32. color: #666;
  33. transition: all 0.3s ease;
  34. }
  35. .bank-item.selected {
  36. background-color: #1890ff;
  37. color: #fff;
  38. }
  39. .input-group {
  40. background-color: #f9f9f9;
  41. border-radius: 10rpx;
  42. padding: 20rpx;
  43. }
  44. .input-item {
  45. display: flex;
  46. align-items: center;
  47. margin-bottom: 20rpx;
  48. border-bottom: 1rpx solid #f0f0f0;
  49. padding-bottom: 15rpx;
  50. }
  51. .input-item:last-child {
  52. border-bottom: none;
  53. margin-bottom: 0;
  54. }
  55. .label {
  56. width: 100rpx;
  57. font-size: 28rpx;
  58. color: #666;
  59. }
  60. .value,
  61. .input {
  62. flex-grow: 1;
  63. font-size: 32rpx;
  64. color: #333;
  65. }
  66. .input {
  67. text-align: right;
  68. }
  69. .default-setting {
  70. display: flex;
  71. justify-content: space-between;
  72. align-items: center;
  73. }
  74. .default-label {
  75. font-size: 32rpx;
  76. color: #333;
  77. }
  78. .save-btn {
  79. width: 100%;
  80. background-color: #1890ff;
  81. color: #fff;
  82. margin-top: 50rpx;
  83. border-radius: 50rpx;
  84. padding: 20rpx;
  85. font-size: 32rpx;
  86. box-shadow: 0 6rpx 16rpx rgba(24, 144, 255, 0.3);
  87. transition: all 0.3s ease;
  88. }
  89. .save-btn:hover {
  90. background-color: #40a9ff;
  91. box-shadow: 0 8rpx 20rpx rgba(24, 144, 255, 0.4);
  92. }
  93. .account-type-grid {
  94. display: flex;
  95. justify-content: space-around;
  96. margin-bottom: 30rpx;
  97. }
  98. .account-type-item {
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. padding: 20rpx;
  103. border-radius: 10rpx;
  104. width: 30%;
  105. background-color: #f5f5f5;
  106. transition: all 0.3s ease;
  107. }
  108. .account-type-item.selected {
  109. background-color: #1890ff;
  110. color: white;
  111. }
  112. .account-type-icon {
  113. width: 80rpx;
  114. height: 80rpx;
  115. margin-bottom: 10rpx;
  116. }
  117. .bank-select {
  118. display: flex;
  119. justify-content: space-between;
  120. align-items: center;
  121. width: 100%;
  122. padding: 10rpx 0;
  123. border-bottom: 1rpx solid #f0f0f0;
  124. cursor: pointer;
  125. }
  126. .bank-name {
  127. flex-grow: 1;
  128. text-align: right;
  129. font-size: 32rpx;
  130. color: #333;
  131. }
  132. .bank-name::placeholder {
  133. color: #999;
  134. text-align: right;
  135. }
  136. .bank-name:disabled {
  137. background-color: transparent;
  138. }
  139. .select-icon {
  140. margin-left: 10rpx;
  141. color: #999;
  142. }
  143. .input {
  144. flex-grow: 1;
  145. text-align: right;
  146. font-size: 32rpx;
  147. color: #333;
  148. }
  149. .input::placeholder {
  150. color: #999;
  151. text-align: right;
  152. }
  153. .bank-select-item {
  154. align-items: center;
  155. }
  156. .bank-select {
  157. display: flex;
  158. justify-content: space-between;
  159. align-items: center;
  160. width: 100%;
  161. padding: 10rpx 0;
  162. border-bottom: 1rpx solid #f0f0f0;
  163. cursor: pointer;
  164. }
  165. .bank-name {
  166. flex-grow: 1;
  167. text-align: right;
  168. }
  169. .select-icon {
  170. margin-left: 10rpx;
  171. color: #999;
  172. }
  173. .bank-list-modal {
  174. position: fixed;
  175. top: 0;
  176. left: 0;
  177. right: 0;
  178. bottom: 0;
  179. background-color: rgba(0, 0, 0, 0.5);
  180. display: none;
  181. z-index: 1000;
  182. opacity: 0;
  183. transition: opacity 0.3s ease;
  184. }
  185. .bank-list-modal.show {
  186. display: flex;
  187. opacity: 1;
  188. }
  189. .bank-list-content {
  190. background-color: #fff;
  191. width: 80%;
  192. max-height: 60%;
  193. margin: auto;
  194. border-radius: 16rpx;
  195. overflow: hidden;
  196. }
  197. .bank-list-title {
  198. text-align: center;
  199. font-size: 36rpx;
  200. font-weight: bold;
  201. padding: 30rpx;
  202. border-bottom: 1rpx solid #f0f0f0;
  203. }
  204. .bank-list-scroll {
  205. max-height: 500rpx;
  206. overflow-y: auto;
  207. }
  208. .bank-list-item {
  209. padding: 20rpx 30rpx;
  210. border-bottom: 1rpx solid #f0f0f0;
  211. text-align: center;
  212. transition: background-color 0.3s ease;
  213. }
  214. .bank-list-item:last-child {
  215. border-bottom: none;
  216. }
  217. .bank-list-item:hover {
  218. background-color: #f5f5f5;
  219. }