首页增加比例筛选并优化排序
This commit is contained in:
@@ -6,6 +6,7 @@ import StringFilter from './StringFilter.vue'
|
||||
import SkinFilter from './SkinFilter.vue'
|
||||
import {
|
||||
coinRangeOptions,
|
||||
ratioRangeOptions,
|
||||
moneyRangeOptions,
|
||||
totalRangeOptions,
|
||||
fireLevelRangeOptions,
|
||||
@@ -134,6 +135,17 @@ function closePopover() {
|
||||
@close="closePopover"
|
||||
/>
|
||||
|
||||
<RangeFilter
|
||||
label="比例"
|
||||
:model-min="filters.minRatio"
|
||||
:model-max="filters.maxRatio"
|
||||
:options="ratioRangeOptions"
|
||||
:popover-props="filterPopoverProps('ratio')"
|
||||
@update:model-min="updateFilter('minRatio', $event)"
|
||||
@update:model-max="updateFilter('maxRatio', $event)"
|
||||
@close="closePopover"
|
||||
/>
|
||||
|
||||
<RangeFilter
|
||||
label="租金"
|
||||
:model-min="filters.minPrice"
|
||||
|
||||
Reference in New Issue
Block a user