_product-description.scss
4.44 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
.good-detail-page{
.goods-desc {
padding-bottom: pxToRem(20px);
padding-top: pxToRem(20px);
.service {
width: pxToRem(494px);
height: pxToRem(28px);
margin-left: pxToRem(50px);
background: image-url('product/service.png') no-repeat;
background-size: cover;
}
.detail{
margin-bottom: 1px;
}
.desc-text {
font-size: pxToRem(24px);
padding: pxToRem(16px) pxToRem(12px);
color: $mainFontC;
background-color: $tableCellC;
// border-top: 1px solid #fff;
}
}
.tips {
color: $subFontC;
font-size: pxToRem(18px);
margin-top: pxToRem(20px);
}
.materials {
overflow: hidden;
&.page-block{
margin-bottom: 0;
border-bottom: none;
.detail{
margin-bottom: 0;
}
}
.detail {
.material-item{
margin: pxToRem(10px) 0;
width: 100%;
height: auto;
overflow: hidden;
display: block;
position: relative;
img {
margin: 0;
}
.material-image {
width: 23%;
position: absolute;
left: 0;
top: 50%;
@include transform(translateY(-50%))
}
.material-desc {
font-size: pxToRem(24px);
box-sizing: border-box;
text-align: left;
padding-left: 2%;
height: auto;
line-height: pxToRem(38px);
color: #4b4b4b;
word-wrap: break-word;
width: 76.9%;
float: right;
}
&:last-child{
border-bottom: none;
}
}
}
}
.wash-tips{
padding-top:pxToRem(20px);
&.page-block{
// border-top: 0px;
padding-left: pxToRem(15px);
padding-right: pxToRem(15px);
}
.tip{
display: inline-block;
width: 16.6%;
float:left;
//min-height: pxToRem(120px);
// margin-right: pxToRem(24px);
img{
width: pxToRem(48px);
height: pxToRem(48px);
margin-bottom: pxToRem(10px);
}
.caption{
display: block;
padding: 0 pxToRem(13px);
font-size: pxToRem(18px);
line-height: pxToRem(22px);
//margin-bottom: pxToRem(18px);
min-height: pxToRem(44px);
text-align:center;
}
}
}
.product-detail {
.detail {
img {
margin-top: pxToRem(20px);
width: pxToRem(581px);
height:auto;
}
}
margin-top: pxToRem(30px);
margin-bottom: pxToRem(30px);
}
.detail-swiper {
.swiper-wrapper {
// height: pxToRem(200px);
// overflow: hidden;
.swiper-slide {
width: auto;
div {
text-align: center;
&.cell {
line-height: pxToRem(53px);
font-size: pxToRem(24px);
background-color: $tableCellC;
padding: 0 pxToRem(40px);
border: 1px solid #fff;
}
}
}
}
}
//模特
#reference-swiper-container {
.first-group {
width: pxToRem(70px);
margin-top: pxToRem(55px);
div{
height: pxToRem(55px);
.avatar {
display: inline-block;
width: pxToRem(40px);
border-radius: 50%;
margin-top:pxToRem(7px);
}
}
}
}
//测量方法
.measurement-method {
.detail {
width: 100%;
margin-top:0;
margin-bottom: 0;
img {
width: 100%;
height:auto;
}
}
}
}