| @@ -53,6 +53,7 @@ | ||||
|   export default { | ||||
|     name: 'Add', | ||||
|     appName: '发新贴', | ||||
|     navigationBarBackgroundColor: '#ffffff', | ||||
|     navigationBarTextStyle: 'black', | ||||
|  | ||||
|     data () { | ||||
|   | ||||
| @@ -99,10 +99,6 @@ export default { | ||||
|   }, | ||||
|  | ||||
|   onLoad() { | ||||
|     uni.setNavigationBarTitle({ | ||||
|       title: '邻里互助' | ||||
|     }); | ||||
|      | ||||
|     this.getTopicList() | ||||
|  | ||||
|     uni.$on('updateList', () => { | ||||
| @@ -111,7 +107,7 @@ export default { | ||||
|     }) | ||||
|  | ||||
|     if (!this.token) { | ||||
|       this.autoLogin({ loginWay: 'qujing' }).then(() => { | ||||
|       this.autoLogin().then(() => { | ||||
|         this.getMyPublishCount() | ||||
|       }) | ||||
|     } else { | ||||
|   | ||||
| @@ -112,6 +112,7 @@ div<template> | ||||
|   export default { | ||||
|     name: 'Detail', | ||||
|     appName: '详情', | ||||
|     navigationBarBackgroundColor: '#ffffff', | ||||
|     navigationBarTextStyle: 'black', | ||||
|  | ||||
|     data () { | ||||
| @@ -146,7 +147,7 @@ div<template> | ||||
|  | ||||
|       this.$loading() | ||||
|       if (!this.token) { | ||||
|         this.autoLogin({ loginWay: 'qujing' }).then(() => { | ||||
|         this.autoLogin().then(() => { | ||||
|           this.getInfo(query.id) | ||||
|           this.getCommontList(query.id) | ||||
|         }) | ||||
|   | ||||
| @@ -141,6 +141,7 @@ import {mapState} from "vuex"; | ||||
| export default { | ||||
|   name: 'MyPostList', | ||||
|   appName: '我的帖子', | ||||
|   navigationBarBackgroundColor: '#ffffff', | ||||
|   navigationBarTextStyle: 'black', | ||||
|   data() { | ||||
|     return { | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
|   export default { | ||||
|     name: 'Topic', | ||||
|     appName: '更多话题', | ||||
|     navigationBarBackgroundColor: '#ffffff', | ||||
|     navigationBarTextStyle: 'black', | ||||
|  | ||||
|     data () { | ||||
|   | ||||
| @@ -60,6 +60,7 @@ | ||||
|   export default { | ||||
|     name: 'TopicDetail', | ||||
|     appName: '话题详情', | ||||
|     navigationBarBackgroundColor: '#ffffff', | ||||
|     navigationBarTextStyle: 'black', | ||||
|  | ||||
|     data () { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user