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