1007395918@qq.com 5 年前
父节点
当前提交
3febf20256
共有 4 个文件被更改,包括 7 次插入4 次删除
  1. 1
    1
      src/components/indexMenus/icons.js
  2. 3
    0
      src/pages/card/index.js
  3. 2
    2
      src/pages/project/index.js
  4. 1
    1
      src/pages/shop/index.js

+ 1
- 1
src/components/indexMenus/icons.js 查看文件

18
 const menus = [
18
 const menus = [
19
 
19
 
20
     {
20
     {
21
-        name: '积分商城',
21
+        name: '积分',
22
         url: '/pages/shop/index',
22
         url: '/pages/shop/index',
23
         icon: icons.shop,
23
         icon: icons.shop,
24
         switchTab: true,
24
         switchTab: true,

+ 3
- 0
src/pages/card/index.js 查看文件

419
         buildingId,
419
         buildingId,
420
         phone: realPhone
420
         phone: realPhone
421
       }
421
       }
422
+
422
       const { cardInfo, userInfo: { person } } = this.props
423
       const { cardInfo, userInfo: { person } } = this.props
424
+
423
       if (person.personId != cardInfo.id) {
425
       if (person.personId != cardInfo.id) {
426
+        Taro.setNavigationBarTitle({ title: `${cardInfo.name}为您服务` })
424
         reportClient(payload).then(res => {
427
         reportClient(payload).then(res => {
425
           this.setState({ bound: true })
428
           this.setState({ bound: true })
426
           if (res !== 'bound') {
429
           if (res !== 'bound') {

+ 2
- 2
src/pages/project/index.js 查看文件

66
 
66
 
67
     ready.queue(() => {
67
     ready.queue(() => {
68
 
68
 
69
-      Taro.setNavigationBarTitle({ title: this.props.userInfo.miniApp.name })
69
+      Taro.setNavigationBarTitle({ title: `${this.props.userInfo.miniApp.name}欢迎你`})
70
       const city = this.state.city || this.props.curCity
70
       const city = this.state.city || this.props.curCity
71
       this.loadData({ curCity: city })
71
       this.loadData({ curCity: city })
72
 
72
 
340
       console.log('首页分享')
340
       console.log('首页分享')
341
     })
341
     })
342
     return {
342
     return {
343
-      title: this.state.imgDocument || `${this.props.userInfo.miniApp.name || '橙蕉'} 精准获客平台`,//分享内容
343
+      title: this.state.imgDocument || ` 精准获客—上${this.props.userInfo.miniApp.name || '橙蕉'},买好房`,//分享内容
344
       path: `/pages/project/index?from=share&recommender=${personId}`,//分享地址
344
       path: `/pages/project/index?from=share&recommender=${personId}`,//分享地址
345
       imageUrl: this.state.shareImg || 'https://njcj.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1574145199853-97feda7895c65be33aa234a7b81b37f.jpg',
345
       imageUrl: this.state.shareImg || 'https://njcj.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1574145199853-97feda7895c65be33aa234a7b81b37f.jpg',
346
     }
346
     }

+ 1
- 1
src/pages/shop/index.js 查看文件

20
 @connect(({ user, shop, city }) => ({ ...user, ...shop, ...city }), { ...actions })
20
 @connect(({ user, shop, city }) => ({ ...user, ...shop, ...city }), { ...actions })
21
 export default class Shop extends Component {
21
 export default class Shop extends Component {
22
   config = {
22
   config = {
23
-    navigationBarTitleText: '积分商城'
23
+    navigationBarTitleText: '赚好礼'
24
   }
24
   }
25
 
25
 
26
   state = {
26
   state = {