浏览代码

信息修改

1002884655 3 年前
父节点
当前提交
701b65d6fb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/pages/index/helpToFindHouse/index.jsx

+ 2
- 2
src/pages/index/helpToFindHouse/index.jsx 查看文件

@@ -54,8 +54,8 @@ export default withLayout((props) => {
54 54
         // 用户选择 200, 则区间为 [100, 300]
55 55
         // 用户选择 300, 则区间为 [200, 400]
56 56
         const price = item.result === '' ? 300 : item.result - 0;
57
-        const min = price < 100 ? 100 : price - 100;
58
-        const max = price + 100;
57
+        const min = item.options[0]
58
+        const max = price
59 59
 
60 60
         params.push({ ...item, key: 'minPrice', result: CurrentDemandId === 2 ? min : min * 10000 })
61 61
         params.push({ ...item, key: 'maxPrice', result: CurrentDemandId === 2 ? max : max * 10000 })