|
@@ -3,8 +3,12 @@ |
|
@@ -3,8 +3,12 @@ |
3
|
<div class="filter-overlay" v-show="layFlag" @click="close"></div>
|
3
|
<div class="filter-overlay" v-show="layFlag" @click="close"></div>
|
4
|
<div class="filter-content">
|
4
|
<div class="filter-content">
|
5
|
<ul class="filter-type">
|
5
|
<ul class="filter-type">
|
6
|
- <li class="type-item" @click="toggleRec">{{activeSort.text}}<i class="icon" :class="recClass"></i></li>
|
|
|
7
|
- <li class="type-item" @click="toggleFilter">筛选<i class="icon" :class="filterClass"></i></li>
|
6
|
+ <li class="type-item" @click="toggleRec">
|
|
|
7
|
+ <span class="sort-label">{{activeSort.text}}<i class="icon" :class="recClass"></i></span>
|
|
|
8
|
+ </li>
|
|
|
9
|
+ <li class="type-item" @click="toggleFilter">
|
|
|
10
|
+ <span class="sort-label">筛选<i class="icon" :class="filterClass"></i></span>
|
|
|
11
|
+ </li>
|
8
|
</ul>
|
12
|
</ul>
|
9
|
<div class="rec-detail" v-show="!recDown">
|
13
|
<div class="rec-detail" v-show="!recDown">
|
10
|
<ul class="re-items">
|
14
|
<ul class="re-items">
|
|
@@ -144,6 +148,16 @@ export default { |
|
@@ -144,6 +148,16 @@ export default { |
144
|
text: '推荐',
|
148
|
text: '推荐',
|
145
|
val: '',
|
149
|
val: '',
|
146
|
type: 0
|
150
|
type: 0
|
|
|
151
|
+ },
|
|
|
152
|
+ s_p_desc: {
|
|
|
153
|
+ text: '价格从高到低',
|
|
|
154
|
+ val: 's_p_desc',
|
|
|
155
|
+ type: 3
|
|
|
156
|
+ },
|
|
|
157
|
+ s_p_asc: {
|
|
|
158
|
+ text: '价格从低到高',
|
|
|
159
|
+ val: 's_p_asc',
|
|
|
160
|
+ type: 3
|
147
|
}
|
161
|
}
|
148
|
};
|
162
|
};
|
149
|
|
163
|
|
|
@@ -385,10 +399,14 @@ export default { |
|
@@ -385,10 +399,14 @@ export default { |
385
|
}
|
399
|
}
|
386
|
}
|
400
|
}
|
387
|
|
401
|
|
388
|
- .icon {
|
402
|
+ .sort-label {
|
389
|
position: relative;
|
403
|
position: relative;
|
|
|
404
|
+ }
|
|
|
405
|
+
|
|
|
406
|
+ .icon {
|
|
|
407
|
+ position: absolute;
|
390
|
top: 14px;
|
408
|
top: 14px;
|
391
|
- left: 20px;
|
409
|
+ right: -46px;
|
392
|
font-size: 40px;
|
410
|
font-size: 40px;
|
393
|
font-weight: bold;
|
411
|
font-weight: bold;
|
394
|
|
412
|
|