carInsert.wxss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. /* index.wxss */
  2. page{
  3. background-color: #f9f9f9;
  4. padding-bottom: 120rpx;
  5. }
  6. .container{
  7. position: relative;
  8. /* height: 100vh;
  9. overflow: hidden; */
  10. }
  11. .footer{
  12. position: fixed;
  13. left: 0;
  14. bottom:0;
  15. }
  16. .cart-list{
  17. position: relative;
  18. margin: 0 0 15rpx 0;
  19. background-color: #fff;
  20. }
  21. .cart-box{
  22. padding-bottom: 20rpx;
  23. }
  24. .cart-list-wrap{
  25. transition:left 0.2s ease-in-out;
  26. z-index:5;
  27. position: relative;
  28. padding: 61rpx 22rpx 40rpx 320rpx;
  29. height: 214rpx;
  30. /* padding-top: 36rpx; */
  31. background-color:#fff;
  32. }
  33. .cart-pro-select{
  34. color: #ff8400;
  35. }
  36. .cart_flag_wrap{
  37. width: 70rpx;
  38. height: 214rpx;
  39. position: absolute;
  40. left: 0;
  41. top: 61rpx;
  42. /* left: 30rpx;
  43. top: 126rpx; */
  44. }
  45. .cart-list .cart-pro-select{
  46. width: 40rpx;
  47. height: 40rpx;
  48. margin: 65rpx 0 0 30rpx;
  49. }
  50. .cart-list .cart-thumb{
  51. position: absolute;
  52. top: 56rpx;
  53. left: 103rpx;
  54. width: 180rpx;
  55. height: 180rpx;
  56. overflow: hidden;
  57. }
  58. .cart-thumb image{
  59. display: inline;
  60. width: 100%;
  61. }
  62. .cart-list .cart-pro-name{
  63. width: 380rpx;
  64. height: 72rpx;
  65. font-size: 24rpx;
  66. line-height: 36rpx;
  67. color:#272727;
  68. text-overflow: ellipsis;
  69. overflow: hidden;
  70. display: -webkit-box;
  71. -webkit-line-clamp: 2;
  72. -webkit-box-orient: vertical;
  73. }
  74. .cart-pro-infor{
  75. height: 60rpx;
  76. font-size: 26rpx;
  77. line-height: 30rpx;
  78. color:#93a1a8;
  79. text-overflow: ellipsis;
  80. overflow: hidden;
  81. display: -webkit-box;
  82. -webkit-line-clamp: 2;
  83. -webkit-box-orient: vertical;
  84. }
  85. .cart-pro-price{
  86. font-size: 34rpx;
  87. font-family: Arial;
  88. line-height: 50rpx;
  89. color:#b4a078;
  90. padding-top:10rpx;
  91. }
  92. .cart-pro-price text{
  93. font-size: 44rpx;
  94. font-weight: bold;
  95. padding-left:10rpx;
  96. }
  97. .cart-list .cart-count-box{
  98. position: absolute;
  99. right: 20rpx;
  100. bottom: 74rpx;
  101. font-size: 0px;
  102. /* width: 250rpx;
  103. height: 80rpx; */
  104. }
  105. .cart-count-down,.cart-count-add{
  106. float:left;
  107. width: 50rpx;
  108. height: 36rpx;
  109. border:1px solid #dcdcdc;
  110. }
  111. .cart-count-down{
  112. border-right:0px solid #dcdcdc;
  113. }
  114. .cart-count-add{
  115. border-left:0px solid #dcdcdc;
  116. }
  117. .cart-count-num{
  118. float:left;
  119. height:36rpx;
  120. font-size: 24rpx;
  121. line-height: 36rpx;
  122. color:#2c2c2c;
  123. text-align: center;
  124. padding:0 15rpx;
  125. border-top:1px solid #dcdcdc;
  126. border-bottom:1px solid #dcdcdc;
  127. /* top:-18rpx; */
  128. }
  129. .cart-del{
  130. position: absolute;
  131. right: 20rpx;
  132. bottom: 20rpx;
  133. width: 80rpx;
  134. height: 80rpx;
  135. line-height: 80rpx;
  136. text-align: center;
  137. font-size: 44rpx;
  138. }
  139. .cart-footer{
  140. position: fixed;
  141. bottom: 0;
  142. left: 0;
  143. z-index:20;
  144. width: 100%;
  145. height: 98rpx;
  146. line-height: 98rpx;
  147. box-sizing: border-box;
  148. background: #fff;
  149. color: #44494a;
  150. border-top:1px solid #ccc;
  151. }
  152. .cart-footer-cont{
  153. padding:0 0 0 90rpx;
  154. }
  155. .total-select{
  156. position: absolute;
  157. left: 30rpx;
  158. top: 29rpx;
  159. width: 40rpx;
  160. height: 40rpx;
  161. }
  162. .cart-footer-title{
  163. float: left;
  164. font-size: 24rpx;
  165. line-height: 98rpx;
  166. color:#2c2c2c;
  167. }
  168. .cart-toatl-price{
  169. float: right;
  170. font-size: 26rpx;
  171. padding-right:40rpx;
  172. color: #b4a078;
  173. }
  174. /* .cart-toatl-price text{
  175. font-size: 50rpx;
  176. padding-left:10rpx;
  177. } */
  178. .buy-btn{
  179. float: right;
  180. width: 172rpx;
  181. height: 70rpx;
  182. font-size: 24rpx;
  183. line-height: 70rpx;
  184. color: #fff;
  185. text-align:center;
  186. background-color: #b4a078;
  187. margin:14rpx 16rpx 0 0;
  188. }
  189. .cart-no-data{
  190. color: #999;
  191. text-align: center;
  192. vertical-align:middle;
  193. width:100%;
  194. height:60vh;
  195. font-size:30rpx;
  196. line-height:60vh;
  197. }
  198. .price_title{
  199. font-size: 24rpx;
  200. color: #2c2c2c;
  201. }
  202. .price_yuan{
  203. color: #b4a078;
  204. font-size: 26rpx;
  205. }
  206. .price_money{
  207. font-size: 50rpx;
  208. }
  209. /* 删除 */
  210. .inner{
  211. position: absolute;
  212. top:0;
  213. }
  214. .inner.del{
  215. background-color: #b4a078;
  216. width: 130rpx;
  217. height: 100%;
  218. font-size: 24rpx;
  219. line-height: 296rpx;
  220. text-align: center;
  221. z-index: 4;
  222. right: 0;
  223. color: #fff
  224. }
  225. /* 猜你喜欢 */
  226. .like_wrap{
  227. background-color: #fff;
  228. padding-bottom:100rpx ;
  229. }
  230. .like_title_wrap{
  231. position: relative;
  232. padding: 20rpx 0;
  233. background-color: #fff;
  234. }
  235. .like_line{
  236. width: 208rpx;
  237. height: 2px;
  238. background-color: #ccbfa4;
  239. position: absolute;
  240. top: 50%;
  241. left:50%;
  242. margin: -1px 0 0 -104rpx;
  243. }
  244. .like_title{
  245. display: block;
  246. width: 156rpx;
  247. color: #b29f77;
  248. font-size: 30rpx;
  249. line-height: 30rpx;
  250. text-align: center;
  251. background-color: #fff;
  252. margin: 0 auto;
  253. position: relative;
  254. z-index: 2;
  255. }
  256. .each_goods{
  257. display: block;
  258. float: left;
  259. width: 230rpx;
  260. margin: 0 10rpx;
  261. }
  262. .each_goods_img_wrap{
  263. width: 230rpx;
  264. height: 230rpx;
  265. overflow: hidden;
  266. }
  267. .each_goods_img{
  268. display: block;
  269. width: 230rpx;
  270. height: 230rpx;
  271. margin: 0 auto;
  272. }
  273. .each_goods_name{
  274. height: 64rpx;
  275. font-size: 24rpx;
  276. line-height: 32rpx;
  277. color: #000;
  278. text-overflow: ellipsis;
  279. overflow: hidden;
  280. display: -webkit-box;
  281. -webkit-line-clamp: 2;
  282. -webkit-box-orient: vertical;
  283. }
  284. .each_goods_price{
  285. font-size: 24rpx;
  286. line-height: 38rpx;
  287. color: #b29e79;
  288. padding: 20rpx 0;
  289. }
  290. .each_goods_price text{
  291. font-size: 18rpx;
  292. color: #c8c8c8;
  293. text-decoration: line-through;
  294. margin-left:20rpx;
  295. }
  296. /* 失效宝贝 */
  297. .shixiao_cart_list{
  298. margin:0;
  299. }
  300. .shixiao{
  301. width: 76rpx;
  302. height: 34rpx;
  303. font-size: 22rpx;
  304. line-height: 34rpx;
  305. color: #fff;
  306. text-align: center;
  307. background-color: #A9A9A9;
  308. border-radius: 17rpx;
  309. position: absolute;
  310. left: 10rpx;
  311. top: 123rpx;
  312. }
  313. .shixiao_msg{
  314. font-size: 22rpx;
  315. line-height: 30rpx;
  316. position: absolute;
  317. left: 320rpx;
  318. bottom: 84rpx;
  319. }
  320. .cart-list .shixiao_pro_name{
  321. color: #979797;
  322. }