完善页面布局

This commit is contained in:
2026-01-28 17:54:30 +08:00
parent 8c5024a943
commit 9f3c2803e3
25 changed files with 4333 additions and 2064 deletions

View File

@@ -1,5 +1,8 @@
<template>
<view class="aside">
<view
class="aside"
:style="{ width: asideWidth + 'px' }"
>
<view class="aside-header">
<view class="logo">
<text class="logo-text">{{ collapsed ? '商' : '商城后台' }}</text>
@@ -31,6 +34,7 @@ defineProps<{
collapsed: boolean
menuList: MenuItem[]
activeMenuId: string
asideWidth:number
}>()
defineEmits<{
@@ -41,7 +45,6 @@ defineEmits<{
<style>
.aside{
width: 96px;
background: #1f2a37;
height: 100vh;
position: fixed;