Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6f15ab86
authored
Apr 13, 2026
by
岑成威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 全局样式清除
1 parent
facb4a93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
apps/uniappX/uniapp-x-tape/services/adapter/constants/screen.vars.global.uts
apps/uniappX/uniapp-x-tape/services/adapter/constants/screen.vars.global.uts
View file @
6f15ab8
...
@@ -37,10 +37,12 @@ export const globalScreenVars = {
...
@@ -37,10 +37,12 @@ export const globalScreenVars = {
'--tabbar-height': '70px',
'--tabbar-height': '70px',
'--tabbar-icon-size': '32px',
'--tabbar-icon-size': '32px',
},
},
// 须与 components/HomeFrame/styles/index.vars.uts 中 landscape-1174x768 一致;
// 接待中心等路由若未传入 HomeFrame 的 pageVars,否则会沿用此处偏大的 46px,切换 Tab 时图标会突然变大。
'landscape-1174x768': {
'landscape-1174x768': {
'--padding': '22px',
'--padding': '22px',
'--tabbar-height': '
7
0px',
'--tabbar-height': '
64
0px',
'--tabbar-icon-size': '
46
px',
'--tabbar-icon-size': '
34
px',
'--tabbar-width': '140px',
'--tabbar-width': '140px',
},
},
'landscape-1024x768': {
'landscape-1024x768': {
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment