_chose-panel.scss
3.03 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
.chose-panel {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,0,0,.3);
.main {
position: absolute;
height: 610rem / $pxConvertRem;
bottom: 0;
left: 0;
right: 0;
background: #fff;
}
.infos {
height: 460rem / $pxConvertRem;
padding: 0 22rem / $pxConvertRem;
padding-top: 30rem / $pxConvertRem;
}
.chose-items {
height: 325rem / $pxConvertRem;
overflow: auto;
}
.basic-info {
margin-bottom: 30rem / $pxConvertRem;
}
.thumb {
float: left;
width: 80rem / $pxConvertRem;
height: 106rem / $pxConvertRem;
}
.text-info {
margin-left: 102rem / $pxConvertRem;
.name {
font-size: 28rem / $pxConvertRem;
}
.sale-price {
color: #e10;
&.no-price {
color: #000;
}
}
.market-price {
color: #b0b0b0;
text-decoration: line-through;
}
}
.color-list, .size-list, .num {
position: relative;
font-size: 28rem / $pxConvertRem;
padding-left: 80rem / $pxConvertRem;
> span {
position: absolute;
left: 0;
top: 20rem / $pxConvertRem;
}
}
.block {
float: left;
display: block;
width: 80rem / $pxConvertRem;
height: 80rem / $pxConvertRem;
border: 1px solid #000;
margin-right: 30rem / $pxConvertRem;
margin-bottom: 30rem / $pxConvertRem;
line-height: 80rem / $pxConvertRem;
text-align: center;
&.chosed {
border-color: #e10;
background: image-url('shopping-cart/right.png') no-repeat;
background-size: 38rem / $pxConvertRem;
background-position: bottom right;
color: #e10;
}
}
.num {
margin-bottom: 20rem / $pxConvertRem;
}
.num .btn {
float: left;
display: block;
height: 80rem / $pxConvertRem;
width: 80rem / $pxConvertRem;
text-align: center;
line-height: 80rem / $pxConvertRem;
border: 1px solid #e6e6e6;
&.disable {
color: #e6e6e6;
}
}
.good-num {
float: left;
width: 106rem / $pxConvertRem;
height: 80rem / $pxConvertRem;
line-height: 80rem / $pxConvertRem;
padding: 0;
border: none;
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
text-align: center;
}
.btn-wrap {
height: 120rem / $pxConvertRem;
border-top: 1px solid #e6e6e6;
padding: 20rem / $pxConvertRem;
text-align: center;
box-sizing: border-box;
.btn-sure {
width: 260rem / $pxConvertRem;
height: 80rem / $pxConvertRem;
background: #e10;
color: #fff;
font-size: 32rem / $pxConvertRem;
border: none;
}
}
}