shoppingCart.scss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. .container {
  2. box-sizing: inherit;
  3. }
  4. /* 底部购物车 *************************************************************/
  5. .footer-block {
  6. width: 90vw;
  7. height: 30px;
  8. position: fixed;
  9. left:20px;
  10. bottom: 150rpx;
  11. bottom: calc(150rpx + constant(safe-area-inset-bottom));
  12. bottom: calc(150rpx + env(safe-area-inset-bottom));
  13. z-index: 199;
  14. overflow: inherit;
  15. border-radius: 10px;
  16. }
  17. .footer-block-act {
  18. width: 100vw;
  19. height: 100rpx;
  20. // height: calc(100rpx + constant(safe-area-inset-bottom));
  21. // height: calc(100rpx + env(safe-area-inset-bottom));
  22. position: fixed;
  23. left: 0;
  24. // bottom: 0;
  25. bottom: 0rpx;
  26. bottom: constant(safe-area-inset-bottom);
  27. bottom: env(safe-area-inset-bottom);
  28. z-index: 199;
  29. overflow: inherit;
  30. }
  31. .content-gice {
  32. height:100%;
  33. background-color: #fff5ea;
  34. box-sizing: inherit;
  35. }
  36. .content-gice cover-view {
  37. background: none;
  38. }
  39. .car-block {
  40. width: 100rpx;
  41. height: 100rpx;
  42. padding-left: 30rpx;
  43. padding-right: 20rpx;
  44. flex: none;
  45. position: relative;
  46. background: none;
  47. font-size: 12px;
  48. }
  49. .car-block .icon-2 {
  50. flex: none;
  51. width: 20px;
  52. height: 20px;
  53. display: block;
  54. }
  55. .car-block .car-num {
  56. height: 15px;
  57. min-width: 15px;
  58. background-color: #ff6565;
  59. border-radius: 50%;
  60. font-size: 12px;
  61. font-weight: 500;
  62. color: #fff;
  63. line-height: 40rpx;
  64. position: absolute;
  65. right: 10rpx;
  66. top: 25rpx;
  67. display:flex;
  68. justify-content: center;
  69. align-items: center;
  70. }
  71. .money-block {
  72. padding: 0 20rpx;
  73. color: #333;
  74. font-weight: 500;
  75. align-items: baseline;
  76. background: none;
  77. font-size:12px;
  78. }
  79. .money-block .sign {
  80. font-size: 9px;
  81. }
  82. .money-block .money {
  83. font-size: 14px;
  84. }
  85. .no-goods {
  86. color: #333;
  87. font-weight: 500;
  88. font-size: 12px;
  89. padding: 0 20rpx;
  90. background: none;
  91. }
  92. .sub-btn {
  93. // flex: none;
  94. width: 250rpx;
  95. height: 100rpx;
  96. margin-left: auto;
  97. text-align: center;
  98. // line-height: 100rpx;
  99. border-left: 1rpx solid #fff;
  100. font-size:14px;
  101. font-weight: 500;
  102. color: #fff;
  103. background: #a4907e;
  104. z-index: 999;
  105. }
  106. .sub-btn-font {
  107. font-size: 26rpx;
  108. width: 100%;
  109. height: 100%;
  110. }
  111. .sub-btn-settlement {
  112. font-size: 30rpx;
  113. width: 100%;
  114. height: 100%;
  115. }
  116. .footer-mask {
  117. width: 100vw;
  118. height: 100vh;
  119. background: rgba(0, 0, 0, 0.7);
  120. position: fixed;
  121. left: 0;
  122. top: 0;
  123. z-index: 110;
  124. }
  125. .container .car-goods-block1 {
  126. bottom: calc(150rpx + constant(safe-area-inset-bottom));
  127. bottom: calc(150rpx + env(safe-area-inset-bottom));
  128. }
  129. .car-goods-block {
  130. width: 100vw;
  131. max-height: 500rpx;
  132. background: #fff;
  133. position: fixed;
  134. left: 0;
  135. bottom: 120px;
  136. bottom: calc(120px + constant(safe-area-inset-bottom));
  137. bottom: calc(120px + env(safe-area-inset-bottom));
  138. z-index: 110;
  139. box-sizing: border-box;
  140. }
  141. .car-goods-block .top {
  142. box-sizing: border-box;
  143. height: 80rpx;
  144. border-bottom: 1rpx solid #efefef;
  145. padding: 0 30rpx;
  146. }
  147. .car-goods-block .top .title {
  148. font-size: 32rpx;
  149. font-weight: bold;
  150. }
  151. .car-goods-block .top .clear-btn {
  152. font-size: 26rpx;
  153. color: #bbb;
  154. }
  155. .car-goods-block .top .icon-3 {
  156. display: block;
  157. width: 40rpx;
  158. height: 40rpx;
  159. }
  160. .car-goods-block .car-goods-list {
  161. max-height: 420rpx;
  162. box-sizing: border-box;
  163. }
  164. .car-goods-block .car-goods-list .list {
  165. padding: 0 30rpx;
  166. }
  167. .car-goods-block .car-goods-list .item {
  168. padding: 20rpx 0;
  169. border-bottom: 1rpx solid #efefef;
  170. }
  171. .car-goods-block .car-goods-list .item .img {
  172. display: block;
  173. flex: none;
  174. width: 140rpx;
  175. height: 140rpx;
  176. border-radius: 15rpx;
  177. }
  178. .car-goods-block .car-goods-list .item .goods-info {
  179. padding: 0 20rpx;
  180. flex: auto;
  181. }
  182. .car-goods-block .car-goods-list .item .goods-info .name {
  183. font-size: 32rpx;
  184. color: #555;
  185. word-break: break-all;
  186. }
  187. .car-goods-block .car-goods-list .item .goods-info .unit {
  188. font-size: 26rpx;
  189. color: #666;
  190. margin: 10rpx 0;
  191. word-break: break-all;
  192. }
  193. .car-goods-block .car-goods-list .item .goods-info .price {
  194. font-size: 30rpx;
  195. font-weight: 500;
  196. color: #ff6565;
  197. }
  198. .car-goods-block .car-goods-list .item .goods-num-block {
  199. flex: none;
  200. margin-top: auto;
  201. margin-bottom: 15rpx;
  202. }
  203. .car-goods-block .car-goods-list .item .goods-num-block .num-btn {
  204. flex: none;
  205. width: 42rpx;
  206. height: 42rpx;
  207. // border: 1rpx solid $theme-color;
  208. border-radius: 50%;
  209. position: relative;
  210. font-size: 42rpx;
  211. }
  212. // .car-goods-block .car-goods-list .item .goods-num-block .num-btn::before {
  213. // display: block;
  214. // content: "";
  215. // width: 28rpx;
  216. // height: 6rpx;
  217. // border-radius: 3rpx;
  218. // background-color: $theme-color;
  219. // position: absolute;
  220. // left: 50%;
  221. // top: 50%;
  222. // margin: -3rpx 0 0 -14rpx;
  223. // }
  224. // .car-goods-block .car-goods-list .item .goods-num-block .num-btn-2 {
  225. // background: $theme-color;
  226. // }
  227. // .car-goods-block .car-goods-list .item .goods-num-block .num-btn-2::before,
  228. // .car-goods-block .car-goods-list .item .goods-num-block .num-btn-2::after {
  229. // display: block;
  230. // content: "";
  231. // width: 28rpx;
  232. // height: 6rpx;
  233. // border-radius: 3rpx;
  234. // background-color: #fff;
  235. // position: absolute;
  236. // left: 50%;
  237. // top: 50%;
  238. // margin: -3rpx 0 0 -14rpx;
  239. // }
  240. .car-goods-block .car-goods-list .item .goods-num-block .num-btn-2::after {
  241. transform: rotate(90deg);
  242. }
  243. .car-goods-block .car-goods-list .item .goods-num-block .num {
  244. flex: none;
  245. min-width: 60rpx;
  246. text-align: center;
  247. font-size: 26rpx;
  248. font-weight: 500;
  249. color: #555;
  250. }
  251. .content-gice-is_business {
  252. background-color: #ccc;
  253. color: #fff;
  254. text-align: center;
  255. width: 100%;
  256. height: 100%;
  257. }
  258. .many_rebate {
  259. color: red;
  260. text-align: right;
  261. }
  262. .textDecoration {
  263. text-decoration: line-through;
  264. color: #999999;
  265. font-size: 20rpx;
  266. }
  267. .radio {
  268. font-size: 28rpx;
  269. padding: 15rpx 0 10rpx 0;
  270. }
  271. .radio__inner {
  272. -webkit-flex-shrink: 0;
  273. flex-shrink: 0;
  274. display: -webkit-box;
  275. display: -webkit-flex;
  276. display: flex;
  277. -webkit-box-pack: center;
  278. -webkit-justify-content: center;
  279. justify-content: center;
  280. -webkit-box-align: center;
  281. -webkit-align-items: center;
  282. align-items: center;
  283. position: relative;
  284. border: 1px solid #DCDFE6;
  285. border-radius: 2px;
  286. box-sizing: border-box;
  287. width: 16px;
  288. height: 16px;
  289. border-radius: 16px;
  290. background-color: #fff;
  291. z-index: 1;
  292. -webkit-transition: border-color .3s;
  293. transition: border-color .3s;
  294. margin-right: 6rpx;
  295. }
  296. .radio__inner-icon {
  297. width: 8px;
  298. height: 8px;
  299. border-radius: 10px;
  300. opacity: 0;
  301. -webkit-transition: -webkit-transform .3s;
  302. transition: -webkit-transform .3s;
  303. transition: transform .3s;
  304. transition: transform .3s, -webkit-transform .3s;
  305. }
  306. .is-default-checked {
  307. opacity: 1;
  308. -webkit-transform: rotate(45deg) scaleY(1);
  309. transform: rotate(45deg) scaleY(1);
  310. }
  311. .checklist-text {
  312. font-size: 28rpx;
  313. margin-left: 5px;
  314. -webkit-transition: color 0.2s;
  315. transition: color 0.2s;
  316. color: #000;
  317. }
  318. .act_border {
  319. border: 1rpx solid #007aff;
  320. }
  321. .radio_tip {
  322. font-size: 24rpx;
  323. color: #999;
  324. margin-left: 4rpx;
  325. }