修改所有页面标头的背景颜色和字体颜色
This commit is contained in:
parent
02d62d3276
commit
d3aa0aab83
10
pages.json
10
pages.json
@ -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": {},
|
||||
|
||||
@ -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>
|
||||
|
||||
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