소스 검색

静态页面

1002884655 3 년 전
부모
커밋
55e206fecb
96개의 변경된 파일1263개의 추가작업 그리고 569개의 파일을 삭제
  1. 1
    1
      project.config.json
  2. BIN
      src/assets/index-icon1.png
  3. BIN
      src/assets/index-icon10.png
  4. BIN
      src/assets/index-icon11.png
  5. BIN
      src/assets/index-icon12.png
  6. BIN
      src/assets/index-icon13.png
  7. BIN
      src/assets/index-icon14.png
  8. BIN
      src/assets/index-icon15.png
  9. BIN
      src/assets/index-icon16.png
  10. BIN
      src/assets/index-icon2.png
  11. BIN
      src/assets/index-icon3.png
  12. BIN
      src/assets/index-icon4.png
  13. BIN
      src/assets/index-icon5.png
  14. BIN
      src/assets/index-icon6.png
  15. BIN
      src/assets/index-icon7.png
  16. BIN
      src/assets/index-icon8.png
  17. BIN
      src/assets/index-icon9.png
  18. BIN
      src/assets/logo.png
  19. BIN
      src/assets/mine-icon1.png
  20. BIN
      src/assets/mine-icon10.png
  21. BIN
      src/assets/mine-icon11.png
  22. BIN
      src/assets/mine-icon12.png
  23. BIN
      src/assets/mine-icon13.png
  24. BIN
      src/assets/mine-icon14.png
  25. BIN
      src/assets/mine-icon15.png
  26. BIN
      src/assets/mine-icon16.png
  27. BIN
      src/assets/mine-icon17.png
  28. BIN
      src/assets/mine-icon18.png
  29. BIN
      src/assets/mine-icon2.png
  30. BIN
      src/assets/mine-icon3.png
  31. BIN
      src/assets/mine-icon4.png
  32. BIN
      src/assets/mine-icon5.png
  33. BIN
      src/assets/mine-icon6.png
  34. BIN
      src/assets/mine-icon7.png
  35. BIN
      src/assets/mine-icon8.png
  36. BIN
      src/assets/mine-icon9.png
  37. 3
    0
      src/pages/index/activityDetail/index.config.js
  38. 45
    0
      src/pages/index/activityDetail/index.jsx
  39. 12
    0
      src/pages/index/activityDetail/index.scss
  40. 3
    0
      src/pages/index/activityList/index.config.js
  41. 45
    0
      src/pages/index/activityList/index.jsx
  42. 12
    0
      src/pages/index/activityList/index.scss
  43. 3
    0
      src/pages/index/addedValueService/index.config.js
  44. 45
    0
      src/pages/index/addedValueService/index.jsx
  45. 12
    0
      src/pages/index/addedValueService/index.scss
  46. 3
    0
      src/pages/index/brandList/index.config.js
  47. 45
    0
      src/pages/index/brandList/index.jsx
  48. 12
    0
      src/pages/index/brandList/index.scss
  49. 3
    0
      src/pages/index/buildingDetail/index.config.js
  50. 45
    0
      src/pages/index/buildingDetail/index.jsx
  51. 12
    0
      src/pages/index/buildingDetail/index.scss
  52. 3
    0
      src/pages/index/buildingList/index.config.js
  53. 45
    0
      src/pages/index/buildingList/index.jsx
  54. 12
    0
      src/pages/index/buildingList/index.scss
  55. 3
    0
      src/pages/index/buildingSearch/index.config.js
  56. 45
    0
      src/pages/index/buildingSearch/index.jsx
  57. 12
    0
      src/pages/index/buildingSearch/index.scss
  58. 15
    5
      src/pages/index/components/Location/index.jsx
  59. 26
    2
      src/pages/index/components/Menu/index.jsx
  60. 3
    0
      src/pages/index/culturalAndBusiness/index.config.js
  61. 45
    0
      src/pages/index/culturalAndBusiness/index.jsx
  62. 12
    0
      src/pages/index/culturalAndBusiness/index.scss
  63. 3
    0
      src/pages/index/encyclopediasOfBuyHouse/index.config.js
  64. 45
    0
      src/pages/index/encyclopediasOfBuyHouse/index.jsx
  65. 12
    0
      src/pages/index/encyclopediasOfBuyHouse/index.scss
  66. 3
    0
      src/pages/index/findHouseFromMap/index.config.js
  67. 45
    0
      src/pages/index/findHouseFromMap/index.jsx
  68. 12
    0
      src/pages/index/findHouseFromMap/index.scss
  69. 3
    0
      src/pages/index/helpToFindHouse/index.config.js
  70. 45
    0
      src/pages/index/helpToFindHouse/index.jsx
  71. 12
    0
      src/pages/index/helpToFindHouse/index.scss
  72. 1
    18
      src/pages/index/index.jsx
  73. 3
    0
      src/pages/index/location/index.config.js
  74. 45
    0
      src/pages/index/location/index.jsx
  75. 12
    0
      src/pages/index/location/index.scss
  76. 3
    0
      src/pages/index/mortgageCalculation/index.config.js
  77. 45
    0
      src/pages/index/mortgageCalculation/index.jsx
  78. 12
    0
      src/pages/index/mortgageCalculation/index.scss
  79. 3
    0
      src/pages/index/newsDetail/index.config.js
  80. 45
    0
      src/pages/index/newsDetail/index.jsx
  81. 12
    0
      src/pages/index/newsDetail/index.scss
  82. 3
    0
      src/pages/index/newsList/index.config.js
  83. 45
    0
      src/pages/index/newsList/index.jsx
  84. 12
    0
      src/pages/index/newsList/index.scss
  85. 3
    0
      src/pages/index/recovered/index.config.js
  86. 45
    0
      src/pages/index/recovered/index.jsx
  87. 12
    0
      src/pages/index/recovered/index.scss
  88. 3
    0
      src/pages/index/specialPriceHouse/index.config.js
  89. 45
    0
      src/pages/index/specialPriceHouse/index.jsx
  90. 12
    0
      src/pages/index/specialPriceHouse/index.scss
  91. 1
    1
      src/pages/mine/components/NeedLogin/index.jsx
  92. 0
    1
      src/pages/mine/components/NeedLogin/index.scss
  93. 8
    23
      src/pages/mine/index.jsx
  94. 8
    5
      src/pages/mine/index.scss
  95. 74
    0
      src/pages/mine/tabData.js
  96. 109
    513
      src/routes.js

+ 1
- 1
project.config.json 파일 보기

