product-detail.scss
2.21 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
165
@import './../../styles/support';
.page {}
// 分页导航
.nav {
.tabs {
@extend .bb;
padding: 0 50px;
background-color: #ffffff;
}
}
// 轮播banner
.banner {
$bannerWid: $screenWidth;
$bannerHei: 760px;
background-color: #f2f2f2;
@extend .bb;
width: $bannerWid;
height: $bannerHei;
.swiper {
width: $bannerWid;
height: $bannerHei;
.img {
width: $bannerWid;
height: $bannerHei;
}
}
}
.content {
width: $contentWidth;
margin: 0 auto;
}
// 功能导航
.func {
margin: 42px auto;
display: flex;
justify-content: space-between;
align-items: center;
.desc {
&-tit {}
&-desc {
margin-top: 12px;
}
}
.fav {
text-align: center;
color: #cf9e9e;
padding: 0 24px;
&-icon {
@extend .bb;
width: 100%;
.iconfont {
font-size: 52px;
}
}
.btn {
margin-top: 12px;
}
}
}
// 店铺信息
.shop {
margin: 92px auto 0;
display: flex;
align-items: center;
&-icon {
width: 100px;
height: 100px;
border-radius: 100px;
border: solid 1px #333333;
}
&-detail {
flex: 1;
@extend .bb;
padding-left: 24px;
display: flex;
align-content: center;
flex-wrap: wrap;
div {
width: 100%;
margin: 2px 0;
}
&-title {
font-size: 28px;
}
&-phone {}
}
&-btn {
@include btc(148px, 52px);
background-color: #cc9999;
border: solid 1px #333333;
border-radius: 48px;
color: #ffffff;
}
}
// 商品详情
.detail {
margin: 72px auto 0;
}
// 商品参数
.parameter {
margin: 72px auto 0;
&-table {
margin-top: 32px;
&-item {
display: flex;
border: solid 1px $fontGray;
border-bottom: none;
height: 48px;
div {
line-height: 48px;
@extend .bb;
padding: 0 12px;
}
.label {
width: 132px;
border-right: solid 1px $fontGray;
}
.val {
flex: 1;
}
&:last-child {
border-bottom: solid 1px $fontGray;
}
}
}
}
// 返回顶部
.top-btn {
margin: 72px auto 0;
@include btc(232px, 60px);
background-color: #1e9ad3;
color: #ffffff;
border-radius: 8px;
}