Your Name 3 år sedan
förälder
incheckning
453932da61
100 ändrade filer med 1478 tillägg och 675 borttagningar
  1. Binär
      README.md
  2. 1
    1
      project.config.json
  3. 30
    30
      src/actions/activity.js
  4. 59
    59
      src/actions/card.js
  5. 30
    30
      src/actions/city.js
  6. 32
    32
      src/actions/news.js
  7. 53
    53
      src/actions/project.js
  8. 88
    88
      src/actions/shop.js
  9. 86
    86
      src/actions/user.js
  10. 13
    1
      src/app.config.js
  11. Binär
      src/assets/buildingDetail-icon1.png
  12. Binär
      src/assets/buildingDetail-icon2.png
  13. Binär
      src/assets/buildingDetail-icon3.png
  14. Binär
      src/assets/buildingDetail-icon4.jpg
  15. 146
    0
      src/assets/css/iconfont.css
  16. Binär
      src/assets/css/iconfont.eot
  17. 1
    0
      src/assets/css/iconfont.js
  18. 233
    0
      src/assets/css/iconfont.json
  19. 122
    0
      src/assets/css/iconfont.svg
  20. Binär
      src/assets/css/iconfont.ttf
  21. Binär
      src/assets/css/iconfont.woff
  22. Binär
      src/assets/css/iconfont.woff2
  23. Binär
      src/assets/ency-icon1.png
  24. Binär
      src/assets/ency-icon2.png
  25. Binär
      src/assets/ency-icon3.png
  26. Binär
      src/assets/ency-icon4.png
  27. Binär
      src/assets/ency-icon5.png
  28. Binär
      src/assets/ency-icon6.png
  29. Binär
      src/assets/findHouse-icon1.png
  30. Binär
      src/assets/index-icon1.png
  31. Binär
      src/assets/index-icon10.png
  32. Binär
      src/assets/index-icon11.png
  33. Binär
      src/assets/index-icon12.png
  34. Binär
      src/assets/index-icon13.png
  35. Binär
      src/assets/index-icon14.png
  36. Binär
      src/assets/index-icon15.png
  37. Binär
      src/assets/index-icon16.png
  38. Binär
      src/assets/index-icon2.png
  39. Binär
      src/assets/index-icon3.png
  40. Binär
      src/assets/index-icon4.png
  41. Binär
      src/assets/index-icon5.png
  42. Binär
      src/assets/index-icon6.png
  43. Binär
      src/assets/index-icon7.png
  44. Binär
      src/assets/index-icon8.png
  45. Binär
      src/assets/index-icon9.png
  46. Binär
      src/assets/mine-icon1.png
  47. Binär
      src/assets/mine-icon10.png
  48. Binär
      src/assets/mine-icon11.png
  49. Binär
      src/assets/mine-icon12.png
  50. Binär
      src/assets/mine-icon13.png
  51. Binär
      src/assets/mine-icon14.png
  52. Binär
      src/assets/mine-icon15.png
  53. Binär
      src/assets/mine-icon16.png
  54. Binär
      src/assets/mine-icon17.png
  55. Binär
      src/assets/mine-icon18.png
  56. Binär
      src/assets/mine-icon19.png
  57. Binär
      src/assets/mine-icon2.png
  58. Binär
      src/assets/mine-icon20.png
  59. Binär
      src/assets/mine-icon21.png
  60. Binär
      src/assets/mine-icon22.png
  61. Binär
      src/assets/mine-icon23.png
  62. Binär
      src/assets/mine-icon24.png
  63. Binär
      src/assets/mine-icon25.png
  64. Binär
      src/assets/mine-icon26.png
  65. Binär
      src/assets/mine-icon27.png
  66. Binär
      src/assets/mine-icon28.png
  67. Binär
      src/assets/mine-icon3.png
  68. Binär
      src/assets/mine-icon4.png
  69. Binär
      src/assets/mine-icon5.png
  70. Binär
      src/assets/mine-icon6.png
  71. Binär
      src/assets/mine-icon7.png
  72. Binär
      src/assets/mine-icon8.png
  73. Binär
      src/assets/mine-icon9.png
  74. Binär
      src/assets/tabbar/chat1.png
  75. Binär
      src/assets/tabbar/chat2.png
  76. Binär
      src/assets/tabbar/video1.png
  77. Binär
      src/assets/tabbar/video2.png
  78. 2
    1
      src/components/ProjectListItem/index.jsx
  79. 8
    5
      src/components/ProjectListItem/index.scss
  80. 237
    237
      src/constants/api.js
  81. 5
    5
      src/constants/card.js
  82. 2
    2
      src/constants/checkin.js
  83. 2
    2
      src/constants/city.js
  84. 1
    1
      src/constants/login.js
  85. 4
    4
      src/constants/news.js
  86. 4
    4
      src/constants/project.js
  87. 7
    7
      src/constants/shop.js
  88. 18
    18
      src/constants/user.js
  89. 7
    6
      src/layout/Basic/index.jsx
  90. 4
    3
      src/layout/index.js
  91. 3
    0
      src/pages/chat/index.config.js
  92. 57
    0
      src/pages/chat/index.jsx
  93. 81
    0
      src/pages/chat/index.scss
  94. 3
    0
      src/pages/index/activityDetail/index.config.js
  95. 45
    0
      src/pages/index/activityDetail/index.jsx
  96. 12
    0
      src/pages/index/activityDetail/index.scss
  97. 3
    0
      src/pages/index/activityList/index.config.js
  98. 45
    0
      src/pages/index/activityList/index.jsx
  99. 34
    0
      src/pages/index/activityList/index.scss
  100. 0
    0
      src/pages/index/addedValueService/index.config.js

Binär
README.md Visa fil


+ 1
- 1
project.config.json Visa fil

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

+ 30
- 30
src/actions/activity.js Visa fil

@@ -1,30 +1,30 @@
1
-import {
2
-  ACTIVITY_SIGNIN
3
-} from '@/constants/activity'
4
-
5
-import {
6
-  API_ACTIVITY_SIGNIN
7
-} from '@/constants/api'
8
-
9
-import { createAction } from '@/utils/redux'
10
-
11
-/**
12
- * 个人签到
13
- * @param {*} id 
14
- */
15
-export const dispatchSignin = id => createAction({
16
-  url: `${API_ACTIVITY_SIGNIN}/${id}`,
17
-  type: ACTIVITY_SIGNIN,
18
-  method: 'POST'
19
-})
20
-
21
-/**
22
- * 判断是否签到
23
- * @param {*} id 
24
- */
25
-export const dispatchSigninCheck = id => createAction({
26
-  url: `${API_ACTIVITY_SIGNIN}/${id}/isChecked`,
27
-  type: ACTIVITY_SIGNIN
28
-})
29
-
30
-
1
+import {
2
+  ACTIVITY_SIGNIN
3
+} from '@/constants/activity'
4
+
5
+import {
6
+  API_ACTIVITY_SIGNIN
7
+} from '@/constants/api'
8
+
9
+import { createAction } from '@/utils/redux'
10
+
11
+/**
12
+ * 个人签到
13
+ * @param {*} id 
14
+ */
15
+export const dispatchSignin = id => createAction({
16
+  url: `${API_ACTIVITY_SIGNIN}/${id}`,
17
+  type: ACTIVITY_SIGNIN,
18
+  method: 'POST'
19
+})
20
+
21
+/**
22
+ * 判断是否签到
23
+ * @param {*} id 
24
+ */
25
+export const dispatchSigninCheck = id => createAction({
26
+  url: `${API_ACTIVITY_SIGNIN}/${id}/isChecked`,
27
+  type: ACTIVITY_SIGNIN
28
+})
29
+
30
+

+ 59
- 59
src/actions/card.js Visa fil

@@ -1,59 +1,59 @@
1
-import {
2
-  CARD_INFO,
3
-  CARD_LIST,
4
-  CARD_LIKE,
5
-  CARD_UNLIKE
6
-} from '@/constants/card'
7
-
8
-import {
9
-  API_CARDS_LIST,
10
-  API_CARDS_LIKE
11
-} from '@/constants/api'
12
-
13
-import { createAction } from '@/utils/redux'
14
-import { toQueryString } from '@/utils/tools'
15
-
16
-/**
17
- * 获取卡片信息
18
- * @param {*} id
19
- */
20
-export const dispatchCardInfo = (id, params, options) => createAction({
21
-  url: `${API_CARDS_LIST}/${id}?${toQueryString(params)}`,
22
-  type: CARD_INFO,
23
-  fetchOptions: options || {}
24
-})
25
-
26
-/**
27
- * 获取置业顾问列表
28
- */
29
-export const dispatchCardList = (payload) => createAction({
30
-  url: `${API_CARDS_LIST}`,
31
-  type: CARD_LIST,
32
-  payload
33
-})
34
-
35
-
36
-/**
37
- * 卡片点赞
38
- * @param {*} id 
39
- */
40
-export const dispatchCardLike = id => createAction({
41
-  url: `${API_CARDS_LIKE}/${id}`,
42
-  type: CARD_LIKE,
43
-  method: 'POST'
44
-})
45
-
46
-
47
-/**
48
- * 卡片取消点赞
49
- * @param {*} id 
50
- */
51
-export const dispatchCardUnlike = id => createAction({
52
-  url: `${API_CARDS_LIKE}/${id}`,
53
-  type: CARD_UNLIKE,
54
-  method: 'DELETE'
55
-})
56
-
57
-
58
-
59
-
1
+import {
2
+  CARD_INFO,
3
+  CARD_LIST,
4
+  CARD_LIKE,
5
+  CARD_UNLIKE
6
+} from '@/constants/card'
7
+
8
+import {
9
+  API_CARDS_LIST,
10
+  API_CARDS_LIKE
11
+} from '@/constants/api'
12
+
13
+import { createAction } from '@/utils/redux'
14
+import { toQueryString } from '@/utils/tools'
15
+
16
+/**
17
+ * 获取卡片信息
18
+ * @param {*} id
19
+ */
20
+export const dispatchCardInfo = (id, params, options) => createAction({
21
+  url: `${API_CARDS_LIST}/${id}?${toQueryString(params)}`,
22
+  type: CARD_INFO,
23
+  fetchOptions: options || {}
24
+})
25
+
26
+/**
27
+ * 获取置业顾问列表
28
+ */
29
+export const dispatchCardList = (payload) => createAction({
30
+  url: `${API_CARDS_LIST}`,
31
+  type: CARD_LIST,
32
+  payload
33
+})
34
+
35
+
36
+/**
37
+ * 卡片点赞
38
+ * @param {*} id 
39
+ */
40
+export const dispatchCardLike = id => createAction({
41
+  url: `${API_CARDS_LIKE}/${id}`,
42
+  type: CARD_LIKE,
43
+  method: 'POST'
44
+})
45
+
46
+
47
+/**
48
+ * 卡片取消点赞
49
+ * @param {*} id 
50
+ */
51
+export const dispatchCardUnlike = id => createAction({
52
+  url: `${API_CARDS_LIKE}/${id}`,
53
+  type: CARD_UNLIKE,
54
+  method: 'DELETE'
55
+})
56
+
57
+
58
+
59
+

+ 30
- 30
src/actions/city.js Visa fil

@@ -1,30 +1,30 @@
1
-import {
2
-  CITY_LIST,
3
-  CITY_SELECTED
4
-} from '@/constants/city'
5
-
6
-import {
7
-  API_CITY_LIST
8
-} from '@/constants/api'
9
-
10
-import { createAction, createActionNormal } from '@/utils/redux'
11
-
12
-/**
13
- * 获取城市列表
14
- * @param {*} payload 
15
- */
16
-export const dispatchCityList = payload => createAction({
17
-  url: API_CITY_LIST,
18
-  type: CITY_LIST,
19
-  payload
20
-})
21
-
22
-/**
23
- * 获取城市列表
24
- * @param {*} payload 
25
- */
26
-export const dispatchCitySelected = payload => createActionNormal({
27
-  type: CITY_SELECTED,
28
-  payload
29
-})
30
-
1
+import {
2
+  CITY_LIST,
3
+  CITY_SELECTED
4
+} from '@/constants/city'
5
+
6
+import {
7
+  API_CITY_LIST
8
+} from '@/constants/api'
9
+
10
+import { createAction, createActionNormal } from '@/utils/redux'
11
+
12
+/**
13
+ * 获取城市列表
14
+ * @param {*} payload 
15
+ */
16
+export const dispatchCityList = payload => createAction({
17
+  url: API_CITY_LIST,
18
+  type: CITY_LIST,
19
+  payload
20
+})
21
+
22
+/**
23
+ * 获取城市列表
24
+ * @param {*} payload 
25
+ */
26
+export const dispatchCitySelected = payload => createActionNormal({
27
+  type: CITY_SELECTED,
28
+  payload
29
+})
30
+

+ 32
- 32
src/actions/news.js Visa fil

@@ -1,32 +1,32 @@
1
-import {
2
-  NEWS_LIST
3
-} from '@/constants/news'
4
-
5
-import {
6
-  API_NEWS_LIST,
7
-
8
-} from '@/constants/api'
9
-
10
-import { createAction } from '@/utils/redux'
11
-
12
-
13
-/**
14
- * 资讯列表
15
- * @param {*} payload 
16
- */
17
-export const dispatchNewsList = payload => createAction({
18
-  url: API_NEWS_LIST,
19
-  type: NEWS_LIST,
20
-  payload
21
-})
22
-
23
-
24
-/**
25
- * 资讯详情
26
- * @param {*} id 
27
- */
28
-export const dispatchNewsDetail = id => createAction({
29
-  url: `${API_NEWS_LIST}/${id}`,
30
-  type: NEWS_DETAIL,
31
-  payload
32
-})
1
+import {
2
+  NEWS_LIST
3
+} from '@/constants/news'
4
+
5
+import {
6
+  API_NEWS_LIST,
7
+
8
+} from '@/constants/api'
9
+
10
+import { createAction } from '@/utils/redux'
11
+
12
+
13
+/**
14
+ * 资讯列表
15
+ * @param {*} payload 
16
+ */
17
+export const dispatchNewsList = payload => createAction({
18
+  url: API_NEWS_LIST,
19
+  type: NEWS_LIST,
20
+  payload
21
+})
22
+
23
+
24
+/**
25
+ * 资讯详情
26
+ * @param {*} id 
27
+ */
28
+export const dispatchNewsDetail = id => createAction({
29
+  url: `${API_NEWS_LIST}/${id}`,
30
+  type: NEWS_DETAIL,
31
+  payload
32
+})

+ 53
- 53
src/actions/project.js Visa fil

