index.wxss 9.5 KB
Newer Older
李嘉林 committed
1
@import "/static/font/common_icon.wxss";
李嘉林 committed
2 3 4
.flex{
  display: flex;
}
李嘉林 committed
5
.goods-item-child-bd{
李嘉林 committed
6
  border: 1px solid var(--border_color);
李嘉林 committed
7
}
李嘉林 committed
8 9
image{
  width: 100%;
李嘉林 committed
10
  display: block;
李嘉林 committed
11
}
李嘉林 committed
12
.goodsItem{
李嘉林 committed
13
  /* height: 100%; */
李嘉林 committed
14
  margin-bottom: var(--proGap2);
李嘉林 committed
15
  white-space: initial;
李嘉林 committed
16 17 18 19
}
.goods-item-child {
  position: relative;
  overflow: hidden;
李嘉林 committed
20
  background: #fff;
21
  height: 100%;
李嘉林 committed
22
}
23
.goodsRowList .goods-item-child{
李嘉林 committed
24 25 26
display: flex;
align-items: flex-start;
}
27
.goodsRowList .goods-item-child .imgBox{
李嘉林 committed
28 29 30 31 32 33 34 35 36 37 38
  width: auto;
  width: 180rpx;
  height: 180rpx;
  margin: 20rpx;
  overflow: hidden;
  border-radius: 12rpx;
  -webkit-border-radius: 12rpx;
  -moz-border-radius: 12rpx;
  -ms-border-radius: 12rpx;
  -o-border-radius: 12rpx;
}
39
.goodsRowList .goods-item-child .info{
李嘉林 committed
40 41 42 43 44
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
45 46 47
.goodsHeapItem{
  width: 100%;
}
李嘉林 committed
48

李嘉林 committed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
.merchantsEntrance{
  padding: 8rpx 20rpx;
}
.merchantsEntrance .left{
  align-items: center;
}
.merchantsEntrance .left .logo{
  width: 52rpx;
  height: 52rpx;
  border-radius: 8rpx;
  -webkit-border-radius: 8rpx;
  -moz-border-radius: 8rpx;
  -ms-border-radius: 8rpx;
  -o-border-radius: 8rpx;
  overflow: hidden;
  background: #f5f5f5;
  margin-right: 20rpx;
}
.imgBox{
  position: relative;
  overflow: hidden;
  width: 100%;
李嘉林 committed
71
  margin: 0 auto;
李嘉林 committed
72 73 74 75
}
.goodsPicture{
  width: 100%;
  height: 100%;
李嘉林 committed
76 77 78 79 80 81
  box-sizing: border-box;
}
.contentImg{
  width: 100%;
  height: 0;
  padding-bottom: 100%;
李嘉林 committed
82
  position: relative;
李嘉林 committed
83
  box-sizing: border-box;
李嘉林 committed
84
}
李嘉林 committed
85
.contentImg .productImgUrl{
李嘉林 committed
86 87
  width: 100%;
  height: 100%;
李嘉林 committed
88 89 90 91 92 93
  position: absolute;
  margin: auto;
  top: -9999px;
  left: -9999px;
  bottom: -9999px;
  right: -9999px;
李嘉林 committed
94
}
李嘉林 committed
95 96 97
.maxHeight{
  height: 48vw!important;
}
HouTiZhuo committed
98 99 100 101 102 103
.goodsPicture .secKillBanner {
  position: absolute;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  background: linear-gradient(84.33deg, #FE1F4C 10.5%, #FE3D1C 41.53%, #FE140D 71.52%, #FF673E 97.28%);
HouTiZhuo committed
104 105 106
  
  display: flex;
  align-items: center;
侯体倬 committed
107
  z-index: 1;
HouTiZhuo committed
108 109 110 111 112
}
.secKillBanner .seckill-image {
  width: 52rpx;
  height: 24rpx;
  margin-right: 8rpx;
HouTiZhuo committed
113
}
李嘉林 committed
114 115 116 117 118 119 120
.goodsPicture .saleWay{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
李嘉林 committed
121 122
  z-index: 2;
  color: #fff;
李嘉林 committed
123 124
}
.goodsPicture .saleWay .saleWayBg{
李嘉林 committed
125
  background: var(--main-color);
李嘉林 committed
126 127 128 129 130 131 132
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
}
李嘉林 committed
133 134 135 136 137 138 139 140
.goodsPicture .saleWay .saleTime{
  position: relative;
  z-index: 2;
  padding: 4rpx 0;
}
.goodsPicture .saleWay .saleTime text{
  color: #fff;
}
李嘉林 committed
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
.goodsPicture .angleSign{
  position: absolute;
  top: 0;
  left: 0;
}
.whiteBg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(#fff, 0.7);
}
.whiteBg .cover {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-size: cover;
}
.whiteBg .cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.info{
  padding: 10rpx 20rpx 24rpx;
  position: relative;
  background-color: white;
}
李嘉林 committed
177 178 179 180
.info .info-top{
  overflow: hidden;
  justify-content: space-between;
}
181 182 183 184 185 186 187
.info .itemNo{
  word-break: break-all;
  margin-bottom: 8rpx;
  color: #666;
  line-height: 32rpx;
  font-size: 24rpx;
}
李嘉林 committed
188 189 190 191 192 193 194 195 196
.info .name{
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4em;
  position: relative;
李嘉林 committed
197
  height: 2.8em;
李嘉林 committed
198 199 200 201 202 203 204
}
.info .follower-wrap{
  position: relative;
  font-size: 0.8em;
  color: #999;
  text-align: center;
  height: 70rpx;
李嘉林 committed
205
  border-left: 1px solid #999;
李嘉林 committed
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
}
.info .follower-wrap .follower-num{
  text-align: center;
  font-size: 1em;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.info .follower-wrap .follower-text{
  color: #999;
  font-size: 0.7em;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vipPrice1{
  align-items: flex-end;
  margin-top: 12rpx;
  font-size: 24rpx;
}
.vipPrice1 .vipIcon{
  min-width: 64rpx;
  padding: 2rpx 4rpx;
  height: 28rpx;
  background: #333;
  font-size: 20rpx;
  line-height: 28rpx;
  text-align: center;
  color: #d7c7a1;
  border-top-left-radius: 4rpx;
  border-bottom-left-radius: 12rpx;
}
.vipPrice1 .right{
  height: 28rpx;
  color: #333;
  font-weight: bold;
  background: linear-gradient(    227deg,    rgba(212, 195, 142, 1),    rgba(252, 232, 162, 1)  );
  border-radius: 0rpx 12rpx 12rpx 0rpx;
  font-size: 20rpx;
  text-align: center;
  padding: 0 8rpx 0 4rpx;
  -webkit-border-radius: 0rpx 12rpx 12rpx 0rpx;
  -moz-border-radius: 0rpx 12rpx 12rpx 0rpx;
  -ms-border-radius: 0rpx 12rpx 12rpx 0rpx;
  -o-border-radius: 0rpx 12rpx 12rpx 0rpx;
}
.priceItem {
  align-items: flex-end;
}
李嘉林 committed
258
.priceItem .price{
259
  align-items: flex-end;
李嘉林 committed
260
}
李嘉林 committed
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
.vipPrice2{
  align-items: flex-end;
  margin-top: 12rpx;
  font-size: 24rpx;
}
.vipPrice2 .left{
  color: #333;
  font-weight: bold;
  margin-left: 8rpx;
}
.vipPrice2 .vipIcon{
  margin-left: 8rpx;
  min-width: 64rpx;
  padding: 2rpx 8rpx;
  height: 28rpx;
  background: #333;
  font-size: 20rpx;
  line-height: 28rpx;
  text-align: center;
  color: #d7c7a1;
  border-radius: 12rpx;
  border-top-left-radius: 2rpx;
  -webkit-border-radius: 12rpx;
  -moz-border-radius: 12rpx;
  -ms-border-radius: 12rpx;
  -o-border-radius: 12rpx;
}
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303
.attributeValueList{
  flex-wrap: wrap;
  margin: 8rpx 0;
}
.attributeValueList .item{
  margin: 0 12rpx 12rpx 0;
  padding: 4rpx 12rpx;
  background: #e5e5e5;
  color: #666;
  border-radius: 4rpx;
  font-size: 24rpx;
  -webkit-border-radius: 4rpx;
  -moz-border-radius: 4rpx;
  -ms-border-radius: 4rpx;
  -o-border-radius: 4rpx;
}
李嘉林 committed
304 305 306 307 308
.Sold{
  overflow: hidden;
  color: #999;
}
.Sold text{
李嘉林 committed
309
  font-size: 24rpx;
李嘉林 committed
310
}
李嘉林 committed
311 312 313
.buy-now-icon{
  color: var(--main-color);
}
李嘉林 committed
314 315
.buy-now {
  color: #ffffff;
侯体倬 committed
316
  position: relative;
李嘉林 committed
317 318 319
  right: 0;
  bottom: 0;
  border-radius: 30rpx;
李嘉林 committed
320
  background-color: var(--main-color);
李嘉林 committed
321 322 323 324 325 326 327 328 329 330 331 332 333 334
  width: 140rpx;
  white-space: nowrap;
  padding: 8rpx 20rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-border-radius: 30rpx;
  -moz-border-radius: 30rpx;
  -ms-border-radius: 30rpx;
  -o-border-radius: 30rpx;
}
.buy-now-icon {
  font-size: 36rpx;
}
李嘉林 committed
335
.start{
侯体倬 committed
336
  position: relative;
李嘉林 committed
337
  bottom: 0;
侯体倬 committed
338 339
  right: 0;
  margin-left: auto;
李嘉林 committed
340
}
HouTiZhuo committed
341 342 343 344 345 346 347 348 349 350
.secKillTag {
  display: inline-block;
  color: #fff;
  padding: 2px 6px;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 12px;
  background: linear-gradient(84.33deg, #FE1F4C 10.5%, #FE3D1C 41.53%, #FE140D 71.52%, #FF673E 97.28%);
}
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
.showCommission {
  width: auto;
  display: inline-block;
  margin-top: 8rpx;
  border: 1px solid transparent;
  border-radius: 12rpx;
  font-size: 10px;
  overflow: hidden;
  -webkit-border-radius: 12rpx;
  -moz-border-radius: 12rpx;
  -ms-border-radius: 12rpx;
  -o-border-radius: 12rpx;
}
.showCommission .commission-box {
  box-sizing: border-box;
  padding: 0 10rpx;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
李嘉林 committed
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395
.showCommissionTwo {
  align-items: center;
  justify-content: center;
  margin-top: 16rpx;
  width: 100%;
  height: 52rpx;
  font-size: 24rpx;
  border: 1px solid transparent;
  border-radius: 26px;
  overflow: hidden;
}
.showCommissionTwo  .commission-box {
width: 100%;
height: 100%;
padding-left: 20rpx;
display: flex;
justify-content: center;
align-items: center;
}
.showCommissionTwo i {
font-size: 28rpx;
margin-right: 8rpx;
}
李嘉林 committed
396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
.marketing {
  align-items: center;
  flex-wrap: wrap;
}
.marketing .item {
  margin-top: 8rpx;
  margin-right: 8rpx;
  font-size: 20rpx;
  padding: 0 12rpx;
  border: 2rpx solid #ff5500;
  color: #ff5500;
  border-radius: 40rpx;
  -webkit-border-radius: 40rpx;
  -moz-border-radius: 40rpx;
  -ms-border-radius: 40rpx;
  -o-border-radius: 40rpx;
}
413 414 415 416 417 418 419 420 421 422 423 424 425 426 427
.purchased{
  margin-top: 8rpx;
  margin-right: 8rpx;
  font-size: 20rpx;
  padding: 0 12rpx;
  border: 2rpx solid #ff5500;
  color: #ff5500;
  border-radius: 40rpx;
  width: 88rpx;
  text-align: center;
  -webkit-border-radius: 40rpx;
  -moz-border-radius: 40rpx;
  -ms-border-radius: 40rpx;
  -o-border-radius: 40rpx;
}
李嘉林 committed
428 429
.bottom {
  position: relative;
侯体倬 committed
430
  display: flex;
侯体倬 committed
431
  align-items: center;
李嘉林 committed
432 433 434 435
}
.price {
  font-weight: 600;
  margin-top: 12rpx;
侯体倬 committed
436
  flex-wrap: wrap;
HouTiZhuo committed
437 438 439 440 441 442 443
}
.line-clamp1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
hxx committed
444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
}

.cut-price__wrapper {
  margin: 12rpx 0 6rpx;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
}

.cut-price__wrapper .cut-price__min {
  font-weight: 600;
}

.cut-price__wrapper .cut-price__tag {
  font-size: 24rpx;
  padding: 2rpx 8rpx;
  margin-left: 12rpx;
  border: 2rpx solid;
  border-radius: 8rpx;
  color: #C72A30;
李嘉林 committed
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493
}

.newSecKill{
  display: flex;
  background: #fdecee;
  height: 52rpx;
  border-radius: 52rpx;
  padding: 4rpx;
  gap: 20rpx;
  align-items: center;
  margin-top: 8rpx;
}
.newSecKill .newSecKill__tag{
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(84.33deg, #FE1F4C 10.5%, #FE3D1C 41.53%, #FE140D 71.52%, #FF673E 97.28%);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  height: 22px;
  border-radius: 22px;
  flex-shrink: 0;
}
.newSecKill .newSecKill__status{
  flex-shrink: 0;
  color: #cb383b;
  font-size: 11px;
  font-weight: 500;
}
李嘉林 committed
494 495 496 497 498
.newSecKill .newSecKill__status .newSecKill__status__time{
  display: flex;
  align-items: center;
  gap: 4px;
}
李嘉林 committed
499 500 501 502 503 504 505 506
.newSecKill--3{
  gap: 4rpx;
}
.newSecKill--3 .newSecKill__tag{
  font-size: 20rpx;
}
.newSecKill--3 .newSecKill__status{
  font-size: 20rpx;
李嘉林 committed
507
}