@@ -27,7 +27,7 @@
27 27
 			"outputPath": ""
28 28
 		},
29 29
 		"useIsolateContext": true,
30
-		"useCompilerModule": true,
30
+		"useCompilerModule": false,
31 31
 		"userConfirmedUseCompilerModuleSwitch": false
32 32
 	},
33 33
 	"compileType": "miniprogram",

BIN
src/assets/index-icon1.png 파일 보기


BIN
src/assets/index-icon10.png 파일 보기


BIN
src/assets/index-icon11.png 파일 보기


BIN
src/assets/index-icon12.png 파일 보기


BIN
src/assets/index-icon13.png 파일 보기


BIN
src/assets/index-icon14.png 파일 보기


BIN
src/assets/index-icon15.png 파일 보기


BIN
src/assets/index-icon16.png 파일 보기


BIN
src/assets/index-icon2.png 파일 보기


BIN
src/assets/index-icon3.png 파일 보기


BIN
src/assets/index-icon4.png 파일 보기


BIN
src/assets/index-icon5.png 파일 보기


BIN
src/assets/index-icon6.png 파일 보기


BIN
src/assets/index-icon7.png 파일 보기


BIN
src/assets/index-icon8.png 파일 보기


BIN
src/assets/index-icon9.png 파일 보기


BIN
src/assets/logo.png 파일 보기


BIN
src/assets/mine-icon1.png 파일 보기


BIN
src/assets/mine-icon10.png 파일 보기


BIN
src/assets/mine-icon11.png 파일 보기


BIN
src/assets/mine-icon12.png 파일 보기


BIN
src/assets/mine-icon13.png 파일 보기


BIN
src/assets/mine-icon14.png 파일 보기


BIN
src/assets/mine-icon15.png 파일 보기


BIN
src/assets/mine-icon16.png 파일 보기


BIN
src/assets/mine-icon17.png 파일 보기


BIN
src/assets/mine-icon18.png 파일 보기


BIN
src/assets/mine-icon2.png 파일 보기


BIN
src/assets/mine-icon3.png 파일 보기


BIN
src/assets/mine-icon4.png 파일 보기


BIN
src/assets/mine-icon5.png 파일 보기


BIN
src/assets/mine-icon6.png 파일 보기


BIN
src/assets/mine-icon7.png 파일 보기


BIN
src/assets/mine-icon8.png 파일 보기


BIN
src/assets/mine-icon9.png 파일 보기


+ 3
- 0
src/pages/index/activityDetail/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '活动详情'
3
+}

+ 45
- 0
src/pages/index/activityDetail/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page activityDetail'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          活动详情
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/activityDetail/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.activityDetail {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/activityList/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '活动列表'
3
+}

+ 45
- 0
src/pages/index/activityList/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page activityList'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          活动列表
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/activityList/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.activityList {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/addedValueService/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '增值服务'
3
+}

+ 45
- 0
src/pages/index/addedValueService/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page addedValueService'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          增值服务
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/addedValueService/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.addedValueService {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/brandList/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '品牌列表'
3
+}

+ 45
- 0
src/pages/index/brandList/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page brandList'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          品牌列表
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/brandList/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.brandList {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/buildingDetail/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '楼盘详情'
3
+}

+ 45
- 0
src/pages/index/buildingDetail/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page buildingDetail'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          楼盘详情
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/buildingDetail/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.buildingDetail {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/buildingList/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '楼盘列表'
3
+}

+ 45
- 0
src/pages/index/buildingList/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page buildingList'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          楼盘列表
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/buildingList/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.buildingList {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/buildingSearch/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '楼盘搜索'
3
+}