@@ -1,53 +1,53 @@
1
-import {
2
-  PROJECT_DETAIL,
3
-  PROJECT_LIST,
4
-  PROJECT_SCREEN
5
-} from '@/constants/project'
6
-
7
-import {
8
-  API_ITEMS_DETAIL,
9
-  API_ITEMS_LIST,
10
-  API_BANNER_LIST,
11
-  API_INDEX_PROJECTS,
12
-} from '@/constants/api'
13
-
14
-import { createAction } from '@/utils/redux'
15
-import { toQueryString } from '@/utils/tools'
16
-
17
-/**
18
- * 获取楼盘列表
19
- * @param {*} payload 
20
- */
21
-export const dispatchProjectList = payload => createAction({
22
-  url: `${API_ITEMS_LIST}`,
23
-  type: PROJECT_LIST,
24
-  payload
25
-})
26
-
27
-/**
28
- * 获取楼盘列表
29
- * @param {*} payload 
30
- */
31
-export const dispatchIndexProjects = payload => createAction({
32
-  url: `${API_INDEX_PROJECTS}`,
33
-  type: PROJECT_LIST,
34
-  payload
35
-})
36
-
37
-
38
-/**
39
- * 获取项目信息
40
- * @param {*} id 
41
- */
42
-export const dispatchProjectDetail = (id, params, options) => createAction({
43
-  url: `${API_ITEMS_DETAIL}/${id}?${toQueryString(params)}`,
44
-  type: PROJECT_DETAIL,
45
-  fetchOptions: options || {}
46
-})
47
-
48
-/**
49
- * 获取开屏广告
50
- *  @param {*} payload 
51
- * 
52
-*/
53
-export const dispatchProjectScreen = (payload) => createAction({ url: `${API_BANNER_LIST}/screen`, payload, type: PROJECT_SCREEN })
1
+import {
2
+  PROJECT_DETAIL,
3
+  PROJECT_LIST,
4
+  PROJECT_SCREEN
5
+} from '@/constants/project'
6
+
7
+import {
8
+  API_ITEMS_DETAIL,
9
+  API_ITEMS_LIST,
10
+  API_BANNER_LIST,
11
+  API_INDEX_PROJECTS,
12
+} from '@/constants/api'
13
+
14
+import { createAction } from '@/utils/redux'
15
+import { toQueryString } from '@/utils/tools'
16
+
17
+/**
18
+ * 获取楼盘列表
19
+ * @param {*} payload 
20
+ */
21
+export const dispatchProjectList = payload => createAction({
22
+  url: `${API_ITEMS_LIST}`,
23
+  type: PROJECT_LIST,
24
+  payload
25
+})
26
+
27
+/**
28
+ * 获取楼盘列表
29
+ * @param {*} payload 
30
+ */
31
+export const dispatchIndexProjects = payload => createAction({
32
+  url: `${API_INDEX_PROJECTS}`,
33
+  type: PROJECT_LIST,
34
+  payload
35
+})
36
+
37
+
38
+/**
39
+ * 获取项目信息
40
+ * @param {*} id 
41
+ */
42
+export const dispatchProjectDetail = (id, params, options) => createAction({
43
+  url: `${API_ITEMS_DETAIL}/${id}?${toQueryString(params)}`,
44
+  type: PROJECT_DETAIL,
45
+  fetchOptions: options || {}
46
+})
47
+
48
+/**
49
+ * 获取开屏广告
50
+ *  @param {*} payload 
51
+ * 
52
+*/
53
+export const dispatchProjectScreen = (payload) => createAction({ url: `${API_BANNER_LIST}/screen`, payload, type: PROJECT_SCREEN })

+ 88
- 88
src/actions/shop.js Visa fil

