_detail.scss
2.7 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
.detailBox {
background-color: $YOHO-white-color;
}
.detailTopBar {
background-color: $YOHO-white-color !important;
}
.detailSlider {
width: 320px;
height: 300px;
margin-bottom: 10px;
overflow: hidden;
position: relative;
}
.detail-wrap {
position: absolute;
left: 48px;
top: 0;
& > div {
position: relative;
width: 239px;
float: left;
}
img {
width: 225px;
}
}
.detailSlide-nav {
position: absolute;
height: 16px;
line-height: 7px;
width: 100%;
bottom: 0;
left: 0;
text-align: center;
span {
display: inline-block;
width: 6px;
height: 6px;
@include border-radius(50%);
background-color: $YOHO-dot-color;
}
span.on {
background-color: $YOHO-black-color;
}
}
.detailTitle {
font-size: 18px;
text-align: center;
padding: 5px 0 0;
}
.vipLevel {
color: $YOHO-search-color;
text-align: center;
padding-bottom: 20px;
span {
padding:0 5px;
}
}
.detailToBuy {
padding: 0 10px;
height: 50px;
margin-bottom: 20px;
line-height: 50px;
text-align: center;
a {
float: left;
}
.AddFavorite {
width: 55px;
height: 50px;
background-color: $YOHO-border-color;
color: $YOHO-white-color;
font-size: 20px;
margin-right: 10px;
}
.toBuyNow {
width: 235px;
height: 50px;
background-color: $YOHO-red-color;
color: $YOHO-white-color;
font-size: 22px;
}
}
.discountNotice {
margin-bottom: 20px;
span {
padding: 4px 6px;
margin-right: 10px;
background-color: $YOHO-normal-color;
color: $YOHO-white-color;
}
p {
height: 44px;
line-height: 44px;
padding: 0 10px;
margin-bottom: 1px;
font-size: 12px;
background-color: #eeeeee
}
}
.detailSize {
padding: 0 10px;
margin-bottom: 20px;
h3 {
text-align: center;
font-size: 16px;
margin-bottom: 5px;
span {
font-size: 9px;
display: block;
}
}
table {
background-color: $YOHO-white-color;
width: 100%;
}
td {
height: 25px;
line-height: 25px;
border: 1px solid $YOHO-white-color;
text-align: center;
background-color: #eee;
}
}
.detailGoodsInfo {
td {
text-align: left;
padding: 0 5px;
}
}
.detailToShop {
margin: 0 10px 10px;
padding: 10px;
height: 47px;
line-height: 47px;
overflow: hidden;
background-color: #eee;
a {
display: block;
font-size: 14px;
}
}