feat 背景色配置

This commit is contained in:
Ironsp
2026-08-31 11:35:55 +08:00
parent fa6c04463f
commit 61ad1f8a3c
5 changed files with 24 additions and 22 deletions

View File

@@ -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>

View File

@@ -5,6 +5,9 @@ import { mockData } from '@/mock/index'
definePage({
layout: false,
style: {
navigationBarTitleText: '首页',
},
})
const dialog = useDialog()

View File

@@ -1,6 +1,9 @@
<script lang="ts" setup>
definePage({
layout: false,
style: {
navigationBarTitleText: '报告',
},
})
// const { value: name } = useQuery('name')

View File

@@ -1,6 +1,9 @@
<script lang="ts" setup>
definePage({
layout: false,
style: {
navigationBarTitleText: '工作',
},
})
// const { value: name } = useQuery('name')