goods.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. .module-item-goods {
  2. margin-top: 10px;
  3. }
  4. .scroll-true {
  5. white-space: nowrap;
  6. overflow-x: auto;
  7. }
  8. .scroll-true .item {
  9. display: inline-block;
  10. width: 30%;
  11. margin-right: 10px;
  12. }
  13. .el-scrollbar__wrap {
  14. overflow-y: hidden;
  15. }
  16. .pic_img {
  17. width: 106px;
  18. height: 106px;
  19. }
  20. .item-goods-style1 {
  21. position: relative;
  22. padding: 20rpx 0;
  23. }
  24. .module-item-goods {
  25. margin-top: 10px;
  26. position: relative;
  27. }
  28. .module-item-goods .mg0 {
  29. margin-top: 0;
  30. }
  31. .module-item-goods .item-goods-con {
  32. position: relative;
  33. overflow: hidden;
  34. }
  35. .module-item-goods .noadd {
  36. height: 200px;
  37. display: flex;
  38. align-items: center;
  39. justify-content: center;
  40. width: 100%;
  41. }
  42. .module-item-goods .item-goods-style1 {
  43. position: relative;
  44. z-index: 1;
  45. display: flex;
  46. flex-wrap: wrap;
  47. justify-content: space-between;
  48. padding: 10px;
  49. padding-top: 0;
  50. overflow: hidden;
  51. }
  52. .module-item-goods .item-goods-style1.style2 .item {
  53. width: calc(100%/2 - 5px);
  54. background: #FFFFFF;
  55. }
  56. .module-item-goods .item-goods-style1.style2 .item .yh {
  57. font-size: 10px;
  58. }
  59. .module-item-goods .item-goods-style1.style2 .item .price span b {
  60. font-size: 12px;
  61. }
  62. .module-item-goods .item-goods-style1.style2 .item .price span i {
  63. font-size: 10px;
  64. }
  65. .module-item-goods .item-goods-style1 .item {
  66. width: 100%;
  67. margin-top: 12px;
  68. border-radius: 3px;
  69. position: relative;
  70. overflow: hidden;
  71. }
  72. .module-item-goods .item-goods-style1 .item .pic {
  73. overflow: hidden;
  74. position: relative;
  75. height: 150px;
  76. }
  77. .module-item-goods .item-goods-style1 .item .pic image {
  78. object-fit: cover;
  79. display: block;
  80. height: 100%;
  81. width: 100%;
  82. }
  83. .module-item-goods .item-goods-style1 .item .pic span {
  84. background: red;
  85. color: #fff;
  86. padding: 2px 5px;
  87. border-bottom-right-radius: 5px;
  88. position: absolute;
  89. left: 0;
  90. top: 0;
  91. }
  92. .module-item-goods .item-goods-style1 .item .c {
  93. padding: 0 5px;
  94. }
  95. .module-item-goods .item-goods-style1 .item .tit {
  96. white-space: nowrap;
  97. padding-top: 5px;
  98. font-size: 14px;
  99. overflow: hidden;
  100. text-overflow: ellipsis;
  101. }
  102. .module-item-goods .item-goods-style1 .item .yh {
  103. display: flex;
  104. overflow: hidden;
  105. justify-content: space-between;
  106. align-items: center;
  107. color: #999;
  108. margin-top: 5px;
  109. }
  110. .module-item-goods .item-goods-style1 .item .yh span {
  111. padding: 2px 5px;
  112. background: #F73E44;
  113. color: #fff;
  114. font-size: 12px;
  115. }
  116. .module-item-goods .item-goods-style1 .item .yh label {
  117. flex: 1;
  118. overflow: hidden;
  119. text-align: right;
  120. }
  121. .module-item-goods .item-goods-style1 .item .price {
  122. /* padding-top: 5px; */
  123. color: #666;
  124. display: flex;
  125. /* overflow: hidden; */
  126. justify-content: space-between;
  127. align-items: center;
  128. margin-right: 6rpx;
  129. }
  130. .module-item-goods .item-goods-style1 .item .price span {
  131. flex: 1;
  132. overflow: hidden;
  133. }
  134. .module-item-goods .item-goods-style1 .item .price span b {
  135. font-size: 14px;
  136. color: #F73E44;
  137. }
  138. .module-item-goods .item-goods-style1 .item .price span i {
  139. color: #bfbfbf;
  140. font-style: normal;
  141. padding-left: 5px;
  142. text-decoration: line-through;
  143. }
  144. .module-item-goods .item-goods-style1 .item .price .car-goods {
  145. padding: 5px;
  146. /* background: #F73E44; */
  147. color: #F73E44;
  148. border-radius: 4rpx;
  149. font-size: 36rpx;
  150. }
  151. .module-item-goods .item-goods-style1 .item .ju {
  152. padding-top: 5px;
  153. color: #999;
  154. font-size: 11px;
  155. white-space: nowrap;
  156. overflow: hidden;
  157. text-overflow: ellipsis;
  158. }
  159. .goods-num-block .num {
  160. color: #000000;
  161. padding: 0 6rpx;
  162. }
  163. .spec-btn {
  164. height: 60rpx;
  165. padding: 0 30rpx;
  166. background-color: #ff6565;
  167. border-radius: 30rpx;
  168. color: #fff;
  169. font-size: 26rpx;
  170. line-height: 60rpx;
  171. position: relative;
  172. }
  173. .spec-btn .spec-num {
  174. /* display: inline-block; */
  175. height: 35rpx;
  176. width: 35rpx;
  177. box-sizing: border-box;
  178. border-radius: 120rpx;
  179. background-color: red;
  180. color: #fff;
  181. /* padding: 0 10rpx; */
  182. /* line-height: 40rpx; */
  183. font-size: 22rpx;
  184. position: absolute;
  185. right: -7rpx;
  186. top: -7rpx;
  187. }
  188. /* 弹窗 */
  189. .mask {
  190. width: 100vw;
  191. height: 100vh;
  192. background: rgba(0, 0, 0, 0.8);
  193. position: fixed;
  194. left: 0;
  195. top: 0;
  196. z-index: 999;
  197. }
  198. .pop-block {
  199. width: 660rpx;
  200. background: #fff;
  201. border-radius: 20rpx;
  202. overflow: hidden;
  203. position: relative;
  204. }
  205. .pop-block .title {
  206. font-size: 34rpx;
  207. color: #555;
  208. line-height: 50rpx;
  209. padding-top: 30rpx;
  210. text-align: center;
  211. font-weight: 500;
  212. margin-bottom: 20rpx;
  213. }
  214. .pop-block .content-block {
  215. max-height: 60vh;
  216. }
  217. .content-tel {
  218. padding: 20rpx 40rpx;
  219. }
  220. .content-tel-bor {
  221. border-bottom: 1rpx solid #F1F1F1;
  222. margin-left: 10rpx;
  223. }
  224. .content-tel-bor-input {
  225. font-size: 26rpx;
  226. }
  227. .pop-block .content {
  228. padding: 0 30rpx;
  229. }
  230. //
  231. //公告弹窗
  232. .notice-pop .sub-btn {
  233. height: 80rpx;
  234. line-height: 80rpx;
  235. text-align: center;
  236. font-size: 32rpx;
  237. color: $theme-color;
  238. border-top: 1rpx solid #efefef;
  239. margin-top: 30rpx;
  240. }
  241. .notice-pop .content {
  242. font-size: 30rpx;
  243. line-height: 1.5;
  244. color: #555;
  245. text-align: center;
  246. }
  247. // 规格弹窗
  248. .spec-pop .content .spec-cat-title {
  249. font-size: 32rpx;
  250. font-weight: 500;
  251. }
  252. .spec-pop .content .spec-list {
  253. padding: 10rpx 0 30rpx;
  254. flex-flow: row wrap;
  255. align-content: flex-start;
  256. }
  257. .spec-pop .content .spec-list .spec-item {
  258. font-size: 26rpx;
  259. padding: 10rpx 20rpx;
  260. border: 1rpx solid #eee;
  261. border-radius: 8rpx;
  262. margin-top: 15rpx;
  263. margin-right: 10rpx;
  264. }
  265. .spec-pop .content .spec-list .spec-item.active {
  266. background-color: $theme-color;
  267. border-color: $theme-color;
  268. color: #fff;
  269. }
  270. .spec-close-btn {
  271. display: block;
  272. width: 64rpx;
  273. height: 64rpx;
  274. margin-top: 40rpx;
  275. }
  276. .spec-pop .btm-block {
  277. padding: 20rpx 30rpx;
  278. background-color: #eee;
  279. }
  280. .spec-pop .btm-block .price {
  281. font-size: 40rpx;
  282. font-weight: bold;
  283. color: #ff6565;
  284. }
  285. .spec-pop .btm-block .unit {
  286. font-size: 26rpx;
  287. color: #666;
  288. }
  289. .spec-pop .choose-spec-list {
  290. font-size: 26rpx;
  291. color: #666;
  292. margin-left: 20rpx;
  293. margin-right: 20rpx;
  294. }
  295. .spec-pop .btm-block .add-car-btn {
  296. margin-left: auto;
  297. height: 60rpx;
  298. font-size: 28rpx;
  299. color: #fff;
  300. background-color: $theme-color;
  301. font-weight: bold;
  302. line-height: 60rpx;
  303. text-align: center;
  304. padding: 0 20rpx;
  305. border-radius: 30rpx;
  306. min-width: 200rpx;
  307. }
  308. .spec-pop .btm-block .goods-num-block {
  309. margin-left: auto;
  310. height: 60rpx;
  311. }
  312. .spec-pop .btm-block .goods-num-block .num-btn {
  313. flex: none;
  314. width: 42rpx;
  315. height: 42rpx;
  316. // border: 1rpx solid $theme-color;
  317. border-radius: 50%;
  318. position: relative;
  319. font-size: 42rpx;
  320. }
  321. .spec-pop .btm-block .goods-num-block .num {
  322. flex: none;
  323. min-width: 60rpx;
  324. text-align: center;
  325. font-size: 26rpx;
  326. font-weight: 500;
  327. color: #555;
  328. }
  329. .rebate-border {
  330. border: 1rpx solid #ff6565;
  331. border-radius: 4rpx;
  332. font-size: 20rpx;
  333. display: inline-block;
  334. padding: 2rpx 4rpx;
  335. color: #ff6565;
  336. }
  337. .many_rebate {
  338. color: red;
  339. text-align: right;
  340. }
  341. .textDecoration {
  342. text-decoration: line-through;
  343. color: #999999;
  344. font-size: 20rpx;
  345. }