修改所有页面标头的背景颜色和字体颜色
This commit is contained in:
parent
02d62d3276
commit
d3aa0aab83
10
pages.json
10
pages.json
@ -31,12 +31,18 @@
|
|||||||
"pages": [{
|
"pages": [{
|
||||||
"path": "index/index",
|
"path": "index/index",
|
||||||
"style": {}
|
"style": {}
|
||||||
|
}, {
|
||||||
|
"path": "managefamily/managefamily",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "管理家庭成员",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
}],
|
}],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "white",
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
"navigationBarBackgroundColor": "#26A888",
|
||||||
"backgroundColor": "#F8F8F8"
|
"backgroundColor": "#F8F8F8"
|
||||||
},
|
},
|
||||||
"uniIdRouter": {},
|
"uniIdRouter": {},
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
<view class="switch btn">
|
<view class="switch btn">
|
||||||
切换家庭成员
|
切换家庭成员
|
||||||
</view>
|
</view>
|
||||||
<view class="manage btn">
|
<view class="manage btn" @click="gomanagefamily">
|
||||||
管理家庭成员
|
管理家庭成员
|
||||||
</view>
|
</view>
|
||||||
<view class="Threecategories">
|
<view class="Threecategories">
|
||||||
@ -152,6 +152,13 @@
|
|||||||
return {
|
return {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
gomanagefamily() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pagesB/managefamily/managefamily'
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
19
pagesB/managefamily/managefamily.vue
Normal file
19
pagesB/managefamily/managefamily.vue
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user