소스 검색

Merge branch 'main' of http://git.ycjcjy.com/marketing/miniapp into main

1002884655 3 년 전
부모
커밋
331fb1f7ce

+ 1
- 1
config/prod.js 파일 보기

10
     OSS_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',
10
     OSS_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',
11
     OSS_FAST_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',
11
     OSS_FAST_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',
12
     ICON_FONT: '"https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/css/iconfont.ttf"',
12
     ICON_FONT: '"https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/css/iconfont.ttf"',
13
-    Version: '"V0.0.40-20210811"'
13
+    Version: '"V0.0.42-20210812"'
14
   },
14
   },
15
   mini: {},
15
   mini: {},
16
   h5: {
16
   h5: {

+ 5
- 5
src/actions/news.js 파일 보기

25
  * 资讯详情
25
  * 资讯详情
26
  * @param {*} id 
26
  * @param {*} id 
27
  */
27
  */
28
-export const dispatchNewsDetail = id => createAction({
29
-  url: `${API_NEWS_LIST}/${id}`,
30
-  type: NEWS_DETAIL,
31
-  payload
32
-})
28
+// export const dispatchNewsDetail = id => createAction({
29
+//   url: `${API_NEWS_LIST}/${id}`,
30
+//   type: NEWS_DETAIL,
31
+//   payload
32
+// })

+ 4
- 2
src/pages/index/brandList/index.jsx 파일 보기

13
   const [list, setList] = useState({});
13
   const [list, setList] = useState({});
14
 
14
 
15
   useEffect(() => {
15
   useEffect(() => {
16
-    initData()
17
-  }, [])
16
+    if (city?.id) {
17
+      initData()
18
+    }
19
+  }, [city?.id])
18
 
20
 
19
   function initData () {
21
   function initData () {
20
     queryBrandList({ cityId: city?.id }).then((res) => {
22
     queryBrandList({ cityId: city?.id }).then((res) => {

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

21
     { name: '特价房', id: 9, icon: require('@/assets/index-icon11.png'), router: '/pages/index/specialPriceHouse/index' },
21
     { name: '特价房', id: 9, icon: require('@/assets/index-icon11.png'), router: '/pages/index/specialPriceHouse/index' },
22
     { name: '康养', id: 10, icon: require('@/assets/index-icon7.png'), miniapp: MINI_KANGYANG },
22
     { name: '康养', id: 10, icon: require('@/assets/index-icon7.png'), miniapp: MINI_KANGYANG },
23
     { name: '文旅商办', id: 11, icon: require('@/assets/index-icon13.png'), router: `/pages/index/buildingList/index?isCommerce=1` },
23
     { name: '文旅商办', id: 11, icon: require('@/assets/index-icon13.png'), router: `/pages/index/buildingList/index?isCommerce=1` },
24
-    // { name: '新闻资讯', id: 12, icon: require('@/assets/index-icon15.png'), router: '/pages/index/newsList/index' },
24
+    { name: '资讯', id: 12, icon: require('@/assets/index-icon15.png'), router: '/pages/index/newsList/index' },
25
     { name: '购房百科', id: 13, icon: require('@/assets/index-icon4.png'), router: '/pages/index/encyclopediasOfBuyHouse/index' },
25
     { name: '购房百科', id: 13, icon: require('@/assets/index-icon4.png'), router: '/pages/index/encyclopediasOfBuyHouse/index' },
26
     { name: '房贷计算', id: 14, icon: require('@/assets/index-icon3.png'), router: '/pages/mine/mortgageCalc/index' }
26
     { name: '房贷计算', id: 14, icon: require('@/assets/index-icon3.png'), router: '/pages/mine/mortgageCalc/index' }
27
   ]
27
   ]

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

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

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

16
     [
16
     [
17
       { name: '成为驻场管理', icon: require('@/assets/mine-icon8.png'), router: '/pages/mine/toBeManager/index' },
17
       { name: '成为驻场管理', icon: require('@/assets/mine-icon8.png'), router: '/pages/mine/toBeManager/index' },
18
       { name: '成为置业顾问', icon: require('@/assets/mine-icon4.png'), router: 'propertyConsultant' },
18
       { name: '成为置业顾问', icon: require('@/assets/mine-icon4.png'), router: 'propertyConsultant' },
19
-      { name: '成为专业经纪人', icon: require('@/assets/mine-icon2.png'), router: '/pages/mine/toBeAgent/index' }
19
+      { name: '成为合伙人', icon: require('@/assets/mine-icon2.png'), router: '/pages/mine/toBeAgent/index' }
20
     ]
20
     ]
21
   ],
21
   ],
22
   Broker: [ // 经纪人
22
   Broker: [ // 经纪人

+ 2
- 2
src/routes.js 파일 보기

206
     type: 'building',
206
     type: 'building',
207
   },
207
   },
208
   {
208
   {
209
-    name: '新闻资讯',
209
+    name: '资讯',
210
     page: 'pages/index/newsList/index',
210
     page: 'pages/index/newsList/index',
211
     pkg: 'main',
211
     pkg: 'main',
212
     type: 'news',
212
     type: 'news',
279
     // auth: ['phone'],
279
     // auth: ['phone'],
280
   },
280
   },
281
   {
281
   {
282
-    name: '成为经纪人',
282
+    name: '成为合伙人',
283
     page: 'pages/mine/toBeAgent/index',
283
     page: 'pages/mine/toBeAgent/index',
284
     pkg: 'main',
284
     pkg: 'main',
285
     type: 'mine',
285
     type: 'mine',

+ 1
- 1
src/services/common.js 파일 보기

97
  * 获取品牌房企列表
97
  * 获取品牌房企列表
98
  * @param {*}
98
  * @param {*}
99
  */
99
  */
100
-export const queryBrandList = (params) => fetch({ url: API_BRAND_LIST, params });
100
+export const queryBrandList = (payload) => fetch({ url: API_BRAND_LIST, payload });
101
 
101
 
102
 /**
102
 /**
103
  * 获取品牌房企列表
103
  * 获取品牌房企列表