优化细节
This commit is contained in:
@@ -21,16 +21,18 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="aside-footer" @click="onToggle">
|
||||
<!-- 1:1 复刻 CRMEB: 一级侧边栏通常不单独折叠,由顶部汉堡菜单控制整体 -->
|
||||
<!-- <view class="aside-footer" @click="onToggle">
|
||||
<view class="toggle-btn">
|
||||
<text class="toggle-icon">{{ collapsed ? '>' : '<' }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
import type { TopMenu } from '@/layouts/admin/router/adminRoutes.uts'
|
||||
import { isMobile } from '@/layouts/admin/store/adminNavStore.uts'
|
||||
|
||||
const props = defineProps<{
|
||||
collapsed: boolean
|
||||
@@ -86,7 +88,7 @@ function onLogoClick(): void {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: width 0.3s ease;
|
||||
z-index: 1000;
|
||||
z-index: 1002; /* 确保在遮罩层之上 */
|
||||
box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user