cartList.wxss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. /* pages/cartList/cartList.wxss */
  2. @import "./cartList.skeleton.wxss";
  3. page {
  4. background-color: #F8F8F8;
  5. }
  6. .checkbox {
  7. font-size: 30rpx;
  8. }
  9. .goodsInfo {
  10. display: flex;
  11. flex-flow: row;
  12. flex-wrap: nowrap;
  13. align-items: center;
  14. justify-content: space-between;
  15. background: #FFFFFF;
  16. /* padding: 50rpx 24rpx; */
  17. padding-left: 0;
  18. }
  19. .goodsInfo image {
  20. width: 180rpx;
  21. height: 180rpx;
  22. }
  23. .goods {
  24. flex: 1;
  25. min-height: 180rpx;
  26. padding-left: 24rpx;
  27. display: flex;
  28. flex-flow: column;
  29. justify-content: space-between;
  30. }
  31. .goods .name {
  32. font-weight: 500;
  33. font-size: 24rpx;
  34. color: #202020;
  35. }
  36. .goods .brief {
  37. flex: 1;
  38. margin: 10rpx 0;
  39. font-weight: 400;
  40. font-size: 20rpx;
  41. color: #424242;
  42. }
  43. .priceTool {
  44. display: flex;
  45. flex-wrap: nowrap;
  46. flex-flow: row;
  47. align-items: center;
  48. justify-content: space-between;
  49. }
  50. .priceTool>view:first-child {
  51. font-weight: bold;
  52. font-size: 32rpx;
  53. color: #202020;
  54. line-height: 1.2;
  55. }
  56. .number {
  57. flex: 1;
  58. display: flex;
  59. align-items: center;
  60. justify-content: flex-end;
  61. }
  62. .number .icon-Less1 {
  63. flex: 0 0 38rpx;
  64. display: flex;
  65. align-items: center;
  66. justify-content: center;
  67. width: 38rpx;
  68. height: 38rpx;
  69. /* width: 38rpx;
  70. height: 38rpx;
  71. border-radius: 50%;
  72. border: 1px solid #373737;
  73. text-align: center; */
  74. font-size: 38rpx;
  75. line-height: 38rpx;
  76. margin-right: 10rpx;
  77. }
  78. .number input {
  79. display: block;
  80. flex: 0 0 60rpx;
  81. width: 60rpx;
  82. height: 38rpx;
  83. margin: 0;
  84. background: #F8F8F8;
  85. font-size: 25rpx;
  86. padding: 0 10rpx;
  87. box-sizing: border-box;
  88. text-align: center;
  89. line-height: 38rpx;
  90. font-size: 20rpx;
  91. color: #000000;
  92. }
  93. .number .icon-More {
  94. flex: 0 0 38rpx;
  95. display: flex;
  96. align-items: center;
  97. justify-content: center;
  98. width: 38rpx;
  99. height: 38rpx;
  100. /* width: 38rpx; */
  101. /* height: 38rpx;
  102. border-radius: 50%; */
  103. /* border: 1px solid #373737; */
  104. /* text-align: center; */
  105. line-height: 38rpx;
  106. font-size: 38rpx;
  107. line-height: 38rpx;
  108. margin-left: 10rpx;
  109. }
  110. .switch-icon {
  111. font-size: 30rpx;
  112. color: #00BC8A;
  113. line-height: 180rpx;
  114. padding: 0 24rpx;
  115. }
  116. .toolBar {
  117. position: fixed;
  118. left: 0;
  119. bottom: 0;
  120. background: #FFFFFF;
  121. width: 100%;
  122. height: 128rpx;
  123. z-index: 999;
  124. padding: 24rpx;
  125. box-sizing: border-box;
  126. display: flex;
  127. align-items: center;
  128. justify-content: space-between;
  129. }
  130. .toolBar .switch-icon {
  131. line-height: 88rpx;
  132. font-size: 24rpx;
  133. color: #000000;
  134. }
  135. .toolBar .switch-icon::before {
  136. color: #00BC8A;
  137. margin-right: 10rpx;
  138. line-height: 88rpx;
  139. font-size: 30rpx;
  140. }
  141. .priceInfo {
  142. flex: 1;
  143. text-align: right;
  144. font-size: 24rpx;
  145. color: #000000;
  146. line-height: 88rpx;
  147. padding: 0 28rpx;
  148. }
  149. .priceInfo view {
  150. display: inline-block;
  151. font-weight: bold;
  152. font-size: 28rpx;
  153. color: #D1222C;
  154. }
  155. .nextBtn {
  156. width: 200rpx;
  157. height: 88rpx;
  158. font-weight: 500;
  159. font-size: 36rpx;
  160. text-align: center;
  161. line-height: 88rpx;
  162. color: #FFFFFF;
  163. background: #00BC8A;
  164. border-radius: 16rpx;
  165. }
  166. .topToolBar {
  167. position: sticky;
  168. top: 0;
  169. background: #FFFFFF;
  170. width: 100%;
  171. height: 60rpx;
  172. z-index: 999;
  173. padding: 24rpx;
  174. box-sizing: border-box;
  175. display: flex;
  176. align-items: center;
  177. justify-content: space-between;
  178. border-bottom: 1rpx solid #EEEEEE;
  179. }
  180. .topToolBar {
  181. padding-left: 0;
  182. }
  183. .topToolBar .priceInfo {
  184. flex: 1;
  185. text-align: right;
  186. font-size: 24rpx;
  187. color: #000000;
  188. line-height: 60rpx;
  189. padding: 0 28rpx;
  190. }
  191. .toolBar .switch-icon,
  192. .topToolBar .switch-icon {
  193. line-height: 60rpx;
  194. font-size: 24rpx;
  195. color: #b6b6b6;
  196. }
  197. .toolBar .switch-icon,
  198. .topToolBar .switch-icon::before {
  199. color: #b6b6b6;
  200. margin-right: 10rpx;
  201. line-height: 60rpx;
  202. font-size: 30rpx;
  203. }
  204. .topToolBar .icon-shanchu::before {
  205. color: #b6b6b6;
  206. line-height: 60rpx;
  207. font-size: 36rpx;
  208. }
  209. .toolBar .active,
  210. .topToolBar .active {
  211. color: #000000;
  212. }
  213. .topToolBar .switch-icon.active::before {
  214. color: #00BC8A;
  215. }
  216. .topToolBar .icon-shanchu.active::before {
  217. color: #000000;
  218. }
  219. .goodsInfo {
  220. display: flex;
  221. justify-content: space-between;
  222. width: 100%;
  223. overflow: hidden;
  224. /* background: rgba(255, 255, 255, 1); */
  225. opacity: 1;
  226. box-sizing: border-box;
  227. display: flex;
  228. flex-flow: row;
  229. flex-wrap: nowrap;
  230. align-items: center;
  231. justify-content: space-between;
  232. background: #FFFFFF;
  233. padding-left: 0;
  234. }
  235. .content {
  236. width: 100%;
  237. margin-right: 0;
  238. display: flex;
  239. flex-flow: row;
  240. flex-wrap: nowrap;
  241. align-items: center;
  242. justify-content: space-between;
  243. padding: 50rpx 24rpx;
  244. padding-left: 0;
  245. box-sizing: border-box;
  246. /* -webkit-transition: all 0.4s;
  247. transition: all 0.4s; */
  248. /* -webkit-transform: translateX(120px); */
  249. /* transform: translateX(120px); */
  250. /* margin-left: -120px; */
  251. }
  252. .del {
  253. width: 0;
  254. display: flex;
  255. flex-flow: column;
  256. align-items: center;
  257. justify-content: space-between;
  258. color: #fff;
  259. -webkit-transition: all 0.4s;
  260. transition: all 0.4s;
  261. font-size: 28rpx;
  262. -webkit-transform: translateX(180px);
  263. transform: translateX(180px);
  264. height: 220rpx;
  265. }
  266. .del .delete {
  267. background: red;
  268. display: flex;
  269. align-items: center;
  270. justify-content: center;
  271. width: 100rpx;
  272. height: 100%;
  273. border-top-right-radius: 15rpx;
  274. border-bottom-right-radius: 15rpx;
  275. }
  276. .del .untying {
  277. background: orange;
  278. display: flex;
  279. align-items: center;
  280. justify-content: center;
  281. width: 100rpx;
  282. height: 100%;
  283. }
  284. .touch-move-active .content,
  285. .touch-move-active .del {
  286. -webkit-transform: translateX(0);
  287. transform: translateX(0);
  288. }
  289. .touch-move-active .del {
  290. width: 100rpx;
  291. }
  292. .qty-editor {
  293. position: static;
  294. }