微信小店联盟带货小程序

list.wxss 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. .container {
  2. background-color: #f5f5f5;
  3. min-height: 100vh;
  4. padding: 20rpx;
  5. }
  6. .bank-list {
  7. background-color: transparent;
  8. padding: 0;
  9. }
  10. .bank-card {
  11. background-color: #ffffff;
  12. border-radius: 10rpx;
  13. padding: 20rpx;
  14. margin-bottom: 20rpx;
  15. box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.06);
  16. border: 1rpx solid #e8e8e8;
  17. }
  18. .card-header {
  19. display: flex;
  20. justify-content: space-between;
  21. align-items: center;
  22. margin-bottom: 20rpx;
  23. border-bottom: 1rpx solid #f0f0f0;
  24. padding-bottom: 15rpx;
  25. }
  26. .bank-info {
  27. display: flex;
  28. align-items: center;
  29. justify-content: space-between;
  30. width: 100%;
  31. }
  32. .bank-name-group {
  33. display: flex;
  34. align-items: center;
  35. }
  36. .bank-name {
  37. font-size: 32rpx;
  38. font-weight: bold;
  39. color: #333;
  40. margin-right: 10rpx;
  41. }
  42. .card-type-tag {
  43. font-size: 24rpx;
  44. color: #fff;
  45. background-color: #1890ff;
  46. padding: 2rpx 8rpx;
  47. border-radius: 4rpx;
  48. }
  49. .default-section {
  50. display: flex;
  51. align-items: center;
  52. }
  53. .default-tip {
  54. font-size: 24rpx;
  55. color: #1890ff;
  56. background-color: #e6f7ff;
  57. padding: 4rpx 10rpx;
  58. border-radius: 20rpx;
  59. margin-right: 10rpx;
  60. }
  61. .default-switch {
  62. position: relative;
  63. width: 50rpx;
  64. height: 28rpx;
  65. background-color: #e0e0e0;
  66. border-radius: 20rpx;
  67. cursor: pointer;
  68. transition: all 0.3s ease;
  69. }
  70. .default-switch.active {
  71. background-color: #ff4d4f;
  72. }
  73. .switch-handle {
  74. position: absolute;
  75. top: 2rpx;
  76. left: 2rpx;
  77. width: 24rpx;
  78. height: 24rpx;
  79. background-color: white;
  80. border-radius: 50%;
  81. box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
  82. transition: all 0.3s ease;
  83. }
  84. .default-switch.active .switch-handle {
  85. transform: translateX(22rpx);
  86. }
  87. .card-number {
  88. font-size: 36rpx;
  89. letter-spacing: 6rpx;
  90. margin-bottom: 20rpx;
  91. text-align: center;
  92. color: #333;
  93. font-family: "Courier New", monospace;
  94. }
  95. .card-actions {
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: center;
  99. border-top: 1rpx solid #f0f0f0;
  100. padding-top: 15rpx;
  101. }
  102. .action-buttons {
  103. display: flex;
  104. }
  105. .edit-btn,
  106. .delete-btn {
  107. font-size: 28rpx;
  108. padding: 8rpx 20rpx;
  109. margin-left: 20rpx;
  110. border-radius: 30rpx;
  111. background-color: #f5f5f5;
  112. color: #666;
  113. transition: all 0.3s ease;
  114. }
  115. .edit-btn:hover,
  116. .delete-btn:hover {
  117. background-color: #e8e8e8;
  118. }
  119. .add-card-btn {
  120. width: 100%;
  121. background-color: #ff4d4f;
  122. color: #fff;
  123. margin-top: 20rpx;
  124. border-radius: 50rpx;
  125. padding: 20rpx;
  126. font-size: 32rpx;
  127. box-shadow: 0 4rpx 12rpx rgba(255, 77, 79, 0.2);
  128. transition: all 0.3s ease;
  129. }
  130. .add-card-btn:hover {
  131. background-color: #ff7875;
  132. box-shadow: 0 6rpx 16rpx rgba(255, 77, 79, 0.3);
  133. }
  134. .default-tag {
  135. background-color: #ff4d4f;
  136. color: #fff;
  137. font-size: 22rpx;
  138. padding: 4rpx 10rpx;
  139. border-radius: 20rpx;
  140. }