chooseListBar.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. .container {
  12. padding-bottom: 134rpx;
  13. background-color: #f8f6f6;
  14. /* 空白页 */
  15. }
  16. .container .empty {
  17. position: fixed;
  18. left: 0;
  19. top: 0;
  20. width: 100%;
  21. height: 100vh;
  22. padding-bottom: 100rpx;
  23. display: flex;
  24. justify-content: center;
  25. flex-direction: column;
  26. align-items: center;
  27. background: #fff;
  28. }
  29. .container .empty .emptyImg {
  30. width: 300rpx;
  31. height: 250rpx;
  32. margin-bottom: 30rpx;
  33. }
  34. .container .empty .empty-tips {
  35. display: flex;
  36. font-size: 26rpx;
  37. color: #c0c4cc;
  38. }
  39. .container .empty .empty-tips .navigator {
  40. color: #5dbc7c;
  41. margin-left: 16rpx;
  42. }
  43. .box {
  44. max-height: 700rpx;
  45. position: relative;
  46. background: #ffffff;
  47. border-radius: 20rpx 20rpx 0rpx 0rpx;
  48. }
  49. .box .top {
  50. height: 90rpx;
  51. width: 100%;
  52. display: flex;
  53. justify-content: space-between;
  54. align-items: center;
  55. padding: 0 30rpx 0 36rpx;
  56. }
  57. .box .top .top-left {
  58. display: flex;
  59. justify-content: flex-start;
  60. align-items: center;
  61. }
  62. .box .top .top-left .quan {
  63. width: 24rpx;
  64. height: 24rpx;
  65. border: 1px solid #ee2f72;
  66. border-radius: 50%;
  67. position: relative;
  68. flex-shrink: 0;
  69. }
  70. .box .top .top-left .quan .qzq {
  71. position: absolute;
  72. top: 50%;
  73. left: 50%;
  74. margin: -8rpx 0 0 -8rpx;
  75. width: 12rpx;
  76. height: 12rpx;
  77. background: #ee2f72;
  78. border-radius: 50%;
  79. }
  80. .box .top .top-left .top-font {
  81. margin-left: 10rpx;
  82. font-size: 28rpx;
  83. font-family: PingFang SC;
  84. font-weight: 500;
  85. color: #333333;
  86. }
  87. .box .top .top-right {
  88. font-size: 28rpx;
  89. font-family: PingFang SC;
  90. font-weight: 500;
  91. color: #999999;
  92. display: flex;
  93. align-items: center;
  94. }
  95. .box .top .top-right image {
  96. width: 28rpx;
  97. height: 28rpx;
  98. }
  99. .box .top .top-right .right-clear {
  100. margin-left: 6rpx;
  101. }
  102. .box .scoroll {
  103. max-height: 600rpx;
  104. }
  105. .db {
  106. width: 750rpx;
  107. height: 150rpx;
  108. }
  109. /* 购物车列表项 */
  110. .cart-item {
  111. position: relative;
  112. display: flex;
  113. padding: 18rpx 29rpx 60rpx 30rpx;
  114. border-top: 1px solid #eeeeee;
  115. }
  116. .cart-item .image-wrapper {
  117. width: 160rpx;
  118. height: 160rpx;
  119. flex-shrink: 0;
  120. position: relative;
  121. }
  122. .cart-item .image-wrapper image {
  123. border-radius: 2rpx;
  124. }
  125. .cart-item .checkbox {
  126. position: absolute;
  127. left: -16rpx;
  128. top: -16rpx;
  129. z-index: 8;
  130. font-size: 44rpx;
  131. line-height: 1;
  132. padding: 4rpx;
  133. color: #c0c4cc;
  134. background: #fff;
  135. border-radius: 50px;
  136. }
  137. .cart-item .item-right {
  138. display: flex;
  139. flex-direction: column;
  140. flex: 1;
  141. overflow: hidden;
  142. position: relative;
  143. padding-left: 30rpx;
  144. }
  145. .cart-item .item-right .title,
  146. .cart-item .item-right .price {
  147. font-size: 30rpx;
  148. color: #ee2f72;
  149. height: 40rpx;
  150. line-height: 40rpx;
  151. }
  152. .cart-item .item-right .attr {
  153. font-size: 26rpx;
  154. color: #909399;
  155. height: 50rpx;
  156. line-height: 50rpx;
  157. }
  158. .cart-item .item-right .price {
  159. height: 50rpx;
  160. line-height: 50rpx;
  161. }
  162. .cart-item .item-right .step {
  163. margin-top: 20rpx;
  164. }
  165. .cart-item .item-num {
  166. position: absolute;
  167. bottom: 60rpx;
  168. right: 30rpx;
  169. }
  170. .cart-item .item-num .munbox {
  171. width: 144rpx;
  172. height: 44rpx;
  173. }
  174. .cart-item .item-num .munbox input {
  175. display: inline-block;
  176. text-align: center;
  177. }
  178. .cart-item .item-num .munbox image {
  179. flex-shrink: 0;
  180. width: 44rpx;
  181. height: 44rpx;
  182. }
  183. /* 底部栏 */
  184. .action-section {
  185. position: fixed;
  186. bottom: 0;
  187. z-index: 1000;
  188. display: flex;
  189. align-items: center;
  190. width: 100%;
  191. height: 100rpx;
  192. background: #ffffff;
  193. }
  194. .action-section .total-box {
  195. width: 490rpx;
  196. height: 100rpx;
  197. background: #fff6e1;
  198. padding-left: 50rpx;
  199. display: flex;
  200. align-items: center;
  201. }
  202. .action-section .total-box .bg {
  203. position: relative;
  204. width: 56rpx;
  205. height: 58rpx;
  206. }
  207. .action-section .total-box .bg image {
  208. width: 100%;
  209. height: 100%;
  210. }
  211. .action-section .total-box .bg .num {
  212. position: absolute;
  213. top: -10rpx;
  214. right: -10rpx;
  215. min-width: 30rpx;
  216. padding: 0 5rpx;
  217. display: inline-block;
  218. height: 30rpx;
  219. background: #ff7144;
  220. border-radius: 50%;
  221. font-size: 24rpx;
  222. font-family: PingFang SC;
  223. font-weight: bold;
  224. color: #ffffff;
  225. text-align: center;
  226. line-height: 30rpx;
  227. }
  228. .action-section .total-box .total-price {
  229. font-size: 24rpx;
  230. font-family: PingFang SC;
  231. font-weight: bold;
  232. color: #ee2f72;
  233. margin-left: 30rpx;
  234. }
  235. .action-section .total-box .total-price text {
  236. font-size: 32rpx;
  237. }
  238. .action-section .confirm-btn {
  239. border-radius: 0;
  240. width: 260rpx;
  241. height: 100rpx;
  242. background: #ee2f72;
  243. text-align: center;
  244. line-height: 100rpx;
  245. font-size: 38rpx;
  246. font-family: PingFang SC;
  247. font-weight: 500;
  248. color: #ffffff;
  249. }
  250. /* 复选框选中状态 */
  251. .action-section .checkbox.checked,
  252. .cart-item .checkbox.checked {
  253. color: #ee2f72;
  254. }