+ 45
- 0
src/pages/index/buildingSearch/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page buildingSearch'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          楼盘搜索
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/buildingSearch/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.buildingSearch {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 15
- 5
src/pages/index/components/Location/index.jsx 파일 보기

@@ -1,16 +1,26 @@
1 1
 import React, { useState, useEffect } from 'react'
2 2
 import './index.scss'
3 3
 import '../../../../assets/css/iconfont.css'
4
+import Taro from '@tarojs/taro'
4 5
 
5 6
 export default function Location (props) {
7
+
8
+  const ToLocation = () => {
9
+    Taro.navigateTo({ url: `/pages/index/location/index` })
10
+  }
11
+
12
+  const ToSearch = () => {
13
+    Taro.navigateTo({ url: `/pages/index/buildingSearch/index` })
14
+  }
15
+
6 16
   return (
7 17
     <view className='components Location flex-h'>
8
-      <text className='iconfont icon-dingwei'></text>
9
-      <text>南京市</text>
10
-      <text className='iconfont icon-jiantoudown'></text>
18
+      <text className='iconfont icon-dingwei' onClick={ToLocation}></text>
19
+      <text onClick={ToLocation}>南京市</text>
20
+      <text className='iconfont icon-jiantoudown' onClick={ToLocation}></text>
11 21
       <view className='flex-item'>
12
-        <text className='iconfont icon-sousuo'></text>
13
-        <text>输入你想查询的楼盘</text>
22
+        <text className='iconfont icon-sousuo' onClick={ToSearch}></text>
23
+        <text onClick={ToSearch}>输入你想查询的楼盘</text>
14 24
       </view>
15 25
     </view>
16 26
   )

+ 26
- 2
src/pages/index/components/Menu/index.jsx 파일 보기

@@ -1,9 +1,25 @@
1 1
 import React, { useState, useEffect } from 'react'
2 2
 import './index.scss'
3 3
 import { Swiper, SwiperItem, Image } from '@tarojs/components'
4
+import Taro from '@tarojs/taro'
4 5
 
5 6
 export default function Menu (props) {
6
-  const { List = [] } = props
7
+  const List = [
8
+    { name: '全部楼盘', id: 1, icon: require('../../../../assets/index-icon9.png'), router: '/pages/index/buildingList/index' },
9
+    { name: '品牌地产', id: 2, icon: require('../../../../assets/index-icon8.png'), router: '/pages/index/brandList/index' },
10
+    { name: '近期开盘', id: 3, icon: require('../../../../assets/index-icon6.png'), router: `/pages/index/buildingList/index?type=2` },
11
+    { name: '帮我找房', id: 4, icon: require('../../../../assets/index-icon1.png'), router: '/pages/index/helpToFindHouse/index' },
12
+    { name: '增值服务', id: 5, icon: require('../../../../assets/index-icon16.png'), router: '/pages/index/addedValueService/index' },
13
+    { name: '地图找房', id: 6, icon: require('../../../../assets/index-icon2.png'), router: '/pages/index/findHouseFromMap/index' },
14
+    { name: '活动信息', id: 7, icon: require('../../../../assets/index-icon5.png'), router: '/pages/index/activityList/index' },
15
+    { name: '团房信息', id: 8, icon: require('../../../../assets/index-icon12.png'), router: `/pages/index/activityList/index?type=2` },
16
+    { name: '特价房', id: 9, icon: require('../../../../assets/index-icon11.png'), router: '/pages/index/specialPriceHouse/index' },
17
+    { name: '康养', id: 10, icon: require('../../../../assets/index-icon7.png'), router: '/pages/index/recovered/index' },
18
+    { name: '文旅商办', id: 11, icon: require('../../../../assets/index-icon13.png'), router: '/pages/index/culturalAndBusiness/index' },
19
+    { name: '新闻资讯', id: 12, icon: require('../../../../assets/index-icon15.png'), router: '/pages/index/newsList/index' },
20
+    { name: '购房百科', id: 13, icon: require('../../../../assets/index-icon4.png'), router: '/pages/index/encyclopediasOfBuyHouse/index' },
21
+    { name: '房贷计算', id: 14, icon: require('../../../../assets/index-icon3.png'), router: '/pages/index/mortgageCalculation/index' }
22
+  ]
7 23
   let Arr = []
8 24
   List.map((item) => {
9 25
     if (Arr.length) {
@@ -18,6 +34,14 @@ export default function Menu (props) {
18 34
   })
19 35
   const [MenuList, setMenuList] = useState(Arr)
20 36
 
37
+  const MenuClick = (item) => {
38
+    return () => {
39
+      if (item.router) {
40
+        Taro.navigateTo({ url: item.router })
41
+      }
42
+    }
43
+  }
44
+
21 45
   return (
22 46
     <view className='components Menu'>
23 47
       <view>
@@ -29,7 +53,7 @@ export default function Menu (props) {
29 53
                   <view className="swiper-item">
30 54
                     {
31 55
                       item.map((subItem, subIndex) => (
32
-                        <view key={`BannerItem-${subIndex}`}>
56
+                        <view key={`BannerItem-${subIndex}`} onClick={MenuClick(subItem)}>
33 57
                           <Image mode='heightFix' src={subItem.icon || null} />
34 58
                           <text>{subItem.name}</text>
35 59
                         </view>

+ 3
- 0
src/pages/index/culturalAndBusiness/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '文旅商办'
3
+}

+ 45
- 0
src/pages/index/culturalAndBusiness/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page culturalAndBusiness'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          文旅商办
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/culturalAndBusiness/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.culturalAndBusiness {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/encyclopediasOfBuyHouse/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '购房百科'
3
+}

+ 45
- 0
src/pages/index/encyclopediasOfBuyHouse/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page encyclopediasOfBuyHouse'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          购房百科
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/encyclopediasOfBuyHouse/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.encyclopediasOfBuyHouse {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/findHouseFromMap/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '地图找房'
3
+}

+ 45
- 0
src/pages/index/findHouseFromMap/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page findHouseFromMap'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          地图找房
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/findHouseFromMap/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.findHouseFromMap {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/helpToFindHouse/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '帮我找房'
3
+}

+ 45
- 0
src/pages/index/helpToFindHouse/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page helpToFindHouse'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          帮我找房
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/helpToFindHouse/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.helpToFindHouse {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 1
- 18
src/pages/index/index.jsx 파일 보기

@@ -14,23 +14,6 @@ export default withLayout((props) => {
14 14
 
15 15
   // const [PageProps] = useState(props)
16 16
   const [BannerList, setBannerList] = useState(['', '', ''])
17
-  const [MenuList, setMenuList] = useState([
18
-    { name: '全部楼盘', id: 1, icon: '', router: '' },
19
-    { name: '品牌地产', id: 2, icon: '', router: '' },
20
-    { name: '近期开盘', id: 3, icon: '', router: '' },
21
-    { name: '帮我找房', id: 4, icon: '', router: '' },
22
-    { name: '增值服务', id: 5, icon: '', router: '' },
23
-    { name: '地图找房', id: 6, icon: '', router: '' },
24
-    { name: '活动信息', id: 7, icon: '', router: '' },
25
-    { name: '团房信息', id: 8, icon: '', router: '' },
26
-    { name: '特价房', id: 9, icon: '', router: '' },
27
-    { name: '康养', id: 10, icon: '', router: '' },
28
-    { name: '文旅商办', id: 11, icon: '', router: '' },
29
-    { name: '新闻资讯', id: 12, icon: '', router: '' },
30
-    { name: '购房百科', id: 13, icon: '', router: '' },
31
-    { name: '房贷计算', id: 14, icon: '', router: '' }
32
-  ])
33
-  const [SubBannerList, setSubBannerList] = useState(['', '', ''])
34 17
   const [ProjectList, setProjectList] = useState(['', '', ''])
35 18
   const [IsPull, setPull] = useState(false)
36 19
   const [PullTimer, setPullTimer] = useState(null)
@@ -70,7 +53,7 @@ export default withLayout((props) => {
70 53
 
71 54
           {/* 菜单 */}
72 55
           <view className='Menu'>
73
-            <Menu List={MenuList}></Menu>
56
+            <Menu></Menu>
74 57
           </view>
75 58
 
76 59
           {/* 热门推荐 */}

+ 3
- 0
src/pages/index/location/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '定位'
3
+}

+ 45
- 0
src/pages/index/location/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page Location'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          定位
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/location/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.Location {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/mortgageCalculation/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '房贷计算'
3
+}

+ 45
- 0
src/pages/index/mortgageCalculation/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page mortgageCalculation'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          房贷计算
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/mortgageCalculation/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.mortgageCalculation {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/newsDetail/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '资讯详情'
3
+}

+ 45
- 0
src/pages/index/newsDetail/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page newsDetail'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          资讯详情
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/newsDetail/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.newsDetail {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/newsList/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '新闻资讯'
3
+}

+ 45
- 0
src/pages/index/newsList/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page newsList'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          新闻资讯
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/newsList/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.newsList {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/recovered/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '康养'
3
+}

+ 45
- 0
src/pages/index/recovered/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page recovered'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          康养
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/recovered/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.recovered {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 3
- 0
src/pages/index/specialPriceHouse/index.config.js 파일 보기

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '特价房'
3
+}

+ 45
- 0
src/pages/index/specialPriceHouse/index.jsx 파일 보기

@@ -0,0 +1,45 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView } from '@tarojs/components'
5
+import '../../../assets/css/iconfont.css'
6
+
7
+export default withLayout((props) => {
8
+
9
+  // const [PageProps] = useState(props)
10
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', '', '', '', ''])
11
+  const [IsPull, setPull] = useState(false)
12
+  const [PullTimer, setPullTimer] = useState(null)
13
+
14
+  const PageRefresh = () => { // 页面下拉刷新回调
15
+    setPull(true)
16
+  }
17
+
18
+  useEffect(() => { // 下拉刷新触发
19
+    if (IsPull) {
20
+      clearTimeout(PullTimer)
21
+      setPullTimer(setTimeout(() => {
22
+        setPull(false)
23
+      }, 2000))
24
+    }
25
+  }, [IsPull])
26
+
27
+  return (
28
+    <view className='Page specialPriceHouse'>
29
+
30
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
31
+        <view className='PageContent'>
32
+
33
+          特价房
34
+
35
+          {/* bottom */}
36
+          <view className='PageBottom'>
37
+            <text>已经到底了~</text>
38
+          </view>
39
+
40
+        </view>
41
+      </ScrollView>
42
+
43
+    </view>
44
+  )
45
+})

+ 12
- 0
src/pages/index/specialPriceHouse/index.scss 파일 보기

@@ -0,0 +1,12 @@
1
+.Page.specialPriceHouse {
2
+  background: #fff;
3
+  > scroll-view {
4
+    width: 100%;
5
+    height: 100%;
6
+    .PageContent {
7
+      position: relative;
8
+      overflow: hidden;
9
+      min-height: 100vh;
10
+    }
11
+  }
12
+}

+ 1
- 1
src/pages/mine/components/NeedLogin/index.jsx 파일 보기

@@ -7,7 +7,7 @@ export default function Banner (props) {
7 7
   return (
8 8
     <view className='components NeedLogin flex-v'>
9 9
       <view className='Logo'>
10
-        <Image mode='aspectFill' className='centerLabel' src={null} />
10
+        <Image mode='aspectFit' className='centerLabel' src={require('../../../../assets/logo.png')} />
11 11
       </view>
12 12
       <view className='LoginBtn'>
13 13
         <text>微信登录</text>

+ 0
- 1
src/pages/mine/components/NeedLogin/index.scss 파일 보기

@@ -8,7 +8,6 @@
8 8
     height: 128px;
9 9
     position: relative;
10 10
     overflow: hidden;
11
-    background: #eee;
12 11
     margin: 109px auto 0;
13 12
     >image {
14 13
       width: 100%;

+ 8
- 23
src/pages/mine/index.jsx 파일 보기

@@ -4,30 +4,13 @@ import './index.scss'
4 4
 import NeedLogin from './components/NeedLogin'
5 5
 import { ScrollView, Image } from '@tarojs/components'
6 6
 import '../../assets/css/iconfont.css'
7
+import MineMenuList from './tabData'
7 8
 
8 9
 export default withLayout((props) => {
9 10
 
10 11
   // const [PageProps] = useState(props)
11
-  const [MenuList, setMenuList] = useState([
12
-    [
13
-      { name: '添加客户', icon: '', router: '' },
14
-      { name: '我的主页', icon: '', router: '' },
15
-      { name: '我的推广码', icon: '', router: '' },
16
-      { name: '客户分析', icon: '', router: '' },
17
-      { name: '盘客工具', icon: '', router: '' }
18
-    ],
19
-    [
20
-      { name: '我的分享', icon: '', router: '' },
21
-      { name: '我的活动', icon: '', router: '' },
22
-      { name: '我的课堂', icon: '', router: '' },
23
-      { name: '我的收藏', icon: '', router: '' }
24
-    ],
25
-    [
26
-      { name: '房贷计算器', icon: '', router: '' },
27
-      { name: '购房百科', icon: '', router: '' },
28
-      { name: '意见反馈', icon: '', router: '' }
29
-    ]
30
-  ])
12
+  const UserRole = 1 // 1-普通用户 2-经纪人 3-置业顾问 4-驻场管理
13
+  const [MenuList, setMenuList] = useState(UserRole === 1 ? MineMenuList.User : UserRole === 2 ? MineMenuList.Broker : UserRole === 3 ? MineMenuList.Adviser : MineMenuList.Resident)
31 14
   const [IsPull, setPull] = useState(false)
32 15
   const [ShowLogin, setShowLogin] = useState(false)
33 16
   const [PullTimer, setPullTimer] = useState(null)
@@ -65,7 +48,7 @@ export default withLayout((props) => {
65 48
               {/* 用户信息 */}
66 49
               <view className='UserInfo'>
67 50
                 <view className='UserIcon'>
68
-                  <Image mode='aspectFill' className='centerLabel' src={null} />
51
+                  <Image mode='aspectFill' className='centerLabel' src={require('../../assets/mine-icon18.png')} />
69 52
                 </view>
70 53
                 <view className='OtherInfo'>
71 54
                   <view className='Name'>
@@ -76,7 +59,7 @@ export default withLayout((props) => {
76 59
                         <text>个人信息资料修改</text>
77 60
                       </view>
78 61
                     </view>
79
-                    <text className='Role'>置业顾问</text>
62
+                    <text className='Role'>{UserRole === 1 ? '客户' : UserRole === 2 ? '经纪人' : UserRole === 3 ? '置业顾问' : '驻场管理'}</text>
80 63
                     <text className='New'>NEW</text>
81 64
                     <text className='iconfont icon-diqiu'></text>
82 65
                   </view>
@@ -91,7 +74,9 @@ export default withLayout((props) => {
91 74
                       {
92 75
                         item.map((subItem, subIndex) => (
93 76
                           <view key={`MenuItem-${index}-${subIndex}`} className='flex-h'>
94
-                            <text className={`iconfont ${subItem.icon}`}></text>
77
+                            <view className='Icon'>
78
+                              <Image mode='aspectFit' className='centerLabel' src={subItem.icon} />
79
+                            </view>
95 80
                             <view className='flex-item flex-h'>
96 81
                               <text className='flex-item'>{subItem.name}</text>
97 82
                               <text className='iconfont icon-jiantouright'></text>

+ 8
- 5
src/pages/mine/index.scss 파일 보기

@@ -127,15 +127,18 @@
127 127
                   border: none;
128 128
                 }
129 129
               }
130
-              > text {
130
+              > .Icon {
131 131
                 width: 44px;
132
-                line-height: 44px;
133 132
                 height: 44px;
134
-                font-size: 40px;
135
-                text-align: center;
136 133
                 margin-right: 20px;
134
+                position: relative;
135
+                overflow: hidden;
136
+                >image {
137
+                  width: 100%;
138
+                  height: 100%;
139
+                }
137 140
               }
138
-              > view {
141
+              > .flex-h {
139 142
                 align-items: center;
140 143
                 border-top: 2px solid #eee;
141 144
                 > text {

+ 74
- 0
src/pages/mine/tabData.js 파일 보기

@@ -0,0 +1,74 @@
1
+const MineMenuList = {
2
+  User: [ // 普通用户
3
+    [
4
+      { name: '推荐客户', icon: require('../../assets/mine-icon8.png'), router: '' }
5
+    ],
6
+    [
7
+      { name: '我的分享', icon: require('../../assets/mine-icon9.png'), router: '' },
8
+      { name: '我的活动', icon: require('../../assets/mine-icon10.png'), router: '' },
9
+      { name: '我的收藏', icon: require('../../assets/mine-icon13.png'), router: '' }
10
+    ],
11
+    [
12
+      { name: '房贷计算器', icon: require('../../assets/mine-icon4.png'), router: '' },
13
+      { name: '购房百科', icon: require('../../assets/mine-icon2.png'), router: '' },
14
+      { name: '意见反馈', icon: require('../../assets/mine-icon16.png'), router: '' }
15
+    ]
16
+  ],
17
+  Broker: [ // 经纪人
18
+    [
19
+      { name: '报备客户', icon: require('../../assets/mine-icon1.png'), router: '' },
20
+      { name: '合作渠道', icon: require('../../assets/mine-icon3.png'), router: '' }
21
+    ],
22
+    [
23
+      { name: '我的客户', icon: require('../../assets/mine-icon15.png'), router: '' },
24
+      { name: '我的分享', icon: require('../../assets/mine-icon9.png'), router: '' },
25
+      { name: '我的活动', icon: require('../../assets/mine-icon10.png'), router: '' },
26
+      { name: '我的课堂', icon: require('../../assets/mine-icon12.png'), router: '' },
27
+      { name: '我的收藏', icon: require('../../assets/mine-icon13.png'), router: '' }
28
+    ],
29
+    [
30
+      { name: '房贷计算器', icon: require('../../assets/mine-icon4.png'), router: '' },
31
+      { name: '购房百科', icon: require('../../assets/mine-icon2.png'), router: '' },
32
+      { name: '意见反馈', icon: require('../../assets/mine-icon16.png'), router: '' }
33
+    ]
34
+  ],
35
+  Adviser: [ // 置业顾问
36
+    [
37
+      { name: '添加客户', icon: require('../../assets/mine-icon7.png'), router: '' },
38
+      { name: '我的主页', icon: require('../../assets/mine-icon15.png'), router: '' },
39
+      { name: '我的推广码', icon: require('../../assets/mine-icon14.png'), router: '' },
40
+      { name: '客户分析', icon: require('../../assets/mine-icon5.png'), router: '' },
41
+      { name: '盘客工具', icon: require('../../assets/mine-icon6.png'), router: '' }
42
+    ],
43
+    [
44
+      { name: '我的分享', icon: require('../../assets/mine-icon9.png'), router: '' },
45
+      { name: '我的活动', icon: require('../../assets/mine-icon10.png'), router: '' },
46
+      { name: '我的课堂', icon: require('../../assets/mine-icon12.png'), router: '' },
47
+      { name: '我的收藏', icon: require('../../assets/mine-icon13.png'), router: '' }
48
+    ],
49
+    [
50
+      { name: '房贷计算器', icon: require('../../assets/mine-icon4.png'), router: '' },
51
+      { name: '购房百科', icon: require('../../assets/mine-icon2.png'), router: '' },
52
+      { name: '意见反馈', icon: require('../../assets/mine-icon16.png'), router: '' }
53
+    ]
54
+  ],
55
+  Resident: [ // 驻场管理
56
+    [
57
+      { name: '推荐客户', icon: require('../../assets/mine-icon8.png'), router: '' },
58
+      { name: '驻场管理', icon: require('../../assets/mine-icon17.png'), router: '' }
59
+    ],
60
+    [
61
+      { name: '我的客户', icon: require('../../assets/mine-icon11.png'), router: '' },
62
+      { name: '我的分享', icon: require('../../assets/mine-icon9.png'), router: '' },
63
+      { name: '我的活动', icon: require('../../assets/mine-icon10.png'), router: '' },
64
+      { name: '我的收藏', icon: require('../../assets/mine-icon13.png'), router: '' }
65
+    ],
66
+    [
67
+      { name: '房贷计算器', icon: require('../../assets/mine-icon4.png'), router: '' },
68
+      { name: '购房百科', icon: require('../../assets/mine-icon2.png'), router: '' },
69
+      { name: '意见反馈', icon: require('../../assets/mine-icon16.png'), router: '' }
70
+    ]
71
+  ]
72
+}
73
+
74
+export default MineMenuList

+ 109
- 513
src/routes.js 파일 보기

@@ -4,14 +4,6 @@ const routes = [
4 4
   /**********************************
5 5
    *  Tab 页面
6 6
    *********************************/
7
-
8
-  {
9
-    name: '我是',
10
-    page: 'pages/mine/index',
11
-    pkg: 'main',
12
-    isTab: true,
13
-    type: 'center',
14
-  },
15 7
   {
16 8
     name: '首页',
17 9
     page: 'pages/index/index',
@@ -33,515 +25,119 @@ const routes = [
33 25
     isTab: true,
34 26
     type: 'other',
35 27
   },
28
+  {
29
+    name: '我是',
30
+    page: 'pages/mine/index',
31
+    pkg: 'main',
32
+    isTab: true,
33
+    type: 'center',
34
+  },
36 35
 
37 36
   // /********************************
38 37
   //  * 项目相关
39 38
   //  *******************************/
40
-  // {
41
-  //   name: '项目列表',
42
-  //   page: 'pages/project/list/index',
43
-  //   pkg: 'main',
44
-  //   type: 'building',
45
-  // },
46
-  // {
47
-  //   name: '地图看房',
48
-  //   page: 'pages/project/map/index',
49
-  //   pkg: 'main',
50
-  //   type: 'building',
51
-  // },
52
-  // {
53
-  //   name: '项目详情',
54
-  //   page: 'pages/project/detail/index',
55
-  //   pkg: 'main',
56
-  //   type: 'building',
57
-  // },
58
-  // {
59
-  //   name: '项目亮点',
60
-  //   page: 'pages/project/detail/highLight',
61
-  //   pkg: 'main',
62
-  //   type: 'building',
63
-  // },
64
-  // {
65
-  //   name: '楼盘周边',
66
-  //   page: 'pages/project/detail/map',
67
-  //   pkg: 'main',
68
-  //   type: 'building',
69
-  // },
70
-  // {
71
-  //   name: '楼盘信息',
72
-  //   page: 'pages/project/floor/index',
73
-  //   pkg: 'main',
74
-  //   type: 'building',
75
-  // },
76
-  // {
77
-  //   name: '项目相册',
78
-  //   page: 'pages/project/album/index',
79
-  //   pkg: 'main',
80
-  //   type: 'building',
81
-  // },
82
-
83
-
84
-  // /**************************************
85
-  //  * 商城相关
86
-  //  *************************************/
87
-  // {
88
-  //   name: '积分规则',
89
-  //   page: 'pages/shop/rule/index',
90
-  //   pkg: 'main',
91
-  //   type: 'other',
92
-  // },
93
-  // {
94
-  //   name: '积分明细',
95
-  //   page: 'pages/shop/integralDetail/index',
96
-  //   pkg: 'main',
97
-  //   type: 'other',
98
-  // },
99
-  // {
100
-  //   name: '商品详情',
101
-  //   page: 'pages/shop/detail/index',
102
-  //   pkg: 'main',
103
-  //   type: 'other',
104
-  // },
105
-
106
-
107
-  // /************************************
108
-  //  * 个人中心
109
-  //  ***********************************/
110
-  // {
111
-  //   name: '登录',
112
-  //   page: 'pages/person/login/index',
113
-  //   pkg: 'main',
114
-  //   type: 'other',
115
-  // },
116
-  // {
117
-  //   name: '我的分享',
118
-  //   page: 'pages/person/myShare/index',
119
-  //   pkg: 'main',
120
-  //   type: 'other',
121
-  // },
122
-  // {
123
-  //   name: '我的活动',
124
-  //   page: 'pages/activity/myActivity',
125
-  //   pkg: 'main',
126
-  //   type: 'activity',
127
-  // },
128
-  // {
129
-  //   name: '我的拼团',
130
-  //   page: 'pages/activity/assemblePage',
131
-  //   pkg: 'main',
132
-  //   type: 'activity',
133
-  // },
134
-  // {
135
-  //   name: '我的助力',
136
-  //   page: 'pages/activity/assistancePage',
137
-  //   pkg: 'main',
138
-  //   type: 'activity',
139
-  // },
140
-  // {
141
-  //   name: '我的推广码',
142
-  //   page: 'pages/person/spread/index',
143
-  //   pkg: 'main',
144
-  //   type: 'other',
145
-  // },
146
-  // {
147
-  //   name: '我的卡片',
148
-  //   page: 'pages/card/index',
149
-  //   pkg: 'main',
150
-  //   type: 'card',
151
-  // },
152
-  // {
153
-  //   name: '更换头像',
154
-  //   page: 'pages/card/photo',
155
-  //   pkg: 'main',
156
-  //   type: 'card',
157
-  // },
158
-  // {
159
-  //   name: '我的客户',
160
-  //   page: 'pages/person/myGuest/index',
161
-  //   pkg: 'main',
162
-  //   type: 'agent',
163
-  // },
164
-  // {
165
-  //   name: '我的收藏',
166
-  //   page: 'pages/person/favorite/index',
167
-  //   pkg: 'main',
168
-  //   type: 'other',
169
-  // },
170
-  // {
171
-  //   name: '个人资料',
172
-  //   page: 'pages/person/personDetail/index',
173
-  //   pkg: 'main',
174
-  //   type: 'center',
175
-  // },
176
-  // {
177
-  //   name: '编辑资料',
178
-  //   page: 'pages/person/personDetail/editDetail/index',
179
-  //   pkg: 'main',
180
-  //   type: 'center',
181
-  // },
182
-  // {
183
-  //   name: '每日签到',
184
-  //   page: 'pages/signin/index',
185
-  //   pkg: 'main',
186
-  //   type: 'other',
187
-  // },
188
-
189
-
190
-  // /****************************************
191
-  //  * 置业相关
192
-  //  ***************************************/
193
-  // {
194
-  //   name: '置业列表',
195
-  //   page: 'pages/card/list/index',
196
-  //   pkg: 'main',
197
-  //   type: 'other',
198
-  // },
199
-  // {
200
-  //   name: '置业绑定',
201
-  //   page: 'pages/card/register/index',
202
-  //   pkg: 'main',
203
-  //   type: 'other',
204
-  // },
205
-  // {
206
-  //   name: '咨询列表',
207
-  //   page: 'pages/im/list/index',
208
-  //   pkg: 'main',
209
-  //   type: 'info',
210
-  // },
211
-  // {
212
-  //   name: '聊天咨询',
213
-  //   page: 'pages/im/index',
214
-  //   pkg: 'main',
215
-  //   type: 'info',
216
-  // },
217
-  // {
218
-  //   name: '卡片围观记录',
219
-  //   page: 'pages/card/fans/index',
220
-  //   pkg: 'main',
221
-  //   type: 'other',    
222
-  // },
223
-
224
-  // /***********************************
225
-  //  * 客户相关
226
-  //  **********************************/
227
-  // {
228
-  //   name: '访客信息',
229
-  //   page: 'pages/person/myShare/accessRecord',
230
-  //   pkg: 'main',
231
-  //   type: 'agent',
232
-  // },
233
-  // {
234
-  //   name: '客户详情',
235
-  //   page: 'pages/person/myGuest/editGuest/index',
236
-  //   pkg: 'main',
237
-  //   type: 'agent',
238
-  // },
239
-  // {
240
-  //   name: '报备客户',
241
-  //   page: 'pages/report/index',
242
-  //   pkg: 'main',
243
-  //   type: 'agent',
244
-  // },
245
-  // {
246
-  //   name: '报备授权',
247
-  //   page: 'pages/report/login/index',
248
-  //   pkg: 'main',
249
-  //   type: 'agent',
250
-  // },
251
-  // {
252
-  //   name: '报备详情',
253
-  //   page: 'pages/report/detail/index',
254
-  //   pkg: 'main',
255
-  //   type: 'agent',
256
-  // },
257
-
258
-
259
-  // /************************************
260
-  //  * 活动资讯
261
-  //  ***********************************/
262
-  // {
263
-  //   name: 'H5',
264
-  //   page: 'pages/project/h5Page',
265
-  //   pkg: 'main',
266
-  //   type: 'activity',
267
-  // },
268
-  // {
269
-  //   name: '活动详情',
270
-  //   page: 'pages/activity/detail/index',
271
-  //   pkg: 'main',
272
-  //   type: 'activity',
273
-  // },
274
-  // {
275
-  //   name: '助力详情',
276
-  //   page: 'pages/activity/detail/assistance',
277
-  //   pkg: 'main',
278
-  //   type: 'activity',
279
-  // },
280
-  // {
281
-  //   name: '拼团详情',
282
-  //   page: 'pages/activity/detail/assemble',
283
-  //   pkg: 'main',
284
-  //   type: 'activity',
285
-  // },
286
-  // {
287
-  //   name: '资讯详情',
288
-  //   page: 'pages/news/detail/index',
289
-  //   pkg: 'main',
290
-  //   type: 'news',
291
-  // },
292
-  // {
293
-  //   name: '签到',
294
-  //   page: 'pages/checkin/index',
295
-  //   pkg: 'main',
296
-  //   type: 'activity',
297
-  // },
298
-  // {
299
-  //   name: '签到结果',
300
-  //   page: 'pages/checkin/checkinsuccess/index',
301
-  //   pkg: 'main',
302
-  //   type: 'activity',
303
-  // },
304
-
305
-  // /*****************************************
306
-  //  * 其他
307
-  //  ****************************************/
308
-  // {
309
-  //   name: '授权',
310
-  //   page: 'pages/person/authorize/index',
311
-  //   pkg: 'main',
312
-  //   type: 'other',
313
-  // },
314
-  // {
315
-  //   name: '支付',
316
-  //   page: 'pages/project/pay',
317
-  //   pkg: 'main',
318
-  //   type: 'other',
319
-  // },
320
-  // {
321
-  //   name: '授权',
322
-  //   page: 'pages/auth/index',
323
-  //   pkg: 'main',
324
-  //   type: 'other',
325
-  // },
326
-  // {
327
-  //   name: '购房政策列表',
328
-  //   page: 'pages/policy/index',
329
-  //   pkg: 'main',
330
-  //   type: 'other',
331
-  // },
332
-  // {
333
-  //   name: '购房政策详情',
334
-  //   page: 'pages/policy/detail/index',
335
-  //   pkg: 'main',
336
-  //   type: 'other',
337
-  // },
338
-  // {
339
-  //   name: '房贷计算器',
340
-  //   page: 'pages/toolKit/index',
341
-  //   pkg: 'main',
342
-  //   type: 'other',
343
-  // },
344
-  // {
345
-  //   name: '房贷计算结果',
346
-  //   page: 'pages/toolKit/calculateResult/index',
347
-  //   pkg: 'main',
348
-  //   type: 'other',
349
-  // },
350
-  // {
351
-  //   name: '城市列表',
352
-  //   page: 'pages/city/index',
353
-  //   pkg: 'main',
354
-  //   type: 'other',
355
-  // },
356
-  // {
357
-  //   name: '外链容器页',
358
-  //   page: 'pages/project/panorama/index',
359
-  //   pkg: 'main',
360
-  //   type: 'other',
361
-  // },
362
-
363
-  // /**
364
-  //  * 子包: 在线购房
365
-  //  */
366
-  // {
367
-  //   name: '房源列表',
368
-  //   page: 'pages/houseList/index',
369
-  //   pkg: 'onlineSelling',
370
-  //   type: 'house',
371
-  // },
372
-  // {
373
-  //   name: '认筹流程',
374
-  //   page: 'pages/raiseMoney/index',
375
-  //   pkg: 'onlineSelling',
376
-  //   type: 'house',
377
-  // },
378
-  // {
379
-  //   name: '合同签署结果',
380
-  //   page: 'pages/raiseMoney/signResult',
381
-  //   pkg: 'onlineSelling',
382
-  //   type: 'house',
383
-  // },
384
-  // {
385
-  //   name: '实名认证',
386
-  //   page: 'pages/raiseMoney/Certification',
387
-  //   pkg: 'onlineSelling',
388
-  //   type: 'house',
389
-  // },
390
-  // {
391
-  //   name: '直播详情',
392
-  //   page: 'pages/live/index',
393
-  //   pkg: 'onlineSelling',
394
-  //   type: 'live',
395
-  // },
396
-  // {
397
-  //   name: '选房帮助',
398
-  //   page: 'pages/help/index',
399
-  //   pkg: 'onlineSelling',
400
-  //   type: 'house',
401
-  // },
402
-  // {
403
-  //   name: '选房记录',
404
-  //   page: 'pages/records/index',
405
-  //   pkg: 'onlineSelling',
406
-  //   type: 'house',
407
-  // },
408
-  // {
409
-  //   name: '房源详情',
410
-  //   page: 'pages/detail/index',
411
-  //   pkg: 'onlineSelling',
412
-  //   type: 'house',
413
-  // },
414
-  // {
415
-  //   name: '预选结果',
416
-  //   page: 'pages/detail/resultPage',
417
-  //   pkg: 'onlineSelling',
418
-  //   type: 'house',
419
-  // },
420
-  // {
421
-  //   name: '筛选房源',
422
-  //   page: 'pages/screenHouse/index',
423
-  //   pkg: 'onlineSelling',
424
-  //   type: 'house',
425
-  // },
426
-  // {
427
-  //   name: '选择置业',
428
-  //   page: 'pages/chooseConsultant/index',
429
-  //   pkg: 'onlineSelling',
430
-  //   type: 'house',
431
-  // },
432
-  // {
433
-  //   name: '认筹协议',
434
-  //   page: 'pages/protocol/index',
435
-  //   pkg: 'onlineSelling',
436
-  //   type: 'house',
437
-  // },
438
-  // {
439
-  //   name: '认筹单',
440
-  //   page: 'pages/raiseProfile/index',
441
-  //   pkg: 'onlineSelling',
442
-  //   type: 'house',
443
-  // },
444
-  // {
445
-  //   name: '房源清单',
446
-  //   page: 'pages/raiseProfile/houseResource',
447
-  //   pkg: 'onlineSelling',
448
-  //   type: 'house',
449
-  // },
450
-  // {
451
-  //   name: '添加预选房源',
452
-  //   page: 'pages/addHouse/index',
453
-  //   pkg: 'onlineSelling',
454
-  //   type: 'house',
455
-  // },
456
-  // {
457
-  //   name: '添加其他房源',
458
-  //   page: 'pages/houseCart/index',
459
-  //   pkg: 'onlineSelling',
460
-  //   type: 'house',
461
-  // },
462
-
463
-
464
-  // /**
465
-  //  * 子包: 不常用功能
466
-  //  */
467
-  // {
468
-  //   name: '盘客工具',
469
-  //   page: 'pages/person/customerAnalysis/index',
470
-  //   pkg: 'useless',
471
-  //   type: 'agent',
472
-  // },
473
-  // {
474
-  //   name: '我的客户',   // 置业-我的客户
475
-  //   page: 'pages/person/customerAnalysis/myCustomer',
476
-  //   pkg: 'useless',
477
-  //   type: 'agent',
478
-  // },
479
-  // {
480
-  //   name: '客户分析',
481
-  //   page: 'pages/person/customerAnalysis/analysis',
482
-  //   pkg: 'useless',
483
-  //   type: 'agent',
484
-  // },
485
-  // {
486
-  //   name: '我的资料',
487
-  //   page: 'pages/person/profile/index',
488
-  //   pkg: 'useless',
489
-  //   type: 'agent',
490
-  // },
491
-  // {
492
-  //   name: '资料审核',
493
-  //   page: 'pages/person/profile/detail/index',
494
-  //   pkg: 'useless',
495
-  //   type: 'agent',
496
-  // },
497
-  // {
498
-  //   name: '我的主页',
499
-  //   page: 'pages/agent/index',
500
-  //   pkg: 'useless',
501
-  //   type: 'agent',
502
-  // },
503
-  // {
504
-  //   name: '成为经纪人',
505
-  //   page: 'pages/agent/become/index',
506
-  //   pkg: 'useless',
507
-  //   type: 'agent',
508
-  // },
509
-  // {
510
-  //   name: '推荐客户',
511
-  //   page: 'pages/agent/recommend/index',
512
-  //   pkg: 'useless',
513
-  //   type: 'agent',
514
-  // },
515
-  // {
516
-  //   name: '我的客户',   // 经纪人-我的客户
517
-  //   page: 'pages/agent/client/index',
518
-  //   pkg: 'useless',
519
-  //   type: 'agent',
520
-  // },
521
-  // {
522
-  //   name: '客户审核进度',
523
-  //   page: 'pages/agent/progress/index',
524
-  //   pkg: 'useless',
525
-  //   type: 'agent',
526
-  // },
527
-  // {
528
-  //   name: '意见反馈',
529
-  //   page: 'pages/person/feedback/index',
530
-  //   pkg: 'useless',
531
-  //   type: 'other',
532
-  // },
533
-  // {
534
-  //   name: '积分兑换记录',
535
-  //   page: 'pages/shop/record/index',
536
-  //   pkg: 'useless',
537
-  //   type: 'other',
538
-  // },
539
-  // {
540
-  //   name: '我的邀请',
541
-  //   page: 'pages/agent/invitation/index',
542
-  //   pkg: 'useless',
543
-  //   type: '',
544
-  // },
39
+  {
40
+    name: '定位',
41
+    page: 'pages/index/location/index',
42
+    pkg: 'main',
43
+    type: 'other',
44
+  },
45
+  {
46
+    name: '楼盘搜索',
47
+    page: 'pages/index/buildingSearch/index',
48
+    pkg: 'main',
49
+    type: 'building',
50
+  },
51
+  {
52
+    name: '楼盘列表',
53
+    page: 'pages/index/buildingList/index',
54
+    pkg: 'main',
55
+    type: 'building',
56
+  },
57
+  {
58
+    name: '楼盘详情',
59
+    page: 'pages/index/buildingDetail/index',
60
+    pkg: 'main',
61
+    type: 'building',
62
+  },
63
+  {
64
+    name: '品牌列表',
65
+    page: 'pages/index/brandList/index',
66
+    pkg: 'main',
67
+    type: 'building',
68
+  },
69
+  {
70
+    name: '帮我找房',
71
+    page: 'pages/index/helpToFindHouse/index',
72
+    pkg: 'main',
73
+    type: 'building',
74
+  },
75
+  {
76
+    name: '增值服务',
77
+    page: 'pages/index/addedValueService/index',
78
+    pkg: 'main',
79
+    type: 'building',
80
+  },
81
+  {
82
+    name: '地图找房',
83
+    page: 'pages/index/findHouseFromMap/index',
84
+    pkg: 'main',
85
+    type: 'building',
86
+  },
87
+  {
88
+    name: '活动列表',
89
+    page: 'pages/index/activityList/index',
90
+    pkg: 'main',
91
+    type: 'activity',
92
+  },
93
+  {
94
+    name: '活动详情',
95
+    page: 'pages/index/activityDetail/index',
96
+    pkg: 'main',
97
+    type: 'activity',
98
+  },
99
+  {
100
+    name: '特价房',
101
+    page: 'pages/index/specialPriceHouse/index',
102
+    pkg: 'main',
103
+    type: 'building',
104
+  },
105
+  {
106
+    name: '康养',
107
+    page: 'pages/index/recovered/index',
108
+    pkg: 'main',
109
+    type: 'building',
110
+  },
111
+  {
112
+    name: '文旅商办',
113
+    page: 'pages/index/culturalAndBusiness/index',
114
+    pkg: 'main',
115
+    type: 'building',
116
+  },
117
+  {
118
+    name: '新闻资讯',
119
+    page: 'pages/index/newsList/index',
120
+    pkg: 'main',
121
+    type: 'news',
122
+  },
123
+  {
124
+    name: '资讯详情',
125
+    page: 'pages/index/newsDetail/index',
126
+    pkg: 'main',
127
+    type: 'news',
128
+  },
129
+  {
130
+    name: '购房百科',
131
+    page: 'pages/index/encyclopediasOfBuyHouse/index',
132
+    pkg: 'main',
133
+    type: 'building',
134
+  },
135
+  {
136
+    name: '房贷计算',
137
+    page: 'pages/index/mortgageCalculation/index',
138
+    pkg: 'main',
139
+    type: 'building',
140
+  },
545 141
 
546 142
 ]
547 143