Commit b949bbd4 by 岑成威

fix: 样式

1 parent 227d1fa0
<template> <template>
<view class="home-frame-container scene-shell-root" <view class="home-frame-container scene-shell-root hf-embed-in-tab-slot"
:class="[modeClass, resolutionClass, adapterClass, tabSlotEmbedClass]"> :class="[adapterClass]">
<!-- 主导航 Tabbar 由 SceneShell 横/竖壳承担;此处仅内容区 --> <!-- 主导航 Tabbar 由 SceneShell 横/竖壳承担;此处仅内容区 -->
<view class="home-content hf-content-without-tabbar"> <view class="home-content hf-content-without-tabbar">
<view class="right-side"> <view class="right-side">
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
// ===== 应用内容区 ===== // ===== 应用内容区 =====
.app-content-box { .app-content-box {
/* 横屏:与左侧 Tabbar 用户区视觉对齐;竖屏见下方 .mode-portrait 覆盖 */ /* 横屏:与左侧 Tabbar 用户区视觉对齐;竖屏见下方 .mode-portrait 覆盖 */
margin-top: 40px; // margin-top: 40px;
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -124,9 +124,6 @@ ...@@ -124,9 +124,6 @@
padding-bottom: var(--l-spacing-lg); padding-bottom: var(--l-spacing-lg);
} }
.mode-landscape .start {
margin-top: 0;
}
// 大屏平板横屏 (1174x768) 特殊优化 // 大屏平板横屏 (1174x768) 特殊优化
.layout-landscape-1174x768 .right-content { .layout-landscape-1174x768 .right-content {
...@@ -135,8 +132,8 @@ ...@@ -135,8 +132,8 @@
} }
.layout-landscape-1174x768 .start { .layout-landscape-1174x768 .start {
margin-top: 0; // margin-top: 0;
height: 72px; // height: 72px;
} }
// ===== Start 按钮 ===== // ===== Start 按钮 =====
...@@ -152,7 +149,8 @@ ...@@ -152,7 +149,8 @@
overflow: visible; overflow: visible;
flex-shrink: 0; flex-shrink: 0;
min-width: 100px; min-width: 100px;
margin: var(--l-spacing-sm) 0; margin-top: 0;
// margin: var(--l-spacing-sm) 0;
padding: 0; padding: 0;
border-radius: var(--l-radius-xl); border-radius: var(--l-radius-xl);
background-color: #667eea; background-color: #667eea;
......
...@@ -94,5 +94,6 @@ onUnmounted(() => { ...@@ -94,5 +94,6 @@ onUnmounted(() => {
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 0; padding: 0;
padding-top: var(--status-bar-height);
} }
</style> </style>
{
"folders": [
{
"name": "uniapp-x-tape · feature/rework",
"path": "apps/uniappX/uniapp-x-tape"
},
{
"name": "uniapp-x-simgle · feature/simgle_app",
"path": "../venus-wt-feature-simgle_app/apps/uniappX/uniapp-x-simgle"
}
],
"settings": {}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!