Sanakey
2020-08-13 d98d05000c3d14e1f12a7754ebeea11ec1fa0f0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* component/single-item/index.wxss */
@import "../../src/src.wxss";
.goods-item-container {
  display: flex;
  flex-direction: column;
  /* margin: 0 11.5rpx; */
  background-color: #fff;
  box-shadow: 6rpx 6rpx 10rpx #f1f1f1;
  border: none;
  line-height: inherit;
  text-align: left;
  padding: 0;
  margin-bottom: 20rpx;
  position: relative;
  /* width: 100%; */
}
.border-radius{
  border-radius: 10rpx;
}
.goods-item-container::after{
  border: none;
}
.goods-item-img {
  width: 100%;
  /* height: 700rpx; */
  margin-bottom: 20rpx;
}
 
.goods-item-title {
  margin-bottom: 6rpx;
  font-size: 28rpx;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* max-width: 710rpx; */
  width: 95%;
  padding: 0 10rpx;
  color:#333;
}
 .price{
  padding: 0 10rpx 15rpx;    
.goods-item-price {
  margin-bottom: 16rpx;
  font-size: 46rpx;
  color: #f23232;
  font-weight: bold;
  padding: 0 20rpx 10rpx 0rpx;
}
.goods-item-costprice{
  font-size: 24rpx;
  color: #c1c1c1;
  text-decoration: line-through;
}
.goods-item-info{
  margin-bottom: 6rpx;
  font-size: 28rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 95%;
  /* max-width: 710rpx; */
  padding: 0 10rpx;
  color:#ff0000;
}
.img-info{
  position: absolute;
  left: 50%;
  top:50%;
  transform: translate(-50%,-50%);
  font-size: 36rpx;
  padding: 12rpx 30rpx;
  background-color: #333;
  opacity: 0.8;
  color: #fff;
  border-radius: 40rpx;
  min-width: 110rpx;
}
.info-text{
  color:#ff0000;
}