addGood.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. .fixed-top {
  2. position: fixed;
  3. left: 0;
  4. right: 0;
  5. top: 0;
  6. z-index: 100;
  7. }
  8. /* 搜索 S */
  9. .search-bar {
  10. padding: 12rpx 25rpx;
  11. background-color: #fff;
  12. padding-bottom: 20rpx;
  13. }
  14. .search-box {
  15. background-color: #f0f0f0;
  16. height: 56rpx;
  17. line-height: 56rpx;
  18. border-radius: 28rpx;
  19. color: #acacac;
  20. display: flex;
  21. align-content: center;
  22. }
  23. .search-icon {
  24. position: absolute;
  25. left: 20rpx;
  26. margin-left: 25rpx;
  27. margin-right: 12rpx;
  28. }
  29. .search-icon .iconfont {
  30. font-size: 34rpx;
  31. padding-top: 10rpx;
  32. }
  33. .search-box .ipt {
  34. padding: 0 30rpx 0 60rpx;
  35. line-height: 56rpx;
  36. height: 56rpx;
  37. width: 100%;
  38. box-sizing: border-box;
  39. }
  40. /* 搜索 E */
  41. .nav-bar {
  42. width: 100%;
  43. border-bottom: 1px solid#e5e5e5;
  44. }
  45. .nav-bar .nav-bar-inner {
  46. display: flex;
  47. justify-content: center;
  48. padding: 0 40rpx;
  49. background-color: white;
  50. height: 58rpx;
  51. text-align: center;
  52. }
  53. .nav-bar .nav-bar-item {
  54. position: relative;
  55. word-break: keep-all;
  56. font-size: 28rpx;
  57. font-weight: 500;
  58. color: #666;
  59. padding: 20rpx 0;
  60. }
  61. .nav-bar .current.nav-bar-item::after {
  62. content: "";
  63. position: absolute;
  64. bottom: 0;
  65. left: 0;
  66. right: 0;
  67. height: 3px;
  68. background: linear-gradient(90deg, #ff4936 0%, #ff6e3c 100%);
  69. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(255, 89, 0, 0.25);
  70. border-radius: 24rpx;
  71. }
  72. .nav-bar-content {
  73. margin-top: 49px;
  74. padding-bottom: 30rpx;
  75. }
  76. .list {
  77. padding-top: 150rpx;
  78. padding-bottom: 100rpx;
  79. }
  80. .list .item {
  81. position: relative;
  82. padding: 30rpx 0;
  83. margin: 0 30rpx;
  84. }
  85. .list .item::after {
  86. content: "";
  87. position: absolute;
  88. left: 0;
  89. bottom: 0;
  90. right: 0;
  91. border-bottom: 1px solid #e5e5e5;
  92. transform-origin: 0 0;
  93. transform: scaleY(0.5);
  94. }
  95. .list .item:last-child::after {
  96. content: none;
  97. }
  98. /* 底部 */
  99. .bottom-bar {
  100. width: 100%;
  101. height: 104rpx;
  102. display: flex;
  103. justify-content: space-between;
  104. align-items: center;
  105. background: #fff;
  106. position: fixed;
  107. bottom: 0;
  108. left: 0;
  109. z-index: 9;
  110. padding: 0 30rpx;
  111. box-sizing: border-box;
  112. box-shadow: 0px -1px 3px #ccc;
  113. }
  114. .bottom-bar .check-box-content {
  115. width: 140rpx;
  116. }
  117. .bottom-bar .check-box-content .check-box {
  118. margin-right: 20rpx;
  119. }
  120. .bottom-bar .flex {
  121. display: flex;
  122. align-items: center;
  123. justify-content: flex-end;
  124. }
  125. .bottom-bar .total {
  126. margin-right: 20rpx;
  127. text-align: right;
  128. }
  129. .bottom-bar .total span {
  130. color: #f75451;
  131. }
  132. .bottom-bar .btn {
  133. flex: 3;
  134. padding: 0 40rpx;
  135. height: 60rpx;
  136. border-radius: 60rpx;
  137. line-height: 60rpx;
  138. text-align: center;
  139. color: #fff;
  140. font-size: 30rpx;
  141. background: #f75451;
  142. white-space: nowrap;
  143. }
  144. .bottom-bar .btn.gray {
  145. background: #f55b5b;
  146. }
  147. .bottom-bar .btn.btn-disabled {
  148. flex: 1;
  149. padding: 0 40rpx;
  150. background: #e3e3e3;
  151. }
  152. .check-box {
  153. box-sizing: border-box;
  154. width: 50rpx;
  155. height: 50rpx;
  156. display: flex;
  157. justify-content: center;
  158. }
  159. .check-box .checkbox-checked {
  160. width: 48rpx;
  161. height: 48rpx;
  162. }
  163. .check-box .checkbox-disabled {
  164. width: 48rpx;
  165. height: 48rpx;
  166. margin-top: 2rpx;
  167. }
  168. .check-box-content {
  169. height: 100%;
  170. display: flex;
  171. justify-content: center;
  172. align-items: center;
  173. margin-right: 20rpx;
  174. }