|
|
|
@ -170,6 +170,10 @@ |
|
|
|
justify-content: flex-end; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__mobileBrand { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__topbarRight { |
|
|
|
display: inline-flex; |
|
|
|
align-items: center; |
|
|
|
@ -1023,6 +1027,12 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// "更多"内的移动端导航分区 与 底栏"更多"文字:仅移动端展示,桌面隐藏 |
|
|
|
.layoutShell__footerMenuText, |
|
|
|
.layoutShell__footerPopoverNav { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverPanel { |
|
|
|
position: absolute; |
|
|
|
left: 20px; |
|
|
|
@ -1310,11 +1320,30 @@ |
|
|
|
grid-column: 1; |
|
|
|
grid-row: 1; |
|
|
|
padding: 0 12px; |
|
|
|
justify-content: flex-end; |
|
|
|
justify-content: space-between; |
|
|
|
gap: 12px; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__mobileBrand { |
|
|
|
width: 70px; |
|
|
|
height: 36px; |
|
|
|
border-radius: 24px; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
flex: 0 0 auto; |
|
|
|
background: #ffffff; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__mobileBrandLogo { |
|
|
|
width: 70px; |
|
|
|
height: 36px; |
|
|
|
display: block; |
|
|
|
object-fit: contain; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__topbarRight { |
|
|
|
width: 100%; |
|
|
|
width: auto; |
|
|
|
gap: 8px; |
|
|
|
justify-content: flex-end; |
|
|
|
} |
|
|
|
@ -1398,12 +1427,12 @@ |
|
|
|
width: 100%; |
|
|
|
min-width: 0; |
|
|
|
height: var(--layout-tabbar-height); |
|
|
|
padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)); |
|
|
|
padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); |
|
|
|
border-top: 1px solid #eeeeee; |
|
|
|
display: grid; |
|
|
|
grid-template-columns: minmax(0, 1fr) auto; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
gap: 8px; |
|
|
|
gap: 2px; |
|
|
|
overflow: visible; |
|
|
|
box-shadow: 0 -6px 18px rgba(15, 15, 15, 0.06); |
|
|
|
} |
|
|
|
@ -1412,28 +1441,29 @@ |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
// 底栏 5 等分:4 个主导航项占 4 份,"更多"占 1 份 |
|
|
|
.layoutShell__sideNav { |
|
|
|
width: 100%; |
|
|
|
flex: 4; |
|
|
|
width: auto; |
|
|
|
min-width: 0; |
|
|
|
margin-top: 0; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
gap: 4px; |
|
|
|
overflow-x: auto; |
|
|
|
overflow-y: hidden; |
|
|
|
scrollbar-width: none; |
|
|
|
-ms-overflow-style: none; |
|
|
|
gap: 2px; |
|
|
|
overflow: visible; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__sideNav::-webkit-scrollbar { |
|
|
|
// 教学/画布等溢出项不进底栏,收进"更多"弹层 |
|
|
|
.layoutShell__sideItem_overflow { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__sideItem { |
|
|
|
width: clamp(54px, 15vw, 72px); |
|
|
|
min-width: clamp(54px, 15vw, 72px); |
|
|
|
flex: 1; |
|
|
|
width: auto; |
|
|
|
min-width: 0; |
|
|
|
height: 52px; |
|
|
|
padding: 6px 4px; |
|
|
|
padding: 6px 2px; |
|
|
|
border-radius: 16px; |
|
|
|
gap: 2px; |
|
|
|
} |
|
|
|
@ -1460,39 +1490,58 @@ |
|
|
|
transform-origin: top right; |
|
|
|
} |
|
|
|
|
|
|
|
// "更多"占底栏第 5 格 |
|
|
|
.layoutShell__footer { |
|
|
|
flex: 1; |
|
|
|
width: auto; |
|
|
|
height: auto; |
|
|
|
margin-top: 0; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
gap: 4px; |
|
|
|
} |
|
|
|
|
|
|
|
// 订阅/我的退到顶栏头像菜单,底栏不再显示 |
|
|
|
.layoutShell__footerNav { |
|
|
|
width: auto; |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
gap: 4px; |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverTrigger { |
|
|
|
width: 44px; |
|
|
|
flex: 1; |
|
|
|
width: auto; |
|
|
|
height: 52px; |
|
|
|
margin: 0; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
background: transparent; |
|
|
|
flex-shrink: 0; |
|
|
|
} |
|
|
|
|
|
|
|
// "更多"按钮改成与主 Tab 一致的"图标+文字"竖排样式 |
|
|
|
.layoutShell__footerMenuBtn { |
|
|
|
width: 36px; |
|
|
|
height: 36px; |
|
|
|
border-radius: 18px; |
|
|
|
background: #f9f9f9; |
|
|
|
width: 100%; |
|
|
|
height: 52px; |
|
|
|
flex-direction: column; |
|
|
|
gap: 2px; |
|
|
|
padding: 6px 2px; |
|
|
|
border-radius: 16px; |
|
|
|
background: transparent; |
|
|
|
} |
|
|
|
|
|
|
|
// 提高选择器优先级,覆盖桌面基础的 `.layoutShell__footerMenuBtn img` 尺寸 |
|
|
|
.layoutShell__footerMenuBtn .layoutShell__footerMenuIcon { |
|
|
|
width: 22px; |
|
|
|
height: 22px; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerMenuText { |
|
|
|
display: block; |
|
|
|
max-width: 100%; |
|
|
|
color: #333333; |
|
|
|
font-size: 11px; |
|
|
|
line-height: 14px; |
|
|
|
overflow: hidden; |
|
|
|
text-overflow: ellipsis; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverPanel { |
|
|
|
@ -1504,6 +1553,54 @@ |
|
|
|
overflow-y: auto; |
|
|
|
} |
|
|
|
|
|
|
|
// "更多"弹层里的移动端导航分区(教学/画布) |
|
|
|
.layoutShell__footerPopoverNav { |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
padding-bottom: 4px; |
|
|
|
margin-bottom: 4px; |
|
|
|
border-bottom: 1px solid #f0f0f0; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverNavItem { |
|
|
|
position: relative; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
gap: 10px; |
|
|
|
height: 44px; |
|
|
|
padding: 0 10px; |
|
|
|
border-radius: 8px; |
|
|
|
color: #333333; |
|
|
|
font-size: 13px; |
|
|
|
text-decoration: none; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverNavItem:hover { |
|
|
|
background: #f0f0f0; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverNavItem .layoutShell__sideIcon, |
|
|
|
.layoutShell__footerPopoverNavItem .layoutShell__sideIconImage { |
|
|
|
width: 20px; |
|
|
|
height: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverNavItem_active { |
|
|
|
color: #6f47f5; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverNavItem_active .layoutShell__sideIconImage_default { |
|
|
|
opacity: 0; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverNavItem_active .layoutShell__sideIconImage_active { |
|
|
|
opacity: 1; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__footerPopoverNavBadge { |
|
|
|
margin-left: auto; |
|
|
|
} |
|
|
|
|
|
|
|
.layoutShell__contentFrame { |
|
|
|
grid-column: 1; |
|
|
|
grid-row: 2; |
|
|
|
|