details - 副本.scss
2.25 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
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
143
144
145
146
.page {
position: absolute;
width: 100%;
// height: 100%;
overflow-x: hidden;
// overflow-y: auto;
}
/* banner 标题 */
.banner-title{
background-color: #FFFFFF;
padding-bottom: 20rpx;
}
/* banner */
.banner{
width: 100%;
height: 450rpx;
.screen-swiper{
width: 100%;
height: 100%;
}
}
/* 价格 */
.price-info{
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 4%;
margin: 20rpx 0;
.price{
font-size: 28rpx;
text {
font-size: 24rpx;
color: #aaaaaa;
}
.price-num {
font-weight: bold;
color: #ff7337;
font-size: 40rpx;
margin-top: 20rpx;
}
}
.price-line {
width: 2rpx;
height: 80rpx;
background-color: #f4f4f4;
}
}
/* 标题 */
.goods-title{
padding: 0 4%;
margin: 40rpx auto;
text{
font-size: 34rpx;
color: #000;
font-weight: bold;
}
}
.goods-icon {
display: flex;
margin: 0 20rpx;
.goods-icon-list {
background-color: #f1fff6;
color:#4fa477;
font-size: 24rpx;
display: inline-block;
padding: 10rpx 20rpx;
margin-right: 10rpx;
}
}
/* 评价 */
.evaluate-data{
padding: 0 4%;
margin: 20rpx auto;
background-color: #FFFFFF;
overflow: hidden;
.title-more{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 100rpx;
.title{
display: flex;
align-items: center;
height: 100%;
text{
font-size: 30rpx;
color: #000;
}
}
.more{
display: flex;
align-items: center;
text{
font-size: 26rpx;
color: #212121;
}
}
}
.evaluate-list{
width: 100%;
.content{
width: 100%;
.character{
display: flex;
align-items: center;
padding: 10rpx 0;
text{
font-size: 26rpx;
color: #333333;
}
}
}
}
}
/* 底部 */
.page-footer{
position: fixed;
left: 0;
bottom: 0;
display: flex;
width: 100%;
height: 100rpx;
background-color: #FFFFFF;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
.footer-buy{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 100%;
.cart-add{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100rpx;
background-color: #3f9b6a;
text{
font-size: 28rpx;
color: #FFFFFF;
}
}
}
}