diff --git a/app/search/page.js b/app/search/page.js index b10e9a9..a058b85 100644 --- a/app/search/page.js +++ b/app/search/page.js @@ -81,11 +81,11 @@ export default function Search() { upper_bound: 200, lower_bound: 1, default: 24, - step: 200 / 10, + step: 200 / 9, type: "slider", unit: "万", key: "fans", - stepValues: [1, 3, 5, 10, 20, 50, 75, 100, 150, 200, 1000], + stepValues: [1, 5, 10, 20, 50, 75, 100, 150, 200, 1000], }, { name: "身高", @@ -121,7 +121,6 @@ export default function Search() { step: 1, type: "select", items: [ - "不限", "北京市", "天津市", "河北省", @@ -168,7 +167,6 @@ export default function Search() { type: "select", key: "constellation", items: [ - "不限", "白羊座", "金牛座", "双子座", @@ -196,25 +194,26 @@ export default function Search() { const priceFilters = [ { name: "空间价格", - upper_bound: 200, + upper_bound: 300, lower_bound: 0, default: 24, - step: 200 / 7, + step: 300 / 7, type: "slider", unit: "¥", key: "zone", - stepValues: [0, 1, 10, 50, 100, 150, 200, 4000], + stepValues: [0, 10, 50, 100, 150, 200, 300, 4000], }, { name: "微信价格", - upper_bound: 10000, + desc: "10金币=¥1", + upper_bound: 30000, lower_bound: 0, default: 24, - step: 10000 / 8, + step: 30000 / 9, type: "slider", unit: "金币", key: "wechat", - stepValues: [0, 10, 100, 200, 500, 1000, 5000, 10000, 100000], + stepValues: [0, 100, 300, 500, 1000, 5000, 10000, 20000, 30000, 100000], }, ]; useEffect(() => { @@ -549,7 +548,7 @@ export default function Search() { closeOnMaskClick={true} maskStyle={{ backgroundColor: "#0000004d" }} visible={isFilterVisible.comprehensive} - bodyStyle={{ height: "calc(100vh - 64px)" }} + bodyStyle={{ height: "calc(100vh - 110px)" }} onMaskClick={() => setIsFilterVisible({ zone_admission_price: false, @@ -559,7 +558,7 @@ export default function Search() { >