index.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. .shops-container {
  2. display: flex;
  3. justify-content: space-between;
  4. align-items: center;
  5. margin: 16rpx;
  6. }
  7. .shops-container .l {
  8. display: flex;
  9. align-items: center;
  10. }
  11. .shops-container .l text {
  12. color: #666;
  13. margin-left: 16rpx;
  14. }
  15. .shops-container .l image {
  16. width: 40rpx;
  17. height: 40rpx;
  18. }
  19. .shops-container .r {
  20. display: flex;
  21. align-items: center;
  22. }
  23. .shops-container .r text {
  24. color: #666;
  25. }
  26. .shops-container .r image {
  27. width: 40rpx;
  28. height: 40rpx;
  29. }
  30. .search {
  31. position: absolute;
  32. top: 32rpx;
  33. left: 25rpx;
  34. width: 700rpx;
  35. height: 66rpx;
  36. display: block;
  37. box-sizing: border-box;
  38. }
  39. .search input {
  40. display: block;
  41. box-sizing: border-box;
  42. background: rgba(255, 255, 255, 0.8);
  43. border: 1rpx solid #e3e3e3;
  44. width: 700rpx;
  45. height: 66rpx;
  46. border-radius: 30rpx;
  47. padding-left: 32rpx;
  48. }
  49. .search image {
  50. width: 35rpx;
  51. height: 35rpx;
  52. position: absolute;
  53. top: 16rpx;
  54. right: 32rpx;
  55. z-index: 99;
  56. }
  57. .goodsDynamic {
  58. position: absolute;
  59. top: 110rpx;
  60. left: 25rpx;
  61. width: 650rpx;
  62. height:66rpx;
  63. line-height:66rpx;
  64. background: rgba(0, 0, 0, 0.6);
  65. color: #fff;
  66. padding: 0 16rpx;
  67. border-radius: 32rpx;
  68. font-size: 24rpx;
  69. }
  70. .goodsDynamic .swiper2 {
  71. width: 100%;
  72. height: 100%;
  73. }
  74. .goodsDynamic-item {
  75. width: 100%;
  76. display: flex;
  77. align-items: center;
  78. }
  79. .goodsDynamic-item image {
  80. width: 32rpx;
  81. height: 32rpx;
  82. border-radius: 50%;
  83. flex-shrink: 0;
  84. }
  85. .goodsDynamic-item text {
  86. margin-left: 8rpx;
  87. text-overflow: ellipsis;
  88. white-space: nowrap;
  89. overflow: hidden;
  90. }
  91. .notice-box {
  92. display: flex;
  93. box-sizing: border-box;
  94. width: 100vw;
  95. height: 88rpx;
  96. line-height: 88rpx;
  97. justify-content: space-between;
  98. align-items: center;
  99. padding-right: 32rpx;
  100. border-bottom: 1rpx solid #efeff4;
  101. }
  102. .notice{
  103. display: flex;
  104. justify-content: space-between;
  105. align-items: center;
  106. width: 600rpx;
  107. }
  108. .notice_icon {
  109. margin-left:20rpx;
  110. width:30rpx;
  111. height:30rpx;
  112. }
  113. .notice_swiper{
  114. height: 88rpx;
  115. width: 600rpx;
  116. }
  117. .notice_itemr {
  118. padding-left: 16rpx;
  119. font-size: 24rpx;
  120. overflow: hidden;
  121. color: #e64340;
  122. }
  123. .notice-box .more {
  124. color: #666;
  125. font-size: 24rpx;
  126. }
  127. .container {
  128. background-color: #fff;
  129. min-height: 100%;
  130. display: block;
  131. }
  132. .category-box {
  133. background-color: #fff;
  134. display: flex;
  135. flex-wrap: wrap;
  136. }
  137. .category-list{
  138. flex:1;
  139. /* width:150rpx; */
  140. margin-top:20rpx;
  141. text-align: center;
  142. display: inline-block;
  143. overflow: hidden;
  144. }
  145. .category-column{
  146. width:100%;
  147. margin-top:20rpx;
  148. overflow: hidden;
  149. }
  150. .category-imgbox{
  151. width:90rpx;
  152. height:90rpx;
  153. }
  154. .category-title{
  155. font-size: 24rpx;
  156. text-align:center;
  157. margin-top:10rpx;
  158. }
  159. .swiper-container{
  160. width: 750rpx;
  161. height: 375rpx;
  162. position: relative;
  163. }
  164. .swiper-container .swiper1 {
  165. width: 750rpx;
  166. height: 375rpx;
  167. }
  168. .swiper-container .swiper1 image {
  169. width: 750rpx;
  170. height: 375rpx;
  171. }
  172. ::-webkit-scrollbar {
  173. width: 0;
  174. height: 0;
  175. color: transparent;
  176. }
  177. .type-item-on{
  178. color:#e64340;
  179. border-bottom: 1rpx solid #e64340;
  180. }
  181. .goods-container{
  182. display: flex;
  183. justify-content: space-between;
  184. flex-wrap:wrap;
  185. box-sizing: content-box;
  186. padding: 24rpx;
  187. background-color: #F2f2f2;
  188. }
  189. .goods-box{
  190. width: 339rpx;
  191. height: 472rpx;
  192. background-color: #fff;
  193. overflow: hidden;
  194. margin-bottom: 24rpx;
  195. border-radius:5px;
  196. }
  197. .goods-box .img-box{
  198. width: 339rpx;
  199. height: 339rpx;
  200. overflow: hidden;
  201. }
  202. .goods-box .img-box image{
  203. width: 339rpx;
  204. height: 339rpx;
  205. }
  206. .goods-box .goods-title{
  207. width: 280rpx;
  208. text-overflow: ellipsis;
  209. white-space: nowrap;
  210. overflow: hidden;
  211. font-size: 24rpx;
  212. padding: 24rpx 0 0rpx 0;
  213. color:#000;
  214. margin-left: 24rpx;
  215. }
  216. .goods-box .goods-price{
  217. width: 280rpx;
  218. overflow: hidden;
  219. font-size: 24rpx;
  220. padding: 24rpx 0;
  221. color:#e64340;
  222. margin-left: 24rpx;
  223. }
  224. .pos-fiexd{
  225. position: fixed;
  226. top: 0;
  227. left: 0;
  228. }
  229. .coupons{
  230. margin-top:10rpx;
  231. width: 100%;
  232. height: 180rpx;
  233. overflow: hidden;
  234. }
  235. .coupons-scroll{
  236. white-space: nowrap;
  237. height: 180rpx;
  238. width: 100%;
  239. background-color: #fff;
  240. }
  241. .coupons-item{
  242. width:300rpx;
  243. height: 180rpx;
  244. margin: 10rpx;
  245. padding-top: 20rpx;
  246. padding-left: 15rpx;
  247. background-color: #f1a83b;
  248. box-sizing: content-box;
  249. font-size: 20rpx;
  250. line-height: 35rpx;
  251. overflow: hidden;
  252. color: #fff;
  253. display: inline-block;
  254. }
  255. .coupons-float {
  256. position: fixed;
  257. right:15rpx;
  258. bottom:80rpx;
  259. /* width:80rpx;
  260. height:80rpx; */
  261. /* background-color: #fff; */
  262. text-align: center;
  263. /* border-radius:50%;
  264. border: 1rpx solid #ddd; */
  265. }
  266. .coupons-float image {
  267. width:110rpx;
  268. height:110rpx;
  269. margin-top: 10rpx;
  270. }
  271. .tuan {
  272. width:750rpx;
  273. background-color: #F2f2f2;
  274. padding-top:10rpx;
  275. }
  276. .tuan-item {
  277. width:720rpx;
  278. margin: auto;
  279. margin-top: 20rpx;
  280. background-color: #FFF;
  281. position: relative;
  282. }
  283. .tuan-goods-pic {
  284. width:720rpx;
  285. height: 250rpx;
  286. overflow: hidden;
  287. }
  288. .tuan-goods-pic image {
  289. width:720rpx;
  290. }
  291. .tuan-title {
  292. margin-top: 20rpx;
  293. margin-left: 20rpx;
  294. font-size:30rpx;
  295. font-weight: 400;
  296. }
  297. .tuan-profile {
  298. margin-left: 20rpx;
  299. font-size:28rpx;
  300. color:#999;
  301. }
  302. .tuan-price {
  303. margin-left: 20rpx;
  304. }
  305. .tuan-price .now {
  306. font-size:36rpx;
  307. color:#e64340;
  308. }
  309. .tuan-price .original {
  310. margin-left: 20rpx;
  311. font-size:26rpx;
  312. color:#999;
  313. text-decoration:line-through;
  314. }
  315. .tuan-btn {
  316. position: absolute;
  317. right:30rpx;
  318. bottom: 10rpx;
  319. }
  320. .category-goods-title {
  321. width: 100vw;
  322. display: flex;
  323. justify-content: space-between;
  324. align-items: center;
  325. margin-bottom: 8rpx;
  326. border-bottom: 1rpx solid #efeff4;
  327. }
  328. .category-goods-title .more {
  329. color: #666;
  330. font-size: 24rpx;
  331. margin-right: 32rpx;
  332. }
  333. .progress {
  334. width: 686rpx;
  335. padding: 0 32rpx;
  336. margin-bottom: 16rpx;
  337. }
  338. /*秒杀*/
  339. .miaosha-container {
  340. padding: 0;
  341. }
  342. .miaosha-goods-list {
  343. margin: 20rpx;
  344. background: #f6f6f6;
  345. border-radius: 16rpx;
  346. display: flex;
  347. padding: 20rpx;
  348. }
  349. .miaosha-goods-list .image {
  350. width: 260rpx;
  351. height: 260rpx;
  352. flex-shrink: 0;
  353. border-radius: 16rpx;
  354. }
  355. .miaosha-goods-list .r {
  356. margin-left: 32rpx;
  357. }
  358. .miaosha-goods-list .r .goods-title {
  359. color: #333;
  360. font-size: 28rpx;
  361. }
  362. .miaosha-goods-list .r .label {
  363. color: #e64340;
  364. font-size: 24rpx;
  365. display: flex;
  366. align-items: flex-start;
  367. margin-top: 8rpx;
  368. }
  369. .miaosha-goods-list .r .label text {
  370. margin-left: 8rpx;
  371. }
  372. .miaosha-goods-list .count-down {
  373. background: #e64340;
  374. padding: 8rpx 16rpx;
  375. border-radius: 16rpx;
  376. margin-top: 12rpx;
  377. }
  378. .van-count-down {
  379. color: #fff !important;
  380. font-size: 26rpx !important;
  381. text-align: center;
  382. }
  383. .miaosha-price-btn {
  384. padding-top: 32rpx;
  385. }
  386. .miaosha-price-btn .price {
  387. color: #e64340;
  388. font-size: 40rpx;
  389. margin-top: 12rpx;
  390. }
  391. .miaosha-price-btn .price text {
  392. color: #666666;
  393. font-size: 26rpx;
  394. text-decoration:line-through;
  395. }