修改所有页面标头的背景颜色和字体颜色

This commit is contained in:
2023-09-20 11:42:34 +08:00
parent 02d62d3276
commit d3aa0aab83
3 changed files with 35 additions and 3 deletions

View File

@ -31,12 +31,18 @@
"pages": [{
"path": "index/index",
"style": {}
}, {
"path": "managefamily/managefamily",
"style": {
"navigationBarTitleText": "管理家庭成员",
"enablePullDownRefresh": false
}
}]
}],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#F8F8F8",
"navigationBarBackgroundColor": "#26A888",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},

View File

@ -20,7 +20,7 @@
<view class="switch btn">
切换家庭成员
</view>
<view class="manage btn">
<view class="manage btn" @click="gomanagefamily">
管理家庭成员
</view>
<view class="Threecategories">
@ -152,6 +152,13 @@
return {
};
},
methods: {
gomanagefamily() {
uni.navigateTo({
url: '/pagesB/managefamily/managefamily'
})
}
}
}
</script>

View File

@ -0,0 +1,19 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
</style>