index.wxss 6.43 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 13
.goodsItem{
  margin-bottom: var(--proGap2);
李嘉林 committed
14
  white-space: initial;
李嘉林 committed
15 16 17 18
}
.goods-item-child {
  position: relative;
  overflow: hidden;
李嘉林 committed
19
  background: #fff;
李嘉林 committed
20
}
21
.goodsRowList .goods-item-child{
李嘉林 committed
22 23 24
display: flex;
align-items: flex-start;
}
25
.goodsRowList .goods-item-child .imgBox{
李嘉林 committed
26 27 28 29 30 31 32 33 34 35 36
  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;
}
37
.goodsRowList .goods-item-child .info{
李嘉林 committed
38 39 40 41 42
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
43 44 45
.goodsHeapItem{
  width: 100%;
}
李嘉林 committed
46

李嘉林 committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
.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
69
  margin: 0 auto;
李嘉林 committed
70 71 72 73 74 75
}
.goodsPicture{
  width: 100%;
  height: 100%;
  position: relative;
}
李嘉林 committed
76 77 78 79
.goodsPicture .productImgUrl{
  width: 100%;
  height: 100%;
}
李嘉林 committed
80 81 82 83 84 85 86
.goodsPicture .saleWay{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
李嘉林 committed
87 88
  z-index: 2;
  color: #fff;
李嘉林 committed
89 90
}
.goodsPicture .saleWay .saleWayBg{
李嘉林 committed
91
  background: var(--main-color);
李嘉林 committed
92 93 94 95 96 97 98
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
}
李嘉林 committed
99 100 101 102 103 104 105 106
.goodsPicture .saleWay .saleTime{
  position: relative;
  z-index: 2;
  padding: 4rpx 0;
}
.goodsPicture .saleWay .saleTime text{
  color: #fff;
}
李嘉林 committed
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
.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
143 144 145 146
.info .info-top{
  overflow: hidden;
  justify-content: space-between;
}
李嘉林 committed
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
.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;
}
.info .follower-wrap{
  position: relative;
  font-size: 0.8em;
  color: #999;
  text-align: center;
  height: 70rpx;
李嘉林 committed
163
  border-left: 1px solid #999;
李嘉林 committed
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
}
.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
216 217 218
.priceItem .price{
  align-items: center;
}
李嘉林 committed
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
.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;
}
李嘉林 committed
246 247 248 249 250
.Sold{
  overflow: hidden;
  color: #999;
}
.Sold text{
李嘉林 committed
251
  font-size: 24rpx;
李嘉林 committed
252
}
李嘉林 committed
253 254 255
.buy-now-icon{
  color: var(--main-color);
}
李嘉林 committed
256 257 258 259 260 261
.buy-now {
  color: #ffffff;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 30rpx;
李嘉林 committed
262
  background-color: var(--main-color);
李嘉林 committed
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
  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 {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 36rpx;
}
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301
.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
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324
.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
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
.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;
}
.bottom {
  position: relative;
}
.price {
  font-weight: 600;
  margin-top: 12rpx;
}