feat 背景色配置
This commit is contained in:
29
src/App.vue
29
src/App.vue
@@ -3,11 +3,13 @@ onLaunch(() => {})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/* #ifdef H5 */
|
||||
uni-tabbar {
|
||||
--uni-tabbar-height: 50px;
|
||||
/* 全局页面背景色 */
|
||||
page,
|
||||
uni-page-body {
|
||||
background-color: #EAEFF9 !important;
|
||||
}
|
||||
|
||||
/* #ifdef H5 || APP-PLUS */
|
||||
uni-tabbar .uni-tabbar__icon {
|
||||
height: 24px !important;
|
||||
width: 24px !important;
|
||||
@@ -24,6 +26,12 @@ uni-tabbar .uni-tabbar__label {
|
||||
}
|
||||
/* #endif */
|
||||
|
||||
/* #ifdef H5 */
|
||||
uni-tabbar {
|
||||
--uni-tabbar-height: 50px;
|
||||
}
|
||||
/* #endif */
|
||||
|
||||
/* #ifdef APP-PLUS */
|
||||
uni-tabbar {
|
||||
height: 50px !important;
|
||||
@@ -32,20 +40,5 @@ uni-tabbar {
|
||||
uni-tabbar .uni-tabbar__content {
|
||||
height: 50px !important;
|
||||
}
|
||||
|
||||
uni-tabbar .uni-tabbar__icon {
|
||||
height: 24px !important;
|
||||
width: 24px !important;
|
||||
}
|
||||
|
||||
uni-tabbar .uni-tabbar__icon img {
|
||||
height: 24px !important;
|
||||
width: 24px !important;
|
||||
}
|
||||
|
||||
uni-tabbar .uni-tabbar__label {
|
||||
font-size: 10px !important;
|
||||
margin-top: 2px !important;
|
||||
}
|
||||
/* #endif */
|
||||
</style>
|
||||
|
||||
@@ -5,6 +5,9 @@ import { mockData } from '@/mock/index'
|
||||
|
||||
definePage({
|
||||
layout: false,
|
||||
style: {
|
||||
navigationBarTitleText: '首页',
|
||||
},
|
||||
})
|
||||
|
||||
const dialog = useDialog()
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
<script lang="ts" setup>
|
||||
definePage({
|
||||
layout: false,
|
||||
style: {
|
||||
navigationBarTitleText: '报告',
|
||||
},
|
||||
})
|
||||
|
||||
// const { value: name } = useQuery('name')
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
<script lang="ts" setup>
|
||||
definePage({
|
||||
layout: false,
|
||||
style: {
|
||||
navigationBarTitleText: '工作',
|
||||
},
|
||||
})
|
||||
|
||||
// const { value: name } = useQuery('name')
|
||||
|
||||
Reference in New Issue
Block a user