@@ -25,6 +25,17 @@
"pullToRefresh": {
"color": "#2979ff",
"offset": "60px"
+ },
+ "app-plus": {
+ "titleNView": {
+ "buttons": [
+ {
+ "text": "返回首页",
+ "fontSize": "16px",
+ "width": "80px"
+ }
+ ]
}
},
@@ -41,6 +52,17 @@
@@ -49,6 +71,7 @@
],
"globalStyle": {
+ "navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"app-plus": {
@@ -79,6 +79,11 @@ export default {
onShow() {
this.initData();
+ onNavigationBarButtonTap() {
+ uni.reLaunch({
+ url: "/pages/index/index",
+ });
methods: {
async getProject(params) {
let res = {};
@@ -100,6 +100,11 @@ export default {
async init() {
await this.$store.dispatch("getDep");