@@ -1,89 +1,89 @@
1
-import {
2
-  GOODS_LIST,
3
-  GOODS_DETAIL,
4
-  GOODS_EXCHANGE,
5
-  GOODS_EXCHANGE_RECORDS,
6
-  POINTS_RECORDS,
7
-  POINTS_RULE,
8
-  POINTS_ADRESS
9
-} from '@/constants/shop'
10
-
11
-import {
12
-  API_GOODS_LIST,
13
-  API_GOODS_EXCHANGE,
14
-  API_GOODS_EXCHANGE_RECORDS,
15
-  API_POINTS_RECORDS,
16
-  API_POINTS_RULE,
17
-  API_POINTS_ADRESS
18
-} from '@/constants/api'
19
-
20
-import { createAction } from '@/utils/redux'
21
-
22
-
23
-
24
-
25
-
26
-
27
-/**
28
- * 商品详情
29
- * @param {*} id
30
- */
31
-export const dispatchGoodsDetail = id => createAction({
32
-  url: `${API_GOODS_LIST}/${id}`,
33
-  type: GOODS_DETAIL
34
-})
35
-
36
-
37
-
38
-/**
39
- * 商品兑换
40
- * @param {*} id
41
- */
42
-export const dispatchGoodsExchange = id => createAction({
43
-  url: `${API_GOODS_EXCHANGE}/${id}`,
44
-  type: GOODS_EXCHANGE,
45
-  method: 'POST'
46
-})
47
-
48
-
49
-/**
50
- * 商品兑换记录
51
- * @param {*} payload
52
- */
53
-export const dispatchGoodsExchangeRecords = payload => createAction({
54
-  url: `${API_GOODS_EXCHANGE_RECORDS}`,
55
-  type: GOODS_EXCHANGE_RECORDS,
56
-  payload
57
-})
58
-
59
-
60
-/**
61
- * 积分记录
62
- * @param {*} payload
63
- */
64
-export const dispatchPointsRecords = payload => createAction({
65
-  url: API_POINTS_RECORDS,
66
-  type: POINTS_RECORDS,
67
-  payload
68
-})
69
-
70
-/**
71
- * 积分规则
72
- * @param {*} payload
73
- */
74
-export const dispatchPointsRule = payload => createAction({
75
-  url: API_POINTS_RULE,
76
-  type: POINTS_RULE,
77
-  payload
78
-})
79
-
80
-/**
81
- * 请求地址
82
- * @param {*} payload
83
- */
84
-export const dispatchPointsAddress = payload => createAction({
85
-  url: `${API_POINTS_ADRESS}`,
86
-  type: POINTS_ADRESS,
87
-  payload,
88
-  method: 'PUT'
1
+import {
2
+  GOODS_LIST,
3
+  GOODS_DETAIL,
4
+  GOODS_EXCHANGE,
5
+  GOODS_EXCHANGE_RECORDS,
6
+  POINTS_RECORDS,
7
+  POINTS_RULE,
8
+  POINTS_ADRESS
9
+} from '@/constants/shop'
10
+
11
+import {
12
+  API_GOODS_LIST,
13
+  API_GOODS_EXCHANGE,
14
+  API_GOODS_EXCHANGE_RECORDS,
15
+  API_POINTS_RECORDS,
16
+  API_POINTS_RULE,
17
+  API_POINTS_ADRESS
18
+} from '@/constants/api'
19
+
20
+import { createAction } from '@/utils/redux'
21
+
22
+
23
+
24
+
25
+
26
+
27
+/**
28
+ * 商品详情
29
+ * @param {*} id
30
+ */
31
+export const dispatchGoodsDetail = id => createAction({
32
+  url: `${API_GOODS_LIST}/${id}`,
33
+  type: GOODS_DETAIL
34
+})
35
+
36
+
37
+
38
+/**
39
+ * 商品兑换
40
+ * @param {*} id
41
+ */
42
+export const dispatchGoodsExchange = id => createAction({
43
+  url: `${API_GOODS_EXCHANGE}/${id}`,
44
+  type: GOODS_EXCHANGE,
45
+  method: 'POST'
46
+})
47
+
48
+
49
+/**
50
+ * 商品兑换记录
51
+ * @param {*} payload
52
+ */
53
+export const dispatchGoodsExchangeRecords = payload => createAction({
54
+  url: `${API_GOODS_EXCHANGE_RECORDS}`,
55
+  type: GOODS_EXCHANGE_RECORDS,
56
+  payload
57
+})
58
+
59
+
60
+/**
61
+ * 积分记录
62
+ * @param {*} payload
63
+ */
64
+export const dispatchPointsRecords = payload => createAction({
65
+  url: API_POINTS_RECORDS,
66
+  type: POINTS_RECORDS,
67
+  payload
68
+})
69
+
70
+/**
71
+ * 积分规则
72
+ * @param {*} payload
73
+ */
74
+export const dispatchPointsRule = payload => createAction({
75
+  url: API_POINTS_RULE,
76
+  type: POINTS_RULE,
77
+  payload
78
+})
79
+
80
+/**
81
+ * 请求地址
82
+ * @param {*} payload
83
+ */
84
+export const dispatchPointsAddress = payload => createAction({
85
+  url: `${API_POINTS_ADRESS}`,
86
+  type: POINTS_ADRESS,
87
+  payload,
88
+  method: 'PUT'
89 89
 })

+ 86
- 86
src/actions/user.js Visa fil

@@ -1,86 +1,86 @@
1
-import {
2
-  USER_INFO,
3
-  // USER_QUERY_INFO,
4
-  USER_SIGNIN,
5
-  USER_GOODS,
6
-  UPDATE_USER_INFO
7
-} from '@/constants/user'
8
-
9
-import {
10
-  API_USER_INFO,
11
-  // API_QUERY_USER_INFO,
12
-  API_USER_SIGNIN,
13
-  API_QUERY_CUSTOMER_INFO,
14
-  API_QUERY_MYREPORT,
15
-  API_QUERY_USERINFO_BYID,
16
-  API_QUERY_DOCUMENTVERIFY
17
-} from '@/constants/api'
18
-
19
-import { createAction,createActionNormal } from '@/utils/redux'
20
-
21
-/**
22
- * 获取用户信息
23
- * @param {*} payload
24
- */
25
-export const dispatchUpdateUserInfo = payload => createAction({
26
-  url: API_USER_INFO,
27
-  type: USER_INFO,
28
-  payload,
29
-  method: 'POST'
30
-})
31
-
32
-// export const dispatchQueryUserInfo = payload => createAction({
33
-//   url: API_QUERY_USER_INFO,
34
-//   type: USER_QUERY_INFO,
35
-//   payload
36
-// })
37
-
38
-export const dispatchUpdateUserInfoNew = id => createAction({
39
-  url: `${API_QUERY_USERINFO_BYID}/${id}`,
40
-  type: UPDATE_USER_INFO
41
-})
42
-
43
-
44
-
45
-/**
46
- * 个人签到
47
- * @param {*} payload
48
- */
49
-export const dispatchUserSignin = payload => createAction({
50
-  url: API_USER_SIGNIN,
51
-  type: USER_SIGNIN,
52
-  payload,
53
-  method: 'POST'
54
-})
55
-
56
-
57
-/**
58
- * 更新我的商品兑换记录
59
- * @param {*} payload
60
- */
61
-export const dispatchUserGoods = payload => {
62
-  return dispatch => dispatch({ type: USER_GOODS, payload })
63
-}
64
-
65
-/**
66
- * 我的客户列表
67
- * @param {*} payload
68
- */
69
-export const dispatchCustomerInfo = payload => createAction({
70
-  url: API_QUERY_CUSTOMER_INFO,
71
-  type: '',
72
-  payload,
73
-  method: 'GET'
74
-})
75
-
76
-/**
77
- * 我报备的客户列表
78
- * @param {*} payload
79
- */
80
-export const dispatchMyReport = payload =>createAction({
81
-  url: API_QUERY_MYREPORT,
82
-  type: '',
83
-  payload,
84
-  method: 'GET'
85
-})
86
-
1
+import {
2
+  USER_INFO,
3
+  // USER_QUERY_INFO,
4
+  USER_SIGNIN,
5
+  USER_GOODS,
6
+  UPDATE_USER_INFO
7
+} from '@/constants/user'
8
+
9
+import {
10
+  API_USER_INFO,
11
+  // API_QUERY_USER_INFO,
12
+  API_USER_SIGNIN,
13
+  API_QUERY_CUSTOMER_INFO,
14
+  API_QUERY_MYREPORT,
15
+  API_QUERY_USERINFO_BYID,
16
+  API_QUERY_DOCUMENTVERIFY
17
+} from '@/constants/api'
18
+
19
+import { createAction,createActionNormal } from '@/utils/redux'
20
+
21
+/**
22
+ * 获取用户信息
23
+ * @param {*} payload
24
+ */
25
+export const dispatchUpdateUserInfo = payload => createAction({
26
+  url: API_USER_INFO,
27
+  type: USER_INFO,
28
+  payload,
29
+  method: 'POST'
30
+})
31
+
32
+// export const dispatchQueryUserInfo = payload => createAction({
33
+//   url: API_QUERY_USER_INFO,
34
+//   type: USER_QUERY_INFO,
35
+//   payload
36
+// })
37
+
38
+export const dispatchUpdateUserInfoNew = id => createAction({
39
+  url: `${API_QUERY_USERINFO_BYID}/${id}`,
40
+  type: UPDATE_USER_INFO
41
+})
42
+
43
+
44
+
45
+/**
46
+ * 个人签到
47
+ * @param {*} payload
48
+ */
49
+export const dispatchUserSignin = payload => createAction({
50
+  url: API_USER_SIGNIN,
51
+  type: USER_SIGNIN,
52
+  payload,
53
+  method: 'POST'
54
+})
55
+
56
+
57
+/**
58
+ * 更新我的商品兑换记录
59
+ * @param {*} payload
60
+ */
61
+export const dispatchUserGoods = payload => {
62
+  return dispatch => dispatch({ type: USER_GOODS, payload })
63
+}
64
+
65
+/**
66
+ * 我的客户列表
67
+ * @param {*} payload
68
+ */
69
+export const dispatchCustomerInfo = payload => createAction({
70
+  url: API_QUERY_CUSTOMER_INFO,
71
+  type: '',
72
+  payload,
73
+  method: 'GET'
74
+})
75
+
76
+/**
77
+ * 我报备的客户列表
78
+ * @param {*} payload
79
+ */
80
+export const dispatchMyReport = payload =>createAction({
81
+  url: API_QUERY_MYREPORT,
82
+  type: '',
83
+  payload,
84
+  method: 'GET'
85
+})
86
+

+ 13
- 1
src/app.config.js Visa fil

@@ -12,7 +12,7 @@ export default {
12 12
   },
13 13
   tabBar: {
14 14
     color: '#666',
15
-    selectedColor: '#BB9C79',
15
+    selectedColor: '#193C83',
16 16
 
17 17
     list: [
18 18
       {
@@ -21,6 +21,18 @@ export default {
21 21
         iconPath: './assets/tabbar/index1.png',
22 22
         selectedIconPath: './assets/tabbar/index2.png',
23 23
       },
24
+      {
25
+        pagePath: "pages/video/index",
26
+        text: "视频",
27
+        iconPath: './assets/tabbar/video1.png',
28
+        selectedIconPath: './assets/tabbar/video2.png',
29
+      },
30
+      {
31
+        pagePath: "pages/chat/index",
32
+        text: "消息",
33
+        iconPath: './assets/tabbar/chat1.png',
34
+        selectedIconPath: './assets/tabbar/chat2.png',
35
+      },
24 36
       {
25 37
         pagePath: "pages/mine/index",
26 38
         text: "我是",

Binär
src/assets/buildingDetail-icon1.png Visa fil


Binär
src/assets/buildingDetail-icon2.png Visa fil


Binär
src/assets/buildingDetail-icon3.png Visa fil


Binär
src/assets/buildingDetail-icon4.jpg Visa fil


+ 146
- 0
src/assets/css/iconfont.css
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


Binär
src/assets/css/iconfont.eot Visa fil


+ 1
- 0
src/assets/css/iconfont.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 233
- 0
src/assets/css/iconfont.json Visa fil

@@ -0,0 +1,233 @@
1
+{
2
+  "id": "2603904",
3
+  "name": "新联康",
4
+  "font_family": "iconfont",
5
+  "css_prefix_text": "icon-",
6
+  "description": "",
7
+  "glyphs": [
8
+    {
9
+      "icon_id": "8353259",
10
+      "name": "关  闭",
11
+      "font_class": "guanbi",
12
+      "unicode": "e60a",
13
+      "unicode_decimal": 58890
14
+    },
15
+    {
16
+      "icon_id": "11747664",
17
+      "name": "人气",
18
+      "font_class": "renqi",
19
+      "unicode": "e61e",
20
+      "unicode_decimal": 58910
21
+    },
22
+    {
23
+      "icon_id": "12542410",
24
+      "name": "点赞",
25
+      "font_class": "dianzan",
26
+      "unicode": "e603",
27
+      "unicode_decimal": 58883
28
+    },
29
+    {
30
+      "icon_id": "18609904",
31
+      "name": "编 辑",
32
+      "font_class": "xiugai",
33
+      "unicode": "e745",
34
+      "unicode_decimal": 59205
35
+    },
36
+    {
37
+      "icon_id": "7934584",
38
+      "name": "女性",
39
+      "font_class": "nvxing",
40
+      "unicode": "e6cd",
41
+      "unicode_decimal": 59085
42
+    },
43
+    {
44
+      "icon_id": "21849876",
45
+      "name": "男性",
46
+      "font_class": "nanxing",
47
+      "unicode": "e713",
48
+      "unicode_decimal": 59155
49
+    },
50
+    {
51
+      "icon_id": "16036802",
52
+      "name": "电  话",
53
+      "font_class": "dianhua",
54
+      "unicode": "e60d",
55
+      "unicode_decimal": 58893
56
+    },
57
+    {
58
+      "icon_id": "17197131",
59
+      "name": "用户",
60
+      "font_class": "yonghu",
61
+      "unicode": "e657",
62
+      "unicode_decimal": 58967
63
+    },
64
+    {
65
+      "icon_id": "7603903",
66
+      "name": "相机",
67
+      "font_class": "xiangji",
68
+      "unicode": "e641",
69
+      "unicode_decimal": 58945
70
+    },
71
+    {
72
+      "icon_id": "9055670",
73
+      "name": "勾",
74
+      "font_class": "gou",
75
+      "unicode": "e60c",
76
+      "unicode_decimal": 58892
77
+    },
78
+    {
79
+      "icon_id": "13312722",
80
+      "name": "帮 助",
81
+      "font_class": "bangzhu",
82
+      "unicode": "e712",
83
+      "unicode_decimal": 59154
84
+    },
85
+    {
86
+      "icon_id": "9664796",
87
+      "name": "收 藏",
88
+      "font_class": "shoucang1",
89
+      "unicode": "e614",
90
+      "unicode_decimal": 58900
91
+    },
92
+    {
93
+      "icon_id": "1984404",
94
+      "name": "排序",
95
+      "font_class": "paixu",
96
+      "unicode": "e689",
97
+      "unicode_decimal": 59017
98
+    },
99
+    {
100
+      "icon_id": "12198242",
101
+      "name": "三角形",
102
+      "font_class": "sanjiaoxingdown",
103
+      "unicode": "e602",
104
+      "unicode_decimal": 58882
105
+    },
106
+    {
107
+      "icon_id": "22258201",
108
+      "name": "三角形",
109
+      "font_class": "sanjiaoxingup",
110
+      "unicode": "e890",
111
+      "unicode_decimal": 59536
112
+    },
113
+    {
114
+      "icon_id": "11745026",
115
+      "name": "编辑",
116
+      "font_class": "bianji",
117
+      "unicode": "e608",
118
+      "unicode_decimal": 58888
119
+    },
120
+    {
121
+      "icon_id": "13939045",
122
+      "name": "地球",
123
+      "font_class": "diqiu",
124
+      "unicode": "e88f",
125
+      "unicode_decimal": 59535
126
+    },
127
+    {
128
+      "icon_id": "6664481",
129
+      "name": "声明",
130
+      "font_class": "shengming",
131
+      "unicode": "e601",
132
+      "unicode_decimal": 58881
133
+    },
134
+    {
135
+      "icon_id": "7821346",
136
+      "name": "我 的",
137
+      "font_class": "wode",
138
+      "unicode": "e654",
139
+      "unicode_decimal": 58964
140
+    },
141
+    {
142
+      "icon_id": "4950560",
143
+      "name": "首页-选中",
144
+      "font_class": "shouye",
145
+      "unicode": "e600",
146
+      "unicode_decimal": 58880
147
+    },
148
+    {
149
+      "icon_id": "1535331",
150
+      "name": "聊天",
151
+      "font_class": "liaotian",
152
+      "unicode": "e69b",
153
+      "unicode_decimal": 59035
154
+    },
155
+    {
156
+      "icon_id": "10297753",
157
+      "name": "视频",
158
+      "font_class": "camera",
159
+      "unicode": "e61a",
160
+      "unicode_decimal": 58906
161
+    },
162
+    {
163
+      "icon_id": "731139",
164
+      "name": "搜索",
165
+      "font_class": "sousuo",
166
+      "unicode": "e607",
167
+      "unicode_decimal": 58887
168
+    },
169
+    {
170
+      "icon_id": "1311980",
171
+      "name": "定位",
172
+      "font_class": "dingwei",
173
+      "unicode": "e63e",
174
+      "unicode_decimal": 58942
175
+    },
176
+    {
177
+      "icon_id": "14666058",
178
+      "name": "视频",
179
+      "font_class": "shipin",
180
+      "unicode": "e72b",
181
+      "unicode_decimal": 59179
182
+    },
183
+    {
184
+      "icon_id": "15346626",
185
+      "name": "音频",
186
+      "font_class": "yinpin",
187
+      "unicode": "e6ac",
188
+      "unicode_decimal": 59052
189
+    },
190
+    {
191
+      "icon_id": "17710127",
192
+      "name": "箭头",
193
+      "font_class": "jiantouleft",
194
+      "unicode": "e7ef",
195
+      "unicode_decimal": 59375
196
+    },
197
+    {
198
+      "icon_id": "19954259",
199
+      "name": "收 藏 (1)",
200
+      "font_class": "shoucang",
201
+      "unicode": "e629",
202
+      "unicode_decimal": 58921
203
+    },
204
+    {
205
+      "icon_id": "20587062",
206
+      "name": "爱心",
207
+      "font_class": "aixin",
208
+      "unicode": "e6b6",
209
+      "unicode_decimal": 59062
210
+    },
211
+    {
212
+      "icon_id": "22166463",
213
+      "name": "箭头",
214
+      "font_class": "jiantouup",
215
+      "unicode": "e7f0",
216
+      "unicode_decimal": 59376
217
+    },
218
+    {
219
+      "icon_id": "22166464",
220
+      "name": "箭头",
221
+      "font_class": "jiantouright",
222
+      "unicode": "e7f1",
223
+      "unicode_decimal": 59377
224
+    },
225
+    {
226
+      "icon_id": "22166465",
227
+      "name": "箭头",
228
+      "font_class": "jiantoudown",
229
+      "unicode": "e7f2",
230
+      "unicode_decimal": 59378
231
+    }
232
+  ]
233
+}

+ 122
- 0
src/assets/css/iconfont.svg Visa fil

@@ -0,0 +1,122 @@
1
+<?xml version="1.0" standalone="no"?>
2
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+<!--
4
+2013-9-30: Created.
5
+-->
6
+<svg>
7
+<metadata>
8
+Created by iconfont
9
+</metadata>
10
+<defs>
11
+
12
+<font id="iconfont" horiz-adv-x="1024" >
13
+  <font-face
14
+    font-family="iconfont"
15
+    font-weight="500"
16
+    font-stretch="normal"
17
+    units-per-em="1024"
18
+    ascent="896"
19
+    descent="-128"
20
+  />
21
+    <missing-glyph />
22
+    
23
+    <glyph glyph-name="guanbi" unicode="&#58890;" d="M512-37.875C278.95608521-37.875 90.125 150.95608520999997 90.125 384S278.95608521 805.875 512 805.875s421.875-188.83108521 421.875-421.875-188.83108521-421.875-421.875-421.875z m0 803.56311035C301.73815917 765.68811036 130.31188964 594.2626647899999 130.31188964 384S301.73733521 2.311889640000004 512 2.311889640000004c210.26184083 0 381.68811036 171.42544555 381.68811036 381.68811036S722.26266479 765.68811036 512 765.68811036zM542.80841065 384l163.39910888 163.39828492c8.02716065 8.02798462 8.02716065 21.43157959 0 30.80841063l-1.35049438 1.32659913a21.02124023 21.02124023 0 0 1-29.45874023 0L512 414.80841065 348.60171508 578.20751953a21.02124023 21.02124023 0 0 1-29.45874023 0l-1.35049438-1.35049438c-8.02716065-8.02716065-8.02716065-21.43157959 0-30.80841065L481.19158935 384 317.79248047 220.60171507999996c-8.02716065-8.02798462-8.02716065-21.43157959 0-30.80841063l1.35049438-1.35049439a21.02124023 21.02124023 0 0 1 29.45874023 0L512 353.16687011l163.39828492-163.3982849a21.02124023 21.02124023 0 0 1 29.45874023 0l1.35049438 1.35049438c8.02716065 8.02716065 8.02716065 21.43157959 0 30.80841064L542.80841065 384z"  horiz-adv-x="1024" />
24
+
25
+    
26
+    <glyph glyph-name="renqi" unicode="&#58910;" d="M857.11662529 451.5c-22.5 45-52.49999971 90-90 127.50000029-22.5 15.00000029-37.50000029 29.99999971-37.50000029 29.99999971s0-74.99999971-67.5-119.99999971h-7.49999971-7.50000058v7.49999971C654.61662529 646.50000029 579.61662471 781.50000029 437.116625 834 414.616625 654 242.11662471 609 174.61662471 466.50000029 129.61662471 368.99999971 122.116625 256.49999971 167.116625 159c37.50000029-90 112.5-157.5 202.5-195.00000029 45-22.5 90-29.99999971 142.49999971-29.99999971s97.49999971 7.49999971 142.50000058 29.99999971c45 15.00000029 82.50000029 45 119.99999971 82.50000029 74.99999971 67.5 112.5 157.5 112.5 254.99999971 0 52.49999971-7.49999971 105.00000029-29.99999971 150.00000029z"  horiz-adv-x="1024" />
27
+
28
+    
29
+    <glyph glyph-name="dianzan" unicode="&#58883;" d="M861.57115063 467.30320031L638.53484937 467.30320031c86.42396437 319.18519219-59.5468275 335.48741906-59.5468275 335.48741907-61.86845344 0-49.04290875-48.92107125-53.72165625-57.07650188 0-156.0957675-165.79671-278.41091719-165.79671-278.41091719l0-442.66115531c0-43.694535 59.5468275-59.43170531 82.90602938-59.43170531l335.11135406 0c31.53861656 0 57.22136438 82.7103225 57.22136438 82.7103225 82.90698937 281.91158438 82.90698937 365.79135375 82.90698937 365.79135375C917.61635188 471.95700469 861.57115063 467.30320031 861.57115063 467.30320031L861.57115063 467.30320031 861.57115063 467.30320031zM861.57115063 467.30320031M267.94195156 467.15641969L134.38898 467.15641969c-27.58129969 0-28.00629187-27.0901125-28.00629187-27.0901125l27.58129968-446.44003406c0-28.41497437 28.46390156-28.41497437 28.46390157-28.41497438L278.01895906-34.78870125000003c24.08063344 0 23.86765781 18.79653563 23.86765782 18.79653563L301.88661687 433.30193344C301.88661687 467.59004625 267.94195156 467.15641969 267.94195156 467.15641969L267.94195156 467.15641969 267.94195156 467.15641969zM267.94195156 467.15641969"  horiz-adv-x="1024" />
30
+
31
+    
32
+    <glyph glyph-name="xiugai" unicode="&#59205;" d="M368.13359375 247.74492186999998c15.89238281-15.89150391 40.98515625-15.89150391 56.04082031 0L861.62890625 685.19853516c15.89238281 15.89238281 15.89238281 40.98515625 0 56.87753906s-40.98515625 15.89238281-56.04082031 0L368.13359375 304.62246094c-15.89238281-15.89238281-15.89238281-40.98515625 0-56.87753907zM852.42675781 444.30703125c-21.74677734 0-40.1484375-17.56582031-40.1484375-40.1484375v-320.35341797h-600.55664062v600.55664063h320.35253906c21.74765625 0 39.31259766 17.56582031 40.1484375 40.1493164 0 21.74765625-17.56494141 40.1484375-39.31171875 40.1484375H171.57236328c-21.74677734 0-40.1484375-17.56494141-40.1484375-40.1484375v-680.85527343c0-10.87294922 4.18183594-20.9109375 11.70966797-28.43876954 7.52783203-7.52783203 17.56494141-11.70966797 28.43876953-11.70966796h680.85527344c10.87382813 0 20.9109375 4.18183594 28.43876953 11.70966796 7.52783203 7.52783203 11.70966797 17.56582031 11.70966797 28.43876954V404.15771484c0 22.58349609-18.40166016 40.1484375-40.1484375 40.1484375z"  horiz-adv-x="1024" />
33
+
34
+    
35
+    <glyph glyph-name="nvxing" unicode="&#59085;" d="M614.18956259 266.02997974000004v11.30058352h152.88075247v300.27264835a256.84612042 256.84612042 0 0 1-510.46350375 0v-300.27264835h152.96147067v-11.21986533L111.63646805 70.28772838999998v-108.2434466h801.04993753V69.07695127z m8.07184561-188.71974564c-72.64660886-70.54792905-110.66500086 36.80761487-110.66500085 36.80761487s-37.69551837-107.35554392-110.74571823-36.80761487c0 0-32.28738162 20.74464267-35.51612036 159.82253916L511.51568914 114.11784896999995l146.1811204 123.01492429c-3.63233057-138.99717746-35.75827497-159.82253916-35.75827497-159.82253916z"  horiz-adv-x="1024" />
36
+
37
+    
38
+    <glyph glyph-name="nanxing" unicode="&#59155;" d="M578.83748281 808.30321687c12.78209812-3.9071325 29.1222375-19.03888125 49.02041907-45.39524532 23.56363594-4.40391563 40.88391563-14.78937094 51.97426593-31.14964968 28.96783219-48.49006969 30.54545437-119.50321687 4.72615407-213.09986063 2.64503531 0.91972031 5.22293719 1.07412562 7.61958 0.34237781 12.4128675-3.79972031 15.44055938-29.86741219 6.76699312-58.21762218-7.49202844-24.51692343-21.28111875-42.71664375-32.89510499-44.76419625-6.10909125-26.40335625-16.25958-50.32279689-30.65286656-70.48951032a183.89034937 183.89034937 0 0 0-38.61482532-39.91048968c0.20811188-24.94657313 4.63888125-47.8724475 13.0573425-65.74992938-29.10209813-25.42993031-62.43356625-39.87020999-97.83944063-39.87021-35.41258781 0-68.73062906 14.44027969-97.83944063 39.87021 8.94881156 18.99860156 13.39300687 43.71020999 13.04391657 70.48951031-12.62769188 10.84195781-23.82545437 23.54349657-33.23748282 37.09090875-13.62797156 19.60951031-23.295105 42.63608438-29.20951031 67.93846125l-0.6981825-0.30881062-0.8324475-0.28867124c-12.40615406-3.80643375-29.49818156 16.125315-38.17174781 44.5023778-8.67356625 28.34349655-5.63916094 54.41118844 6.76699312 58.21090876 3.14853187 0.97342687 6.5924475 0.40279687 10.13034938-1.43664376-33.86853188 93.38181844-1.64475562 202.76139844-0.98013938 202.76139938 0.81902063 4.95440531 24.80559469 43.5826575 37.32587344 54.14937 56.52587438 47.6777625 135.83664375 55.09594406 200.53930125 35.325315zM245.93902063 171.48083905c48.59748281 33.33818156 111.43384594 54.12923062 166.17398624 65.81034938l52.65902157-204.83580375c1.40979001-5.504895 6.37762219-9.35832187 12.07048875-9.35832189l10.4324475 74.18853189a38.89006969 38.89006969 0 1 0 49.45007062 0l10.43916094-74.18853187c5.68615406 0 10.65398625 3.84671344 12.07048875 9.35832187l52.65902156 204.83580375c54.73342687-11.68111875 117.57650345-32.47216781 166.16727281-65.81034938 100.14881156-68.71048969 97.04727281-157.634685 96.08727282-185.11216781-0.07384594-2.114685-0.13426594-3.87356625-0.13426594-5.22293719v-10.43916093H149.98601375v10.43916093c0 1.34937094-0.0671325 3.10825219-0.13426594 5.22293719-0.96 27.47748281-4.06153875 116.40167812 96.08727282 185.11216781z"  horiz-adv-x="1024" />
39
+
40
+    
41
+    <glyph glyph-name="dianhua" unicode="&#58893;" d="M598.308571 219.538286l24.064 14.994285c9.398857 5.632 17.115429 9.947429 24.868572 13.385143 54.637714 24.868571 102.765714 7.314286 166.4-67.035428 39.424-46.08 51.053714-86.930286 35.84-123.355429-11.337143-27.172571-33.133714-45.933714-71.972572-69.12-2.523429-1.462857-24.868571-14.518857-30.610285-18.066286-90.404571-55.771429-297.691429 71.936-446.646857 290.157715-149.577143 218.806857-188.196571 452.059429-96.585143 508.708571l12.068571 7.68 13.165714 8.484572c46.299429 29.952 75.958857 41.910857 111.104 35.986285 35.108571-5.997714 64.950857-31.963429 90.221715-79.286857 53.284571-100.096 41.545143-147.565714-26.953143-190.756571-4.973714-3.181714-22.454857-13.714286-24.137143-14.738286-16.749714-10.386286 11.702857-80.018286 77.860571-176.859429 66.889143-97.901714 122.88-151.478857 141.165715-140.178285h0.146285z"  horiz-adv-x="1024" />
42
+
43
+    
44
+    <glyph glyph-name="yonghu" unicode="&#58967;" d="M728.732 575.724c-3.4 6.6-8.3 12.4-14.3 16.9 2.7 29.3 2.1 58.8-2 87.9-10.9 86.4-78.1 152.4-197.4 151.5-60.7-0.4-51.3-32.1-97-32.8-81.2-2-100.9-76.1-107.5-118.7-4.3-29.1-5-58.6-2-87.9-5.8-4.6-10.6-10.4-14-16.9-8.9-20.7-9.1-44.1-0.7-64.9a123.3 123.3 0 0 1 40.1-60c20.5-98.1 116.6-161 214.7-140.5 70.6 14.8 125.7 69.9 140.5 140.5 19.1 15.6 33.1 36.5 40.4 60 8.3 20.9 8 44.2-0.8 64.9zM895.232 195.024c-25 41.7-103.5 81-180.9 100.4a371.75 371.75 0 0 0-88.1-46.6c-16.6-69.8-38.1-138.3-64.5-205-4.7-10.3-11.6-8-13.4 4.2l-12.5 89.5c-1.3 13.8 1 27.8 6.9 40.4l10.1 18.7c5.3 11.6 5.9 24.8 1.8 36.8-28.2-3.3-56.6-3.4-84.8-0.4-3.7-12-3-24.9 2-36.4l10.3-18.7c5.7-12.6 8.1-26.6 6.9-40.4l-12.5-89.5c-1.8-12.3-8.7-14.5-13.8-4.2-27.2 66.2-48.7 134.6-64.3 204.5-32.6 8.7-62.7 24.9-87.9 47.3-77.4-19.4-156.2-58.5-180.9-100.4-24.6-45.7-39-96.2-42.2-148.1 0-31.7 190.3-110.7 425-110.7s424.6 79 424.6 110.7c-3.1 51.7-17.4 102.2-41.8 147.9z"  horiz-adv-x="1024" />
45
+
46
+    
47
+    <glyph glyph-name="xiangji" unicode="&#58945;" d="M903.73688889 667.53422222h-194.56l-45.51111111 57.68533333c-8.64711111 10.92266667-21.504 17.18044445-35.38488889 17.18044445H395.83288889c-13.88088889 0-26.85155555-6.25777778-35.38488889-17.18044445l-45.51111111-57.68533333h-194.56c-24.91733333 0-45.16977778-20.25244445-45.16977778-45.16977777v-551.82222223c0-24.91733333 20.25244445-45.16977778 45.16977778-45.16977777h783.58755556c24.91733333 0 45.16977778 20.25244445 45.16977777 45.16977777v551.82222223c-0.22755555 25.03111111-20.48 45.16977778-45.39733333 45.16977777z m-12.40177778-584.36266667H132.66488889v526.79111112H320.85333333c13.88088889 0 26.85155555 6.25777778 35.38488889 17.18044444l45.51111111 57.68533334h220.38755556l45.51111111-57.68533334c8.64711111-10.92266667 21.504-17.18044445 35.38488889-17.18044444h188.18844444v-526.79111112zM512 541.24088889c-108.88533333 0-197.51822222-88.63288889-197.51822222-197.51822222S403.11466667 146.09066667000002 512 146.09066667000002s197.51822222 88.63288889 197.51822222 197.51822222S620.88533333 541.24088889 512 541.24088889z m0-337.46488889c-77.14133333 0-139.94666667 62.80533333-139.94666667 139.94666667s62.80533333 139.94666667 139.94666667 139.94666666 139.94666667-62.80533333 139.94666667-139.94666666c0-77.25511111-62.80533333-139.94666667-139.94666667-139.94666667z m287.97155555 279.89333333c15.92888889 0 28.78577778 12.85688889 28.78577778 28.78577778s-12.85688889 28.78577778-28.78577778 28.78577778-28.78577778-12.85688889-28.78577777-28.78577778c-0.11377778-15.92888889 12.85688889-28.78577778 28.78577777-28.78577778z"  horiz-adv-x="1024" />
48
+
49
+    
50
+    <glyph glyph-name="gou" unicode="&#58892;" d="M511.9990625 821.8303125C270.6059375 821.8303125 74.1696875 625.4034375 74.1696875 384c0-241.404375 196.4353125-437.8303125 437.829375-437.8303125 241.41374999 0 437.83125001 196.4259375 437.83125 437.8303125 0 241.4034375-196.4175 437.8303125-437.83125 437.8303125m0-807.4275c-203.7675 0-369.598125 165.808125-369.598125 369.5971875 0 203.788125 165.8315625 369.59625001 369.598125 369.59625001 203.8115625 0 369.59625001-165.808125 369.59625-369.59625001 0-203.7890625-165.7846875-369.5971875-369.59625-369.5971875M646.55375001 510.62624999L442.0325 308.65874999000005l-55.726875 63.68062501c-12.3946875 14.17125001-33.9628125 15.646875-48.1546875 3.2325-14.1703125-12.41625001-15.6140625-33.9834375-3.219375-48.15375l79.603125-90.9778125a34.284375 34.284375 0 0 1 24.4771875-11.6184375c0.40124999-0.0215625 0.79874999-0.0215625 1.220625-0.0215625 8.9521875 0 17.56875001 3.4978125 23.968125 9.8278125l230.2875 227.445c13.415625 13.2609375 13.5478125 34.8375 0.309375 48.2540625-13.2365625 13.404375-34.8271875 13.5375-48.24375001 0.29906249"  horiz-adv-x="1024" />
51
+
52
+    
53
+    <glyph glyph-name="bangzhu" unicode="&#59154;" d="M512-37.875A421.875 421.875 0 1 0 512 805.875a421.875 421.875 0 0 0 0-843.75z m0 56.20660401a365.66839599 365.66839599 0 1 1 0 731.33679198 365.66839599 365.66839599 0 0 1 0-731.33679198z m10.90365601 571.86804198c38.42358398 0 69.64233398-10.125 93.591156-31.80294799 24.01473999-20.96438599 36.021698-49.78125 36.021698-85.802948 0-29.33679199-7.788208-53.93490601-22.78125-73.146698-5.38632202-6.61981201-22.26132202-22.197052-50.42971801-46.79598999a101.444458 101.444458 0 0 1-25.18313599-31.153656 80.740448 80.740448 0 0 1-9.67016602-39.65625v-10.190094h-64.25518799v10.190094c0 22.19787598 3.56945801 41.40884399 11.94268799 56.98608398 7.788208 16.74481201 30.634552 41.40802002 67.82382202 74.38018798l10.190094 11.35766602c10.83938599 13.88891602 16.74563599 28.16839599 16.74563598 43.80990601 0 21.02865601-6.03643799 37.19009399-17.46002197 49.13195801-11.94186401 12.00778198-29.33596802 17.97912598-51.01391601 17.97912597-27 0-46.79516602-8.37322998-58.73785401-25.76733398-10.83856201-14.40884399-16.225708-34.85412598-16.225708-61.20483398h-62.95660401c0 43.81072998 12.59033203 77.94964599 37.70837402 103.19787598 25.44268799 25.896698 60.29598999 38.48785401 104.625 38.48785399z m-10.70919801-350.934906c12.59197998 0 23.365448-3.57028198 31.80294801-11.94268799 8.4375-7.788208 12.65625-17.978302 12.65625-30.634552a42.51214599 42.51214599 0 0 0-13.17535401-31.15447998 44.913208 44.913208 0 0 0-31.15447997-11.94186401 43.09634399 43.09634399 0 0 0-43.80908204 43.225708c0 12.59197998 4.21875 22.71697998 12.59033204 30.56945801a42.1875 42.1875 0 0 0 31.08938597 11.87841797z"  horiz-adv-x="1024" />
54
+
55
+    
56
+    <glyph glyph-name="shoucang1" unicode="&#58900;" d="M737-16.5c-9 0-19.5 3-28.5 7.5l-195 97.5-196.5-97.5c-19.5-10.5-45-9-63 4.5-18 13.5-28.5 37.5-24 60l40.5 210L116 409.5C99.5 426 93.5 451.5 99.5 472.5c7.5 22.5 25.5 39 49.5 42l214.5 39 96 195c10.5 21 31.5 34.5 54 34.5s45-13.5 54-34.5l96-195 214.5-37.5c22.5-3 42-19.5 48-42 7.5-22.5 1.5-46.5-15-63L756.5 265.5l39-210c4.5-24-6-46.5-24-60-9-7.5-21-12-34.5-12z"  horiz-adv-x="1024" />
57
+
58
+    
59
+    <glyph glyph-name="paixu" unicode="&#59017;" d="M403.4375 741.9375c-11.25 4.59375-24.1875 1.96875-32.71875-6.65625L101.75 462.5625c-11.625-11.8125-11.53125-30.75 0.28125-42.46875 11.8125-11.625 30.75-11.53125 42.46875 0.28125l217.59375 220.59375v-585.84375c0-16.59375 13.40625-30 30-30s30 13.40625 30 30v659.0625c0 12.1875-7.40625 23.15625-18.65625 27.75zM922.15625 349.3125c-11.8125 11.625-30.75 11.53125-42.46875-0.28125l-217.5-220.6875V714.1875c0 16.59375-13.40625 30-30 30s-30-13.40625-30-30v-658.96875c0-12.1875 7.3125-23.15625 18.65625-27.75 3.65625-1.5 7.5-2.25 11.34375-2.25 7.875 0 15.65625 3.09375 21.375 8.90625l268.96875 272.71875c11.625 11.8125 11.4375 30.75-0.375 42.46875z"  horiz-adv-x="1024" />
60
+
61
+    
62
+    <glyph glyph-name="sanjiaoxingdown" unicode="&#58882;" d="M146.21177467 616.92168889L856.79806105 616.92168889a28.25055836 28.25055836 0 0 0 21.69642846-46.33091529l-355.30726831-426.35742188a28.25055836 28.25055836 0 0 0-43.3928577-1e-8L124.51534619 570.59077359A28.25055836 28.25055836 0 0 0 146.21177467 616.92168889z"  horiz-adv-x="1024" />
63
+
64
+    
65
+    <glyph glyph-name="sanjiaoxingup" unicode="&#59536;" d="M877.78822533 151.07831110999996L167.20193895 151.07831110999996a28.25055836 28.25055836 0 0 0-21.69642846 46.33091529l355.30726831 426.35742188a28.25055836 28.25055836 0 0 0 43.3928577 1e-8L899.48465381 197.40922640999997A28.25055836 28.25055836 0 0 0 877.78822533 151.07831110999996z"  horiz-adv-x="1024" />
66
+
67
+    
68
+    <glyph glyph-name="bianji" unicode="&#58888;" d="M797.86880407 541.08664501L669.1300934 669.86880407 717.1844352 718.05349239a45.66465922 45.66465922 0 0 0 64.95591337-0.08689746l63.82624636-63.78279729a45.62121016 45.62121016 0 0 0 0.0434484-64.95591405l-48.0977902-48.14123858z m-64.39107954-64.43452859L362.94659898 106.07754179999995c-8.77665177-8.77665177-25.46098003-19.55194721-36.71421252-23.89682438l-103.36462809-39.712178c-47.01157089-18.074689-70.3870105 5.64834045-52.39921895 52.39921896l39.7556264 103.32117968c4.38832623 11.5139242 15.5112115 28.32859899 23.89682436 36.71421184l370.6180237 370.61802303 128.78215905-128.86905651z"  horiz-adv-x="1024" />
69
+
70
+    
71
+    <glyph glyph-name="diqiu" unicode="&#59535;" d="M727.61173333 538.5152h147.71093334c19.78346667-44.016 31.6416-92.23466667 33.6288-143.13066667h-169.48266667c-0.7168 53.8048-5.1648 101.20106667-11.85706667 143.13066667z m-64.55146666 202.5216c84.72853333-32.93226667 154.26986667-95.24266667 197.86346666-173.89866667H722.77866667c-15.6768 80.11626667-39.47306667 137.056-59.7184 173.89866667zM539.3408 567.1392000000001V766.93333333c30.46826667-1.33546667 60.01813333-6.15466667 88.29866667-14.07786666 21.4656-36.06613333 49.1232-96.31146667 66.59413333-185.71626667H539.3408zM351.392 223.62986666999996c-6.69013333 41.96053333-11.328 89.0848-12.0192 143.13066666H510.70933333v-143.1296H351.392z m-0.27946667 314.88533333h159.59466667v-143.13066667H339.21066667c0.72213333 53.84746667 5.20533333 101.184 11.90186666 143.13066667z m71.6704 214.96853333c28.21866667 7.57653333 57.5488 12.42666667 87.92533334 13.4016v-199.74613333H355.82933333c17.5744 89.9072 45.43786667 150.35626667 66.95253334 186.34453333z m-237.86666666-186.34453333c44.30506667 79.94453333 116.0288 142.59946667 202.69013333 175.07733333-20.3776-36.82346667-44.5216-94.0992-60.35946667-175.07733333H184.91733333z m125.6608-171.75466667h-173.088c1.90933333 50.86186667 13.34506667 99.20106667 33.0912 143.13066667h151.86453333c-6.6944-41.9392-11.14773333-89.32906667-11.86773333-143.13066667z m12.1984-171.75466666H171.66826667c-19.82506667 44.0736-32.51626667 92.064-34.39146667 143.13066666h173.4368c0.68906667-54.048 5.36426667-101.1328 12.06186667-143.1296z m4.69546666-28.62293334c15.9552-81.78666667 40.4352-139.00053333 60.94293334-175.3952-86.97493333 32.36693333-158.7296 95.24266667-203.08906667 175.3952h142.14613333z m183.23626667 0v-199.74826666c-30.0352 0.96426667-59.05173333 5.712-86.98133333 13.1328-21.552 35.3248-49.57866667 96.05226667-67.31733334 186.61546666h154.29866667z m182.94826667 0c-17.632-90.02026667-45.43146667-150.54293333-66.9376-185.952-27.9552-7.75893333-57.2928-11.9424-87.37706667-13.27573333V195.00693333000004h154.31466667z m-154.31466667 171.7536h171.3344c-0.6912-54.05226667-5.33226667-101.16693333-12.02346667-143.1296H539.3408V366.76053333000004z m171.49653333 28.624H539.3408V538.5152h159.59466667c6.69546667-41.94346667 11.17866667-89.28106667 11.90186666-143.13066667z m28.50133334-28.624h169.30453333C906.752 315.73333333000005 894.15253333 267.72266666999997 874.4256 223.63093332999995H727.2768c6.6944 41.99253333 11.37066667 89.07306667 12.0608 143.1296z m121.3792-171.75466666c-43.48053333-78.98133333-113.34933333-141.32693333-198.44373334-174.18666667 20.3808 36.4416 44.5472 93.24586667 60.336 174.18666667h138.10773334z"  horiz-adv-x="1024" />
72
+
73
+    
74
+    <glyph glyph-name="shengming" unicode="&#58881;" d="M873.58203125 658.5703125c-5.9765625 17.84179688-17.84179688 23.73046875-35.59570313 23.73046875C665.72070313 670.43554688 582.57617188 771.421875 541.00390625 818.8828125 529.05078125 830.8359375 523.07421875 830.8359375 511.20898437 830.8359375s-23.73046875-5.9765625-29.70703124-11.86523438c-41.57226563-47.54882813-118.828125-148.53515625-296.98242188-136.58203124-17.84179688 0-29.70703125-5.9765625-35.68359375-23.73046876 0-5.9765625-184.13085938-498.95507813 350.41992188-718.76953125h23.73046874c534.7265625 219.7265625 350.59570313 712.70507813 350.59570313 718.68164063zM511.03320312 56.16796875C156.5703125 207.33984375 213.875 509.68359375 239.97851562 587.90625c140.71289063 0 224.12109375 67.76367188 271.05468751 114.69726563C557.96679688 655.66992188 636.18945313 587.90625 776.90234375 587.90625h5.18554688c20.91796875-78.22265625 83.40820313-375.38085938-271.05468751-531.73828125zM463.66015625 551.60742188h106.96289063v-95.00976563H463.66015625V551.60742188z m0-154.42382813h106.96289063v-213.83789063H463.66015625V397.18359375z m0 0"  horiz-adv-x="1024" />
75
+
76
+    
77
+    <glyph glyph-name="wode" unicode="&#58964;" d="M512 804h233.34375001v-233.34375001c0-128.90625001-104.4375-233.34375001-233.34375001-233.34374999S278.65624999 441.75 278.65624999 570.65625001 383.09374999 804 512 804zM302 290.625h420c90.1875 0 163.3125-73.125 163.3125-163.3125v-23.34375001c0-77.34375001-62.71875001-139.96875001-139.96875001-139.96874999H278.65624999c-77.34375001 0-139.96875001 62.71875001-139.96874999 139.96875001v23.34374999c-0.09375001 90.1875 73.03125001 163.3125 163.3125 163.3125z"  horiz-adv-x="1024" />
78
+
79
+    
80
+    <glyph glyph-name="shouye" unicode="&#58880;" d="M556.65283203 763.07446289a63.39990234 63.39990234 0 0 1-85.19238281 0L126.97314453 435.96972656a31.77905273 31.77905273 0 0 1 42.55664063-47.20385742l5.4777832 5.20092774V52.56445312000005a63.55810547 63.55810547 0 0 1 63.55810547-63.63720703h184.95922851v191.34667969a44.75170898 44.75170898 0 0 0 44.77148438 44.81103516h87.03149414a44.75170898 44.75170898 0 0 0 44.77148437-44.81103516v-191.34667969h189.34936524a63.55810547 63.55810547 0 0 1 63.57788086 63.63720704V389.79418945c14.11962891-12.77490234 34.15209961-11.8059082 45.89868164 1.28540039a31.77905273 31.77905273 0 0 1-2.29394531 44.89013672L556.65283203 763.0546875z"  horiz-adv-x="1024" />
81
+
82
+    
83
+    <glyph glyph-name="liaotian" unicode="&#59035;" d="M880.64624023 384c0 203.85131836-165.28930664 369.140625-369.140625 369.140625s-369.140625-165.28930664-369.140625-369.140625 165.28930664-369.140625 369.140625-369.140625H828.40625L745.102417 98.16320800000005c82.72705078 67.64831543 135.54382325 170.56274414 135.54382323 285.836792zM301.0625 331.265625c-29.08630372 0-52.734375 23.64807129-52.734375 52.734375s23.64807129 52.734375 52.734375 52.734375 52.734375-23.64807129 52.734375-52.734375-23.64807129-52.734375-52.734375-52.734375z m209.94873047 0c-29.08630372 0-52.734375 23.64807129-52.734375 52.734375s23.64807129 52.734375 52.734375 52.734375 52.734375-23.64807129 52.734375-52.734375-23.56567383-52.734375-52.734375-52.734375zM670.203125 384c0 29.08630372 23.64807129 52.734375 52.734375 52.734375s52.734375-23.64807129 52.734375-52.734375-23.64807129-52.734375-52.734375-52.734375-52.734375 23.64807129-52.734375 52.734375z"  horiz-adv-x="1024" />
84
+
85
+    
86
+    <glyph glyph-name="camera" unicode="&#58906;" d="M761.325714 515.730286l90.441143 59.922285A63.817143 63.817143 0 0 0 950.857143 522.441143v-276.882286a63.817143 63.817143 0 0 0-99.108572-53.211428l-90.422857 59.904a1326.08 1326.08 0 0 0-3.437714-30.445715 136.228571 136.228571 0 0 0-119.826286-118.509714c-69.723429-7.917714-141.988571-11.867429-216.813714-11.867429-75.081143 0-147.803429 3.986286-218.148571 11.958858a136.228571 136.228571 0 0 0-119.862858 118.509714A1309.878857 1309.878857 0 0 0 73.142857 384c0 54.016 3.364571 108.032 10.093714 162.066286a136.228571 136.228571 0 0 0 119.862858 118.528c70.546286 7.990857 143.268571 11.977143 218.148571 11.977143 74.624 0 146.907429-3.968 216.832-11.885715a136.228571 136.228571 0 0 0 119.808-118.528c1.28-10.148571 2.413714-20.297143 3.437714-30.427428zM219.428571 475.428571a54.857143 54.857143 0 1 1 0 109.714286 54.857143 54.857143 0 0 1 0-109.714286z"  horiz-adv-x="1024" />
87
+
88
+    
89
+    <glyph glyph-name="sousuo" unicode="&#58887;" d="M931.55522188 72.77261250000004L766.76391031 205.19355094000002c33.62616188 55.1434125 53.34942937 119.69516625 53.34942938 189.00817219 0 201.0288225-162.96471 363.99641063-363.99449156 363.99641062S92.12435563 595.2305456199999 92.12435563 394.20172313s162.96471-363.99641063 363.99449156-363.99641063c115.22459812 0 217.7550825 53.68807969 284.45290125 137.24454844l162.2902875-130.39863L931.55522188 72.77261250000004zM456.11884719 76.04303436999999c-175.4314575 0-318.15676969 142.72531219-318.15676969 318.15772875s142.72531219 318.15772875 318.15676969 318.15772875 318.15676969-142.72531219 318.15676968-318.15772874S631.55030469 76.04303436999999 456.11884719 76.04303436999999z"  horiz-adv-x="1024" />
90
+
91
+    
92
+    <glyph glyph-name="dingwei" unicode="&#58942;" d="M516.320553 830.086277C327.473365 829.240951 174.512778 674.914838 175.350878 486.045975c0.787526-177.21493 282.974557-496.596289 315.154731-532.417865a39.737529 39.737529 0 0 1 59.440119 0.2601c31.862273 36.110576 311.202653 357.991787 310.415127 535.213942-0.838101 188.861638-155.178664 341.822225-344.040302 340.984125z m2.196402-492.860961c-76.483906-0.339575-139.009102 61.614845-139.348677 138.105976-0.339575 76.491131 61.629295 139.001877 138.105976 139.334227 76.512806 0.3468 139.023552-61.60762 139.363127-138.091526 0.339575-76.498356-61.614845-139.001877-138.120426-139.348677z"  horiz-adv-x="1024" />
93
+
94
+    
95
+    <glyph glyph-name="shipin" unicode="&#59179;" d="M128 384c0 212.08 171.92 384 384 384s384-171.92 384-384-171.92-384-384-384c-211.98 0.24-383.76 172.02-384 384z m59.05 0c0-179.46 145.48-324.95 324.95-324.95S836.95 204.53999999999996 836.95 384 691.46 708.95 512 708.95c-179.39-0.19-324.76-145.56-324.95-324.95z m226.48-77.95v155.9c0 23.56 19.1 42.67 42.66 42.67 7.11 0 14.11-1.78 20.36-5.17l143.62-77.95c20.72-11.21 28.43-37.11 17.22-57.83a42.676 42.676 0 0 0-17.22-17.22l-143.62-77.91c-20.71-11.24-46.61-3.56-57.85 17.15a42.484 42.484 0 0 0-5.17 20.36z"  horiz-adv-x="1024" />
96
+
97
+    
98
+    <glyph glyph-name="yinpin" unicode="&#59052;" d="M182 414a30 30 0 0 0 29.79-26.49L212 384v-330.96a30 30 0 0 0-59.79-3.51L152 53.039999999999964V384a30 30 0 0 0 30 30z m219.99 330.75a30 30 0 0 0 29.82-26.49l0.18-3.51V53.700000000000045a30 30 0 0 0-59.79-3.48l-0.21 3.48V714.75a30 30 0 0 0 30 30z m220.02-254.22a30 30 0 0 0 29.79-26.49l0.21-3.51v-406.86a30 30 0 0 0-59.82-3.48l-0.18 3.48V460.53a30 30 0 0 0 30 30zM842 603.24a30 30 0 0 0 29.79-26.52l0.21-3.48v-519.57a30 30 0 0 0-59.79-3.48L812 53.66999999999996V573.24a30 30 0 0 0 30 30z"  horiz-adv-x="1024" />
99
+
100
+    
101
+    <glyph glyph-name="jiantouleft" unicode="&#59375;" d="M622.88853333 698.7114666699999c14.1632 14.16213333 37.1264 14.16213333 51.2896 0 14.02133333-14.02133333 14.16106667-36.66773333 0.42026667-50.86186667l-0.42026667-0.42666667L409.68853333 382.93333333l264.4896-264.48853333c14.02133333-14.02133333 14.16106667-36.66773333 0.42026667-50.86186667l-0.42026667-0.42666666c-14.02133333-14.0224-36.66773333-14.16213333-50.86186666-0.42133334l-0.42666667 0.42026667-290.13333333 290.13333333c-14.0224 14.02133333-14.16213333 36.66773333-0.42133334 50.86186667l0.42026667 0.42666667 290.13333333 290.13333333z"  horiz-adv-x="1024" />
102
+
103
+    
104
+    <glyph glyph-name="shoucang" unicode="&#58921;" d="M727.43475342-22.573791509999978c-11.8677063 0-25.20703125 3.40466308-37.57241821 9.58941651L513.29116821 75.33087158000001 335.62658691-12.841003419999993c-11.25137329-5.99029541-24.13092041-9.13787842-37.2642517-9.13787842a79.23669434 79.23669434 0 0 0-47.4189148 15.5253296c-24.86508179 18.65478516-37.60620117 50.96282959-31.72467041 80.38778686l36.3364563 188.50231934L116.28125 392.243042a85.74197388 85.74197388 0 0 0-21.65487671 82.94128417l0.27850342 0.9574585c10.125 30.34533691 35.243042 51.60800171 65.6987915 55.6875l193.5013733 35.18371582L440.95608521 743.40866089c13.95153808 27.92861938 42.32757568 45.87478638 72.335083 45.87478638 31.30279541 0 60.41217041-18.62182617 72.61688233-46.38153076l86.57336425-175.83618164L866.01245117 533.23004151a78.83129883 78.83129883 0 0 0 64.48754883-56.33761597 81.54876709 81.54876709 0 0 0-20.16595459-83.2230835l-0.47625733-0.4770813-138.8809204-130.78125L806.07653809 73.57168578999995c5.65246583-30.19784546-6.35778808-60.70385742-31.36212158-79.71295166a74.49472046 74.49472046 0 0 0-47.27966309-16.43252564z m-214.07684326 161.54434205l187.59182739-93.81198121c5.50909424-2.77679443 11.85864258-4.52279663 16.20346069-4.52279662 6.68737792 0 12.89685058 2.05911255 17.45755005 5.86422729l0.84869385 0.70037842c10.65975953 7.99832153 15.85739136 20.70977783 13.52471924 33.15509033l-37.74957276 203.36022949 149.31408692 140.61126709c9.16754151 9.29443359 12.30194092 22.60409546 8.23562621 34.84259033l-0.40951537 1.28704835a30.74249268 30.74249268 0 0 1-25.51931763 22.24978637l-0.85198974 0.13430786L635.3984375 518.95880127 542.41290283 707.83026123c-4.51373291 10.55099487-16.76541138 18.20819092-29.13491821 18.20819091-12.15362549 0-23.7807312-7.61022949-29.67050171-19.36010742L391.21685791 519.0420227100001l-207.69268799-37.72814942c-12.61505127-1.58203125-22.4145813-9.96020508-26.9414978-23.02597046-3.21432495-11.93939209 0.59490967-26.32516479 9.37023926-35.29412842l149.48712158-139.29867553-39.22943116-203.46652222c-2.3590393-11.76635742 3.21350098-25.30755615 13.52059937-33.04138184 5.16796875-3.88504028 11.86276245-6.02819824 18.88302612-6.02819824 5.41268921 0 10.60125732 1.26150513 15.07379151 3.66668701l0.64517212 0.37902832 189.02554321 93.76583863z"  horiz-adv-x="1024" />
105
+
106
+    
107
+    <glyph glyph-name="aixin" unicode="&#59062;" d="M665.1 681.6c9.2 0 18.7-0.7 28-2.2 72-11.3 131.7-72 141.8-144.4 7.3-52.5-9.2-104.5-45.3-142.7l-6.1-6.5-271.4-271.5-270.4 270.4-7.2 7.6c-36.1 38.2-52.7 90.2-45.3 142.6C199.3 607.3 259 668.1 331 679.4c9.4 1.5 18.8 2.2 28 2.2 40.7 0 80.3-14.7 111.4-41.3l41.7-35.7 41.7 35.7c31.1 26.7 70.6 41.3 111.3 41.3M359 745.7c-12.5 0-25.1-1-38-3-100.4-15.7-181.2-98.2-195.3-198.9-10.6-75.9 15.2-145.9 62.3-195.6l-0.2-0.2 311.7-311.7c3.5-3.5 8-5.2 12.6-5.2s9.1 1.7 12.6 5.2L836.4 348l-0.2 0.2c47 49.7 72.9 119.7 62.2 195.6-14.1 100.7-95 183.1-195.4 198.9-12.8 2-25.5 3-37.9 3-58.5 0-111.9-21.4-153-56.7-41.2 35.3-94.6 56.7-153.1 56.7z"  horiz-adv-x="1024" />
108
+
109
+    
110
+    <glyph glyph-name="jiantouup" unicode="&#59376;" d="M826.71146667 273.11146667c14.16213333-14.1632 14.16213332-37.1264 0-51.2896-14.02133333-14.02133333-36.66773333-14.16106667-50.86186667-0.42026667l-0.42666667 0.42026667L510.93333333 486.31146667l-264.48853333-264.4896c-14.02133333-14.02133333-36.66773333-14.16106667-50.86186668-0.42026667l-0.42666665 0.42026667c-14.0224 14.02133333-14.16213333 36.66773333-0.42133334 50.86186667l0.42026667 0.42666666 290.13333333 290.13333333c14.02133333 14.0224 36.66773333 14.16213333 50.86186667 0.42133334l0.42666667-0.42026667 290.13333333-290.13333333z"  horiz-adv-x="1024" />
111
+
112
+    
113
+    <glyph glyph-name="jiantouright" unicode="&#59377;" d="M401.11146667 69.28853332999995c-14.1632-14.16213333-37.1264-14.16213332-51.2896 0-14.02133333 14.02133333-14.16106667 36.66773333-0.42026667 50.86186667l0.42026667 0.42666667L614.31146667 385.06666667l-264.4896 264.48853333c-14.02133333 14.02133333-14.16106667 36.66773333-0.42026667 50.86186668l0.42026667 0.42666665c14.02133333 14.0224 36.66773333 14.16213333 50.86186667 0.42133334l0.42666666-0.42026667 290.13333333-290.13333333c14.0224-14.02133333 14.16213333-36.66773333 0.42133334-50.86186667l-0.42026667-0.42666667-290.13333333-290.13333333z"  horiz-adv-x="1024" />
114
+
115
+    
116
+    <glyph glyph-name="jiantoudown" unicode="&#59378;" d="M197.28853333 494.88853333c-14.16213333 14.1632-14.16213332 37.1264 0 51.2896 14.02133333 14.02133333 36.66773333 14.16106667 50.86186667 0.42026667l0.42666667-0.42026667L513.06666667 281.68853333000004l264.48853333 264.4896c14.02133333 14.02133333 36.66773333 14.16106667 50.86186668 0.42026667l0.42666665-0.42026667c14.0224-14.02133333 14.16213333-36.66773333 0.42133334-50.86186667l-0.42026667-0.42666666-290.13333333-290.13333333c-14.02133333-14.0224-36.66773333-14.16213333-50.86186667-0.42133334l-0.42666667 0.42026667-290.13333333 290.13333333z"  horiz-adv-x="1024" />
117
+
118
+    
119
+
120
+
121
+  </font>
122
+</defs></svg>

Binär
src/assets/css/iconfont.ttf Visa fil


Binär
src/assets/css/iconfont.woff Visa fil


Binär
src/assets/css/iconfont.woff2 Visa fil


Binär
src/assets/ency-icon1.png Visa fil


Binär
src/assets/ency-icon2.png Visa fil


Binär
src/assets/ency-icon3.png Visa fil


Binär
src/assets/ency-icon4.png Visa fil


Binär
src/assets/ency-icon5.png Visa fil


Binär
src/assets/ency-icon6.png Visa fil


Binär
src/assets/findHouse-icon1.png Visa fil


Binär
src/assets/index-icon1.png Visa fil


Binär
src/assets/index-icon10.png Visa fil


Binär
src/assets/index-icon11.png Visa fil


Binär
src/assets/index-icon12.png Visa fil


Binär
src/assets/index-icon13.png Visa fil


Binär
src/assets/index-icon14.png Visa fil


Binär
src/assets/index-icon15.png Visa fil


Binär
src/assets/index-icon16.png Visa fil


Binär
src/assets/index-icon2.png Visa fil


Binär
src/assets/index-icon3.png Visa fil


Binär
src/assets/index-icon4.png Visa fil


Binär
src/assets/index-icon5.png Visa fil


Binär
src/assets/index-icon6.png Visa fil


Binär
src/assets/index-icon7.png Visa fil


Binär
src/assets/index-icon8.png Visa fil


Binär
src/assets/index-icon9.png Visa fil


Binär
src/assets/mine-icon1.png Visa fil


Binär
src/assets/mine-icon10.png Visa fil


Binär
src/assets/mine-icon11.png Visa fil


Binär
src/assets/mine-icon12.png Visa fil


Binär
src/assets/mine-icon13.png Visa fil


Binär
src/assets/mine-icon14.png Visa fil


Binär
src/assets/mine-icon15.png Visa fil


Binär
src/assets/mine-icon16.png Visa fil


Binär
src/assets/mine-icon17.png Visa fil


Binär
src/assets/mine-icon18.png Visa fil


Binär
src/assets/mine-icon19.png Visa fil


Binär
src/assets/mine-icon2.png Visa fil


Binär
src/assets/mine-icon20.png Visa fil


Binär
src/assets/mine-icon21.png Visa fil


Binär
src/assets/mine-icon22.png Visa fil


Binär
src/assets/mine-icon23.png Visa fil


Binär
src/assets/mine-icon24.png Visa fil


Binär
src/assets/mine-icon25.png Visa fil


Binär
src/assets/mine-icon26.png Visa fil


Binär
src/assets/mine-icon27.png Visa fil


Binär
src/assets/mine-icon28.png Visa fil


Binär
src/assets/mine-icon3.png Visa fil


Binär
src/assets/mine-icon4.png Visa fil


Binär
src/assets/mine-icon5.png Visa fil


Binär
src/assets/mine-icon6.png Visa fil


Binär
src/assets/mine-icon7.png Visa fil


Binär
src/assets/mine-icon8.png Visa fil


Binär
src/assets/mine-icon9.png Visa fil


Binär
src/assets/tabbar/chat1.png Visa fil


Binär
src/assets/tabbar/chat2.png Visa fil


Binär
src/assets/tabbar/video1.png Visa fil


Binär
src/assets/tabbar/video2.png Visa fil


+ 2
- 1
src/components/ProjectListItem/index.jsx Visa fil

@@ -1,10 +1,11 @@
1 1
 import React, { useState, useEffect } from 'react'
2 2
 import './index.scss'
3
+import Taro from '@tarojs/taro'
3 4
 
4 5
 export default function ProjectListItem (props) {
5 6
   const { Data = {} } = props
6 7
   return (
7
-    <view className='components ProjectListItem flex-h'>
8
+    <view className='components ProjectListItem flex-h' onClick={() => {Taro.navigateTo({ url: `/pages/index/buildingDetail/index?id=${Data.id}` })}}>
8 9
       <view className='Img'>
9 10
         <view>
10 11
           {

+ 8
- 5
src/components/ProjectListItem/index.scss Visa fil

@@ -1,4 +1,6 @@
1 1
 .components.ProjectListItem {
2
+  padding-bottom: 30px;
3
+  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
2 4
   > .Img {
3 5
     width: 260px;
4 6
     position: relative;
@@ -6,10 +8,11 @@
6 8
     margin-right: 20px;
7 9
     > view {
8 10
       width: 100%;
9
-      padding-bottom: 62%;
10
-      background: #ccc;
11
+      padding-bottom: 60%;
12
+      background: #eee;
11 13
       position: relative;
12 14
       overflow: hidden;
15
+      border-radius: 8px;
13 16
       > image {
14 17
         width: 100%;
15 18
         height: 100%;
@@ -56,10 +59,10 @@
56 59
       > text {
57 60
         display: inline-block;
58 61
         vertical-align: middle;
59
-        font-size: 24px;
62
+        font-size: 16px;
60 63
         padding: 0 10px;
61 64
         line-height: 36px;
62
-        background: orangered;
65
+        background: #FBAB57;
63 66
         color: #333;
64 67
         margin-right: 10px;
65 68
       }
@@ -90,7 +93,7 @@
90 93
           vertical-align: middle;
91 94
           width: 40px;
92 95
           height: 40px;
93
-          background: #ccc;
96
+          background: #eee;
94 97
           border-radius: 100%;
95 98
           margin-left: -10px;
96 99
           position: relative;

+ 237
- 237
src/constants/api.js Visa fil

@@ -1,237 +1,237 @@
1
-/**
2
- * NOTE HOST、HOST_M 是在 config 中通过 defineConstants 配置的
3
- * 只所以不在代码中直接引用,是因为 eslint 会报 no-undef 的错误,因此用如下方式处理
4
- */
5
-/* eslint-disable */
6
-export const host = HOST
7
-export const wss_host = WSS_HOST
8
-
9
-/* eslint-enable */
10
-
11
-export const pathname = '/api/wx'
12
-
13
-const resolvePath = api => `${host + pathname}/${api}`
14
-
15
-// common
16
-export const API_PRELOAD = resolvePath('preload')
17
-export const API_QRCODE = resolvePath('qrcode')
18
-export const API_BANNER_LIST = resolvePath('extendContent')
19
-export const API_QUERY_CODE_SCENE = resolvePath('qrcode/scene')
20
-
21
-// user
22
-export const API_USER_LOGIN = resolvePath('login')
23
-export const API_USER_INFO = resolvePath('signup')
24
-export const API_USER_SIGNIN = resolvePath('user/signin')
25
-export const API_USER_PHONE = resolvePath('userPhone')
26
-export const API_QUERY_USER_INFO = resolvePath('user/info')
27
-export const API_QUERY_USERINFO_BYID = resolvePath('onePerson')
28
-export const API_QUERY_CUSTOMER_INFO = resolvePath('customer/myCustomer')
29
-export const API_QUERY_MYREPORT = resolvePath('customer/myReport')
30
-export const API_QUERY_DOCUMENTVERIFY = resolvePath('documentVerify')
31
-
32
-export const API_QUERY_DOCUMENTVERIFY_list = resolvePath('documentVerify/list')
33
-export const API_QUERY_TADRAINGE = resolvePath('taDrainage')
34
-
35
-
36
-// chat
37
-export const API_CHAT_HISTORY = resolvePath('chat/history')
38
-export const API_CHAT_SEND = wss_host + '/wx/chat'
39
-export const API_CHAT_FRIENDS = resolvePath('chat/with')
40
-export const API_UPLOAD_IMAGE = resolvePath('image')
41
-export const API_CHAT_READED = resolvePath('chat/message')
42
-
43
-// card
44
-export const API_CARDS_LIST = resolvePath('cards')
45
-export const API_CARDS_APPLY = resolvePath('cards/apply')
46
-export const API_FORM_ID = resolvePath('formid')
47
-export const API_UPDATE_PHOTO = resolvePath('userInfo/updatePhoto')
48
-
49
-// project
50
-export const API_INDEX_CUSTOMER = resolvePath('indexCustomer')
51
-export const API_ITEMS_LIST = resolvePath('building/list')
52
-export const API_ITEMS_DETAIL = resolvePath('buildingSelectId')
53
-export const API_ITEMS_TYPE = resolvePath('tdBuildingType')
54
-export const API_ACTIVITY_GROUP = resolvePath('helpActivityAndGroup')
55
-export const API_LOCATION_CITYP = resolvePath('location/city')
56
-export const API_TACUSTOMIMG = resolvePath('taCustomImg')
57
-export const API_INDEX_PROJECTS = resolvePath('building/main')
58
-export const API_INDEX_ICONS = resolvePath('taMiniappOrgIcon')
59
-
60
-
61
-
62
-export const API_HOUSE_LIST = resolvePath('listHousingResources')
63
-export const API_PRESELECTION_RECORD = resolvePath('listPreselectionRecord')
64
-export const API_RAISE_CHECK = resolvePath('check/raise')
65
-export const API_RAISE_PROFILE = resolvePath('taRaise')
66
-export const API_SAVE_RAISE_RECORD = resolvePath('taRaiseRecord')
67
-export const API_RATSE_RECORD = resolvePath('taRaiseRecord/list')
68
-export const API_RATSE_DETAIL = resolvePath('taRaiseRecord')
69
-export const API_RATSE_ORDER = resolvePath('unifiedOrder')
70
-export const API_CANCEL_ORDER = resolvePath('cancel')
71
-export const API_HOUSE_DETAIL = resolvePath('getHousingDetailById')
72
-export const API_ADD_PRESELECTION = resolvePath('taPreselectionRecord')
73
-export const API_CANCEL_PRESELECTION = resolvePath('taPreselectionRecordCancel')
74
-export const API_APARTMENT_TYPE = resolvePath('listBuildApartmentBySalesBatchId')
75
-export const API_SALESBATCH_LIST = resolvePath('taSalesBatch/choice')
76
-export const API_NOTICE_INFO = resolvePath('getNoticeInfo')
77
-export const API_SALES_BATCH = resolvePath('taSalesBatch')
78
-export const API_ADDLIVE_NUM = resolvePath('addVisitNum')
79
-export const API_LIVE_DEATIL = resolvePath('taLiveActivity')
80
-// /wx/location/city?location=lon,lat
81
-
82
-//sign
83
-export const API_CONTRACT_USER = resolvePath('contract/user/add')
84
-export const API_CONTRACT_GET = resolvePath('contract/user/get')
85
-export const API_CONTRACT_AUTO = resolvePath('contract/auto')
86
-export const API_CONTRACT_MANUAL = resolvePath('contract/manual')
87
-export const API_CONTRACT_CHECK = resolvePath('contract/check')
88
-
89
-// shop
90
-export const API_GOODS_LIST = resolvePath('goods')
91
-export const API_GOODS_BUILDING = resolvePath('goodsToBuilding')
92
-export const API_GOODS_EXCHANGE = resolvePath('goods/exchange')
93
-export const API_GOODS_EXCHANGE_RECORDS = resolvePath('taPointsExchange')
94
-export const API_POINTS_RECORDS = resolvePath('taPointsRecords')
95
-export const API_POINTS_RULE = resolvePath('tdPointsRules')
96
-export const API_POINTS_ADRESS = resolvePath('person/city')
97
-export const API_GOODS_BELONGS = resolvePath('goodsToBuilding')
98
-
99
-// client
100
-export const API_CLIENT_LIST = resolvePath('customer/recommend/mine')
101
-export const API_RECOMENT_CLIENT = resolvePath('customer/new')
102
-export const API_CLIENT_PROGRESS = resolvePath('customer')
103
-export const API_TYPE_DATA = resolvePath('awesome/dict/recommendcustomer')
104
-
105
-// report
106
-export const API_REPORT_LIST = resolvePath('myReport')
107
-export const API_REPORT_CLIENT = resolvePath('customer/report')
108
-export const API_RECOMMEND_GET = resolvePath('customer/recommend/get')
109
-export const API_RECOMMEND_EDIT = resolvePath('customer/recommend/edit')
110
-
111
-// common
112
-export const API_ITEMS_UV = resolvePath('project/hot')
113
-export const API_CARDS_UV = resolvePath('consultant/hot')
114
-export const API_ACTIVITY_UV = resolvePath('activity/pvNum')
115
-export const API_NEWS_UV = resolvePath('taNews/pvNum')
116
-
117
-export const API_CARDS_LIKE = resolvePath('consultant/like')
118
-export const API_ITEMS_LIKE = resolvePath('project/like')
119
-export const API_ACTIVITY_LIKE = resolvePath('activity/like')
120
-export const API_NEWS_LIKE = resolvePath('news/like')
121
-
122
-export const API_CARDS_SHARE = resolvePath('consultant/share')
123
-export const API_ITEMS_SHARE = resolvePath('project/share')
124
-export const API_ACTIVITY_SHARE = resolvePath('activity/share')
125
-export const API_HELP_SHARE = resolvePath('help/share')
126
-export const API_GROUP_SHARE = resolvePath('group/share')
127
-export const API_HFIVE_SHARE = resolvePath('h5/share')
128
-export const API_NEWS_SHARE = resolvePath('news/share')
129
-export const API_HOUSE_SHARE = resolvePath('houseApp/share')
130
-export const API_HOUSE_POSTER = resolvePath('housePost/share')
131
-export const API_LIVE_SHARE = resolvePath('liveApp/share')
132
-export const API_LIVE_POSTER = resolvePath('livePost/share')
133
-
134
-export const API_INDEX_SHARE = resolvePath('main/share')
135
-
136
-export const API_ACTIVITY_FAVOR = resolvePath('activity/save')
137
-export const API_NEWS_FAVOR = resolvePath('news/save')
138
-export const API_CARD_FAVOR = resolvePath('card/save')
139
-export const API_PROJECT_FAVOR = resolvePath('project/save')
140
-
141
-// 埋点接口
142
-export const API_BURIED_POINT = resolvePath('taPersonVisitRecord')
143
-
144
-
145
-// activity
146
-export const API_ACTIVITY_LIST = resolvePath('buildingDynamiceList')
147
-//拼团
148
-export const API_GROUP_LIST = resolvePath('taShareRecord')
149
-//助力
150
-export const API_HELP_LIST = resolvePath('helpInitiateRecord')
151
-
152
-// save activity
153
-export const API_ACTIVITY_SAVE = resolvePath('save/buildingDynamiceList')
154
-
155
-export const API_ACTIVITY_DETAIL = resolvePath('buildingDynamiceInfo')
156
-// signup
157
-export const API_ACTIVITY_SIGNUP = resolvePath('activityDynamicEnlistAdd')
158
-// signin
159
-export const API_ACTIVITY_SIGNIN = resolvePath('taCheckin/activity')
160
-
161
-// news
162
-export const API_NEWS_LIST = resolvePath('taNews')
163
-
164
-
165
-// feedback
166
-export const API_FEEDBACK_SUBMIT = resolvePath('taCustomerMessage')
167
-
168
-
169
-// getCode
170
-export const API_GET_CODE = resolvePath('captcha')
171
-
172
-// checkCode
173
-export const API_CHECK_CODE = resolvePath('check/captcha')
174
-
175
-
176
-// /wx/registerConsultantOneClick
177
-// registerConsultant
178
-export const API_PUT_REGISTER = resolvePath('registerConsultant')
179
-
180
-// registerConsultantOneClick
181
-export const API_PUT_REGISTERCONSULTANT = resolvePath('registerConsultantOneClick')
182
-
183
-// city
184
-export const API_CITY_LIST = resolvePath('tdCity')
185
-
186
-
187
-// policy
188
-export const API_POLICY_LIST = resolvePath('taPolicy')
189
-
190
-//agent
191
-
192
-export const API_AGENT_LIST = resolvePath('agent/recommend/mine')
193
-
194
-export const API_REGISTER_AGENT = resolvePath('registerAgent')
195
-
196
-// agent change
197
-export const API_AGENT_CHANNEL = resolvePath('customer/recommend/becomeChannel')
198
-
199
-export const API_AGENT_CURRENT = resolvePath('user/current')
200
-
201
-export const API_EDIT_AGENT = resolvePath('editPerson')
202
-
203
-// 活动列表-新
204
-export const API_ACTNEW_LIST = resolvePath('activity/list')
205
-
206
-// 助力
207
-export const API_HELP_DETAIL = resolvePath('helpActivity')
208
-export const API_HELP_CREATE = resolvePath('helpInitiateRecord')
209
-export const API_HELP_FRIEND = resolvePath('helpRecord')
210
-
211
-//签到
212
-export const API_CHECKIN_DETAILS = resolvePath('buildingDynamiceEnlistInfo')
213
-export const API_CHECKIN_ACTIVE = resolvePath('buildingDynamicCheckin')
214
-
215
-// 拼团
216
-export const API_GROUP_DETAIL = resolvePath('taShareActivity')
217
-export const API_GROUP_CREATE = resolvePath('taShareRecord')
218
-export const API_GROUP_JOIN = resolvePath('taShareChildRecord')
219
-
220
-//person
221
-export const API_MY_CUSTOMER = resolvePath('inventory/customer/statistics')
222
-export const API_CUSTOMER_LIST = resolvePath('inventory/customer/statistics')
223
-export const API_CUSTOMER_DETAIL = resolvePath('inventory/customer')
224
-export const API_VISIT_RECORD = resolvePath('taPersonVisitRecord')
225
-export const API_ACTIVITY_LIST_CUSTOMER = resolvePath('customer/activity/list')
226
-export const API_FOLLOW_LIST = resolvePath('taCustomerFollowUpRecord')
227
-export const API_SEX_INFO = resolvePath('genderStatistic')
228
-export const API_ECHERTS_DAILY = resolvePath('customerStatisticDaily')
229
-export const API_ECHERTS_MONTH = resolvePath('customerStatisticMonthly')
230
-export const API_BUILDING_TYPE = resolvePath('getByBuildingIdSelectBuildingProjectType')
231
-export const API_CONSULTANT_VISIT_RECORD = resolvePath('activityVisitRecord')
232
-export const API_MORE_ACTIVITY = resolvePath('visitRecord/activity')
233
-export const API_SHARE_LIST = resolvePath('shareRecords')
234
-export const API_SHARE_INFOLIST = resolvePath('sharePersonInfoList')
235
-export const API_BIND_CUSTOMER = resolvePath('judgeBindCustomer')
236
-// 消息模板
237
-export const API_TEMPLATE_TYPE = resolvePath('template/of/')
1
+/**
2
+ * NOTE HOST、HOST_M 是在 config 中通过 defineConstants 配置的
3
+ * 只所以不在代码中直接引用,是因为 eslint 会报 no-undef 的错误,因此用如下方式处理
4
+ */
5
+/* eslint-disable */
6
+export const host = HOST
7
+export const wss_host = WSS_HOST
8
+
9
+/* eslint-enable */
10
+
11
+export const pathname = '/api/wx'
12
+
13
+const resolvePath = api => `${host + pathname}/${api}`
14
+
15
+// common
16
+export const API_PRELOAD = resolvePath('preload')
17
+export const API_QRCODE = resolvePath('qrcode')
18
+export const API_BANNER_LIST = resolvePath('extendContent')
19
+export const API_QUERY_CODE_SCENE = resolvePath('qrcode/scene')
20
+
21
+// user
22
+export const API_USER_LOGIN = resolvePath('login')
23
+export const API_USER_INFO = resolvePath('signup')
24
+export const API_USER_SIGNIN = resolvePath('user/signin')
25
+export const API_USER_PHONE = resolvePath('userPhone')
26
+export const API_QUERY_USER_INFO = resolvePath('user/info')
27
+export const API_QUERY_USERINFO_BYID = resolvePath('onePerson')
28
+export const API_QUERY_CUSTOMER_INFO = resolvePath('customer/myCustomer')
29
+export const API_QUERY_MYREPORT = resolvePath('customer/myReport')
30
+export const API_QUERY_DOCUMENTVERIFY = resolvePath('documentVerify')
31
+
32
+export const API_QUERY_DOCUMENTVERIFY_list = resolvePath('documentVerify/list')
33
+export const API_QUERY_TADRAINGE = resolvePath('taDrainage')
34
+
35
+
36
+// chat
37
+export const API_CHAT_HISTORY = resolvePath('chat/history')
38
+export const API_CHAT_SEND = wss_host + '/wx/chat'
39
+export const API_CHAT_FRIENDS = resolvePath('chat/with')
40
+export const API_UPLOAD_IMAGE = resolvePath('image')
41
+export const API_CHAT_READED = resolvePath('chat/message')
42
+
43
+// card
44
+export const API_CARDS_LIST = resolvePath('cards')
45
+export const API_CARDS_APPLY = resolvePath('cards/apply')
46
+export const API_FORM_ID = resolvePath('formid')
47
+export const API_UPDATE_PHOTO = resolvePath('userInfo/updatePhoto')
48
+
49
+// project
50
+export const API_INDEX_CUSTOMER = resolvePath('indexCustomer')
51
+export const API_ITEMS_LIST = resolvePath('building/list')
52
+export const API_ITEMS_DETAIL = resolvePath('buildingSelectId')
53
+export const API_ITEMS_TYPE = resolvePath('tdBuildingType')
54
+export const API_ACTIVITY_GROUP = resolvePath('helpActivityAndGroup')
55
+export const API_LOCATION_CITYP = resolvePath('location/city')
56
+export const API_TACUSTOMIMG = resolvePath('taCustomImg')
57
+export const API_INDEX_PROJECTS = resolvePath('building/main')
58
+export const API_INDEX_ICONS = resolvePath('taMiniappOrgIcon')
59
+
60
+
61
+
62
+export const API_HOUSE_LIST = resolvePath('listHousingResources')
63
+export const API_PRESELECTION_RECORD = resolvePath('listPreselectionRecord')
64
+export const API_RAISE_CHECK = resolvePath('check/raise')
65
+export const API_RAISE_PROFILE = resolvePath('taRaise')
66
+export const API_SAVE_RAISE_RECORD = resolvePath('taRaiseRecord')
67
+export const API_RATSE_RECORD = resolvePath('taRaiseRecord/list')
68
+export const API_RATSE_DETAIL = resolvePath('taRaiseRecord')
69
+export const API_RATSE_ORDER = resolvePath('unifiedOrder')
70
+export const API_CANCEL_ORDER = resolvePath('cancel')
71
+export const API_HOUSE_DETAIL = resolvePath('getHousingDetailById')
72
+export const API_ADD_PRESELECTION = resolvePath('taPreselectionRecord')
73
+export const API_CANCEL_PRESELECTION = resolvePath('taPreselectionRecordCancel')
74
+export const API_APARTMENT_TYPE = resolvePath('listBuildApartmentBySalesBatchId')
75
+export const API_SALESBATCH_LIST = resolvePath('taSalesBatch/choice')
76
+export const API_NOTICE_INFO = resolvePath('getNoticeInfo')
77
+export const API_SALES_BATCH = resolvePath('taSalesBatch')
78
+export const API_ADDLIVE_NUM = resolvePath('addVisitNum')
79
+export const API_LIVE_DEATIL = resolvePath('taLiveActivity')
80
+// /wx/location/city?location=lon,lat
81
+
82
+//sign
83
+export const API_CONTRACT_USER = resolvePath('contract/user/add')
84
+export const API_CONTRACT_GET = resolvePath('contract/user/get')
85
+export const API_CONTRACT_AUTO = resolvePath('contract/auto')
86
+export const API_CONTRACT_MANUAL = resolvePath('contract/manual')
87
+export const API_CONTRACT_CHECK = resolvePath('contract/check')
88
+
89
+// shop
90
+export const API_GOODS_LIST = resolvePath('goods')
91
+export const API_GOODS_BUILDING = resolvePath('goodsToBuilding')
92
+export const API_GOODS_EXCHANGE = resolvePath('goods/exchange')
93
+export const API_GOODS_EXCHANGE_RECORDS = resolvePath('taPointsExchange')
94
+export const API_POINTS_RECORDS = resolvePath('taPointsRecords')
95
+export const API_POINTS_RULE = resolvePath('tdPointsRules')
96
+export const API_POINTS_ADRESS = resolvePath('person/city')
97
+export const API_GOODS_BELONGS = resolvePath('goodsToBuilding')
98
+
99
+// client
100
+export const API_CLIENT_LIST = resolvePath('customer/recommend/mine')
101
+export const API_RECOMENT_CLIENT = resolvePath('customer/new')
102
+export const API_CLIENT_PROGRESS = resolvePath('customer')
103
+export const API_TYPE_DATA = resolvePath('awesome/dict/recommendcustomer')
104
+
105
+// report
106
+export const API_REPORT_LIST = resolvePath('myReport')
107
+export const API_REPORT_CLIENT = resolvePath('customer/report')
108
+export const API_RECOMMEND_GET = resolvePath('customer/recommend/get')
109
+export const API_RECOMMEND_EDIT = resolvePath('customer/recommend/edit')
110
+
111
+// common
112
+export const API_ITEMS_UV = resolvePath('project/hot')
113
+export const API_CARDS_UV = resolvePath('consultant/hot')
114
+export const API_ACTIVITY_UV = resolvePath('activity/pvNum')
115
+export const API_NEWS_UV = resolvePath('taNews/pvNum')
116
+
117
+export const API_CARDS_LIKE = resolvePath('consultant/like')
118
+export const API_ITEMS_LIKE = resolvePath('project/like')
119
+export const API_ACTIVITY_LIKE = resolvePath('activity/like')
120
+export const API_NEWS_LIKE = resolvePath('news/like')
121
+
122
+export const API_CARDS_SHARE = resolvePath('consultant/share')
123
+export const API_ITEMS_SHARE = resolvePath('project/share')
124
+export const API_ACTIVITY_SHARE = resolvePath('activity/share')
125
+export const API_HELP_SHARE = resolvePath('help/share')
126
+export const API_GROUP_SHARE = resolvePath('group/share')
127
+export const API_HFIVE_SHARE = resolvePath('h5/share')
128
+export const API_NEWS_SHARE = resolvePath('news/share')
129
+export const API_HOUSE_SHARE = resolvePath('houseApp/share')
130
+export const API_HOUSE_POSTER = resolvePath('housePost/share')
131
+export const API_LIVE_SHARE = resolvePath('liveApp/share')
132
+export const API_LIVE_POSTER = resolvePath('livePost/share')
133
+
134
+export const API_INDEX_SHARE = resolvePath('main/share')
135
+
136
+export const API_ACTIVITY_FAVOR = resolvePath('activity/save')
137
+export const API_NEWS_FAVOR = resolvePath('news/save')
138
+export const API_CARD_FAVOR = resolvePath('card/save')
139
+export const API_PROJECT_FAVOR = resolvePath('project/save')
140
+
141
+// 埋点接口
142
+export const API_BURIED_POINT = resolvePath('taPersonVisitRecord')
143
+
144
+
145
+// activity
146
+export const API_ACTIVITY_LIST = resolvePath('buildingDynamiceList')
147
+//拼团
148
+export const API_GROUP_LIST = resolvePath('taShareRecord')
149
+//助力
150
+export const API_HELP_LIST = resolvePath('helpInitiateRecord')
151
+
152
+// save activity
153
+export const API_ACTIVITY_SAVE = resolvePath('save/buildingDynamiceList')
154
+
155
+export const API_ACTIVITY_DETAIL = resolvePath('buildingDynamiceInfo')
156
+// signup
157
+export const API_ACTIVITY_SIGNUP = resolvePath('activityDynamicEnlistAdd')
158
+// signin
159
+export const API_ACTIVITY_SIGNIN = resolvePath('taCheckin/activity')
160
+
161
+// news
162
+export const API_NEWS_LIST = resolvePath('taNews')
163
+
164
+
165
+// feedback
166
+export const API_FEEDBACK_SUBMIT = resolvePath('taCustomerMessage')
167
+
168
+
169
+// getCode
170
+export const API_GET_CODE = resolvePath('captcha')
171
+
172
+// checkCode
173
+export const API_CHECK_CODE = resolvePath('check/captcha')
174
+
175
+
176
+// /wx/registerConsultantOneClick
177
+// registerConsultant
178
+export const API_PUT_REGISTER = resolvePath('registerConsultant')
179
+
180
+// registerConsultantOneClick
181
+export const API_PUT_REGISTERCONSULTANT = resolvePath('registerConsultantOneClick')
182
+
183
+// city
184
+export const API_CITY_LIST = resolvePath('tdCity')
185
+
186
+
187
+// policy
188
+export const API_POLICY_LIST = resolvePath('taPolicy')
189
+
190
+//agent
191
+
192
+export const API_AGENT_LIST = resolvePath('agent/recommend/mine')
193
+
194
+export const API_REGISTER_AGENT = resolvePath('registerAgent')
195
+
196
+// agent change
197
+export const API_AGENT_CHANNEL = resolvePath('customer/recommend/becomeChannel')
198
+
199
+export const API_AGENT_CURRENT = resolvePath('user/current')
200
+
201
+export const API_EDIT_AGENT = resolvePath('editPerson')
202
+
203
+// 活动列表-新
204
+export const API_ACTNEW_LIST = resolvePath('activity/list')
205
+
206
+// 助力
207
+export const API_HELP_DETAIL = resolvePath('helpActivity')
208
+export const API_HELP_CREATE = resolvePath('helpInitiateRecord')
209
+export const API_HELP_FRIEND = resolvePath('helpRecord')
210
+
211
+//签到
212
+export const API_CHECKIN_DETAILS = resolvePath('buildingDynamiceEnlistInfo')
213
+export const API_CHECKIN_ACTIVE = resolvePath('buildingDynamicCheckin')
214
+
215
+// 拼团
216
+export const API_GROUP_DETAIL = resolvePath('taShareActivity')
217
+export const API_GROUP_CREATE = resolvePath('taShareRecord')
218
+export const API_GROUP_JOIN = resolvePath('taShareChildRecord')
219
+
220
+//person
221
+export const API_MY_CUSTOMER = resolvePath('inventory/customer/statistics')
222
+export const API_CUSTOMER_LIST = resolvePath('inventory/customer/statistics')
223
+export const API_CUSTOMER_DETAIL = resolvePath('inventory/customer')
224
+export const API_VISIT_RECORD = resolvePath('taPersonVisitRecord')
225
+export const API_ACTIVITY_LIST_CUSTOMER = resolvePath('customer/activity/list')
226
+export const API_FOLLOW_LIST = resolvePath('taCustomerFollowUpRecord')
227
+export const API_SEX_INFO = resolvePath('genderStatistic')
228
+export const API_ECHERTS_DAILY = resolvePath('customerStatisticDaily')
229
+export const API_ECHERTS_MONTH = resolvePath('customerStatisticMonthly')
230
+export const API_BUILDING_TYPE = resolvePath('getByBuildingIdSelectBuildingProjectType')
231
+export const API_CONSULTANT_VISIT_RECORD = resolvePath('activityVisitRecord')
232
+export const API_MORE_ACTIVITY = resolvePath('visitRecord/activity')
233
+export const API_SHARE_LIST = resolvePath('shareRecords')
234
+export const API_SHARE_INFOLIST = resolvePath('sharePersonInfoList')
235
+export const API_BIND_CUSTOMER = resolvePath('judgeBindCustomer')
236
+// 消息模板
237
+export const API_TEMPLATE_TYPE = resolvePath('template/of/')

+ 5
- 5
src/constants/card.js Visa fil

@@ -1,5 +1,5 @@
1
-export const CARD_INFO = 'CARD_INFO'
2
-export const CARD_LIST = 'CARD_LIST'
3
-export const CARD_LIKE = 'CARD_LIKE'
4
-export const CARD_UNLIKE = 'CARD_UNLIKE'
5
-
1
+export const CARD_INFO = 'CARD_INFO'
2
+export const CARD_LIST = 'CARD_LIST'
3
+export const CARD_LIKE = 'CARD_LIKE'
4
+export const CARD_UNLIKE = 'CARD_UNLIKE'
5
+

+ 2
- 2
src/constants/checkin.js Visa fil

@@ -1,2 +1,2 @@
1
-export const CHECKIN_DETAILS = 'CHECKIN_DETAILS'
2
-export const CHECKIN_ACTIVE = 'CHECKIN_ACTIVE'
1
+export const CHECKIN_DETAILS = 'CHECKIN_DETAILS'
2
+export const CHECKIN_ACTIVE = 'CHECKIN_ACTIVE'

+ 2
- 2
src/constants/city.js Visa fil

@@ -1,2 +1,2 @@
1
-export const CITY_LIST = 'CITY_LIST'
2
-export const CITY_SELECTED = 'CITY_SELECTED'
1
+export const CITY_LIST = 'CITY_LIST'
2
+export const CITY_SELECTED = 'CITY_SELECTED'

+ 1
- 1
src/constants/login.js Visa fil

@@ -1 +1 @@
1
-export const USER_LOGIN = 'USER_LOGIN'
1
+export const USER_LOGIN = 'USER_LOGIN'

+ 4
- 4
src/constants/news.js Visa fil

@@ -1,4 +1,4 @@
1
-export const NEWS_LIST = 'NEWS_LIST'
2
-export const NEWS_DETAIL = 'NEWS_DETAIL'
3
-
4
-
1
+export const NEWS_LIST = 'NEWS_LIST'
2
+export const NEWS_DETAIL = 'NEWS_DETAIL'
3
+
4
+

+ 4
- 4
src/constants/project.js Visa fil

@@ -1,5 +1,5 @@
1
-export const PROJECT_LIST = 'PROJECT_LIST'
2
-export const PROJECT_DETAIL = 'PROJECT_DETAIL'
3
-export const PROJECT_SCREEN = 'PROJECT_SCREEN'
4
-export const SET_SCREEN_SHOWED = 'SET_SCREEN_SHOWED'
1
+export const PROJECT_LIST = 'PROJECT_LIST'
2
+export const PROJECT_DETAIL = 'PROJECT_DETAIL'
3
+export const PROJECT_SCREEN = 'PROJECT_SCREEN'
4
+export const SET_SCREEN_SHOWED = 'SET_SCREEN_SHOWED'
5 5
 export const LOCATION_CITY = 'LOCATION_CITY'

+ 7
- 7
src/constants/shop.js Visa fil

@@ -1,7 +1,7 @@
1
-export const GOODS_LIST = 'GOODS_LIST'
2
-export const GOODS_DETAIL = 'GOODS_DETAIL'
3
-export const GOODS_EXCHANGE = 'GOODS_EXCHANGE'
4
-export const GOODS_EXCHANGE_RECORDS = 'GOODS_EXCHANGE_RECORDS'
5
-export const POINTS_RECORDS = 'POINTS_RECORDS'
6
-export const POINTS_RULE = 'POINTS_RULE'
7
-export const POINTS_ADRESS = 'POINTS_ADRESS'
1
+export const GOODS_LIST = 'GOODS_LIST'
2
+export const GOODS_DETAIL = 'GOODS_DETAIL'
3
+export const GOODS_EXCHANGE = 'GOODS_EXCHANGE'
4
+export const GOODS_EXCHANGE_RECORDS = 'GOODS_EXCHANGE_RECORDS'
5
+export const POINTS_RECORDS = 'POINTS_RECORDS'
6
+export const POINTS_RULE = 'POINTS_RULE'
7
+export const POINTS_ADRESS = 'POINTS_ADRESS'

+ 18
- 18
src/constants/user.js Visa fil

@@ -1,18 +1,18 @@
1
-export const USER_INFO = 'USER_INFO'
2
-// export const USER_QUERY_INFO = 'USER_QUERY_INFO'
3
-export const USER_SIGNIN = 'USER_SIGNIN'
4
-export const USER_GOODS = 'USER_GOODS'
5
-export const ASSIGN_UNREADNUM = 'ASSIGN_UNREADNUM'
6
-export const INCREASE_UNREADNUM = 'INCREASE_UNREADNUM'
7
-export const DECREASE_UNREADNUM = 'DECREASE_UNREADNUM'
8
-export const API_QUERY_CUSTOMER_INFO = 'API_QUERY_CUSTOMER_INFO'
9
-export const API_QUERY_MYREPORT = 'API_QUERY_MYREPORT'
10
-export const UPDATE_USER_INFO = 'UPDATE_USER_INFO'
11
-
12
-export const ROLE_CODE = {
13
-  CONSULTANT: 'Realty Consultant', // 置业顾问
14
-  ESTATE_AGENT: 'estate agent', // 独立经纪人
15
-  CHANNEL_AGENT: 'channel agent', // 渠道经纪人
16
-  DRIFT: 'drift', // 游客
17
-  CUSTOMER: 'customer' // 客户
18
-}
1
+export const USER_INFO = 'USER_INFO'
2
+// export const USER_QUERY_INFO = 'USER_QUERY_INFO'
3
+export const USER_SIGNIN = 'USER_SIGNIN'
4
+export const USER_GOODS = 'USER_GOODS'
5
+export const ASSIGN_UNREADNUM = 'ASSIGN_UNREADNUM'
6
+export const INCREASE_UNREADNUM = 'INCREASE_UNREADNUM'
7
+export const DECREASE_UNREADNUM = 'DECREASE_UNREADNUM'
8
+export const API_QUERY_CUSTOMER_INFO = 'API_QUERY_CUSTOMER_INFO'
9
+export const API_QUERY_MYREPORT = 'API_QUERY_MYREPORT'
10
+export const UPDATE_USER_INFO = 'UPDATE_USER_INFO'
11
+
12
+export const ROLE_CODE = {
13
+  CONSULTANT: 'Realty Consultant', // 置业顾问
14
+  ESTATE_AGENT: 'estate agent', // 独立经纪人
15
+  CHANNEL_AGENT: 'channel agent', // 渠道经纪人
16
+  DRIFT: 'drift', // 游客
17
+  CUSTOMER: 'customer' // 客户
18
+}

+ 7
- 6
src/layout/Basic/index.jsx Visa fil

@@ -13,12 +13,13 @@ const BasicLayout = (props) => {
13 13
     onProps({person, ...leftProps})
14 14
   }
15 15
 
16
-  return loading ?
17
-  (
18
-    <View className="page-loading-wrapper">
19
-      <Loading />
20
-    </View>
21
-  ) : children || null
16
+  return null
17
+  // return loading ?
18
+  // (
19
+  //   <View className="page-loading-wrapper">
20
+  //     <Loading />
21
+  //   </View>
22
+  // ) : children || null
22 23
 }
23 24
 
24 25
 export default connect(({ user }) => ({...user.userInfo || {}}))(BasicLayout)

+ 4
- 3
src/layout/index.js Visa fil

@@ -10,9 +10,10 @@ export default (Child) => (props) => {
10 10
   const router = useRouter()
11 11
 
12 12
   useEffect(() => {
13
-    const initedPerson = !!info?.person?.personId
14
-    const initedRouter = !!router?.path
15
-    setReady(initedPerson && initedRouter)
13
+    // const initedPerson = !!info?.person?.personId
14
+    // const initedRouter = !!router?.path
15
+    // setReady(initedPerson && initedRouter)
16
+    setReady(true)
16 17
   })
17 18
 
18 19
   return (

+ 3
- 0
src/pages/chat/index.config.js Visa fil

@@ -0,0 +1,3 @@
1
+export default {
2
+  navigationBarTitleText: '聊天记录'
3
+}

+ 57
- 0
src/pages/chat/index.jsx Visa fil

@@ -0,0 +1,57 @@
1
+import React, { useState, useEffect } from 'react'
2
+import withLayout from '@/layout'
3
+import './index.scss'
4
+import { ScrollView, Image } from '@tarojs/components'
5
+
6
+export default withLayout((props) => {
7
+
8
+  // const [PageProps] = useState(props)
9
+  const [IsPull, setPull] = useState(false)
10
+  const [PullTimer, setPullTimer] = useState(null)
11
+  const [PageList, setPageList] = useState(['', '', '', '', '', '', '', '', '', ''])
12
+
13
+  const PageRefresh = () => { // 页面下拉刷新回调
14
+    setPull(true)
15
+  }
16
+
17
+  useEffect(() => { // 下拉刷新触发
18
+    if (IsPull) {
19
+      clearTimeout(PullTimer)
20
+      setPullTimer(setTimeout(() => {
21
+        setPull(false)
22
+      }, 2000))
23
+    }
24
+  }, [IsPull])
25
+
26
+  return (
27
+    <view className='Page Chat'>
28
+
29
+      <ScrollView scroll-y={true} refresher-enabled={true} refresher-triggered={IsPull} onrefresherrefresh={PageRefresh} refresher-background='#fff'>
30
+        <view className='PageContent'>
31
+          {
32
+            PageList.map((item, index) => (
33
+              <view className='ListItem flex-h' key={`ListItem-${index}`}>
34
+                <view className='Icon'>
35
+                  <view>
36
+                    <Image mode='aspectFill' className='centerLabel' src={item.img || require('../../assets/mine-icon18.png')} />
37
+                  </view>
38
+                  <text className='Num'>99</text>
39
+                </view>
40
+                <view className='flex-item'>
41
+                  <view className='flex-h'>
42
+                    <text className='flex-item'>张三</text>
43
+                    <text>刚刚</text>
44
+                  </view>
45
+                  <view className='Msg'>
46
+                    <text>户型很好,很满意</text>
47
+                  </view>
48
+                </view>
49
+              </view>
50
+            ))
51
+          }
52
+        </view>
53
+      </ScrollView>
54
+
55
+    </view>
56
+  )
57
+})

+ 81
- 0
src/pages/chat/index.scss Visa fil

@@ -0,0 +1,81 @@
1
+.Page.Chat {
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
+      > .ListItem {
11
+        padding: 20px 30px;
12
+        position: relative;
13
+        overflow: hidden;
14
+        align-items: center;
15
+        border-top: 2px solid rgba(0, 0, 0, 0.05);
16
+        &:first-child {
17
+          border: none;
18
+        }
19
+        > .Icon {
20
+          width: 80px;
21
+          height: 80px;
22
+          position: relative;
23
+          overflow: visible;
24
+          > view {
25
+            width: 100%;
26
+            height: 100%;
27
+            border-radius: 6px;
28
+            background: #ccc;
29
+            position: relative;
30
+            overflow: hidden;
31
+            z-index: 1;
32
+            > image {
33
+              width: 100%;
34
+              height: 100%;
35
+            }
36
+          }
37
+          >.Num {
38
+            width: 30px;
39
+            line-height: 30px;
40
+            display: inline-block;
41
+            text-align: center;
42
+            color: #fff;
43
+            background: #F02222;
44
+            border-radius: 100%;
45
+            position: absolute;
46
+            z-index: 2;
47
+            right: -10px;
48
+            top: -10px;
49
+            font-size: 18px;
50
+          }
51
+        }
52
+        >.flex-item {
53
+          margin-left: 20px;
54
+          >.flex-h {
55
+            align-items: center;
56
+            >text {
57
+              font-size: 20px;
58
+              color: #888;
59
+              line-height: 40px;
60
+              &:first-child {
61
+                font-size: 28px;
62
+                color: #333;
63
+              }
64
+            }
65
+          }
66
+          >.Msg {
67
+            >text {
68
+              display: block;
69
+              white-space: nowrap;
70
+              overflow: hidden;
71
+              text-overflow: ellipsis;
72
+              font-size: 24px;
73
+              color: #888;
74
+              line-height: 40px;
75
+            }
76
+          }
77
+        }
78
+      }
79
+    }
80
+  }
81
+}

+ 3
- 0
src/pages/index/activityDetail/index.config.js Visa fil

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

+ 45
- 0
src/pages/index/activityDetail/index.jsx Visa fil

@@ -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 Visa fil

@@ -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 Visa fil

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

+ 45
- 0
src/pages/index/activityList/index.jsx Visa fil

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

+ 34
- 0
src/pages/index/activityList/index.scss Visa fil

@@ -0,0 +1,34 @@
1
+.components.activityList {
2
+  position: relative;
3
+  overflow: hidden;
4
+  background: #f8f8f8;
5
+  width: 100%;
6
+  height: 100%;
7
+  >scroll-view {
8
+    width: 100%;
9
+    height: 100%;
10
+    .PageContent {
11
+      min-height: 100vh;
12
+      position: relative;
13
+      overflow: visible;
14
+      padding: 0 30px;
15
+      >.List {
16
+        >view {
17
+          margin-top: 30px;
18
+        }
19
+      }
20
+      > .PageBottom {
21
+        text-align: center;
22
+        font-size: 0;
23
+        white-space: nowrap;
24
+        > text {
25
+          display: inline-block;
26
+          font-size: 28px;
27
+          color: #666;
28
+          line-height: 40px;
29
+          margin: 20px auto;
30
+        }
31
+      }
32
+    }
33
+  }
34
+}

+ 0
- 0
src/pages/index/addedValueService/index.config.js Visa fil


Vissa filer visades inte eftersom för många filer har ändrats