完善页面布局
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user