mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-23 07:40:18 +00:00
style:优化首页和会员中心菜单样式
This commit is contained in:
parent
373ad28895
commit
8af0ccbfc9
@ -48,7 +48,14 @@
|
||||
</el-menu>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-drawer custom-class="aside-drawer" v-model="memberCenter.state.menuExpand" :with-header="false" direction="ltr" size="50%">
|
||||
<el-drawer
|
||||
custom-class="aside-drawer"
|
||||
:append-to-body="true"
|
||||
v-model="memberCenter.state.menuExpand"
|
||||
:with-header="false"
|
||||
direction="ltr"
|
||||
size="70%"
|
||||
>
|
||||
<Aside />
|
||||
</el-drawer>
|
||||
</el-header>
|
||||
|
@ -9,9 +9,15 @@
|
||||
<div class="main-content">
|
||||
{{ $t('index.Steve Jobs') }}
|
||||
</div>
|
||||
<el-button v-if="memberCenter.state.open" @click="$router.push('/user')" color="#ffffff" size="large">{{
|
||||
$t('index.Member Center')
|
||||
}}</el-button>
|
||||
<el-button
|
||||
v-if="memberCenter.state.open"
|
||||
@click="$router.push('/user')"
|
||||
class="container-button"
|
||||
color="#ffffff"
|
||||
size="large"
|
||||
>
|
||||
{{ $t('index.Member Center') }}
|
||||
</el-button>
|
||||
</div>
|
||||
<div class="main-right">
|
||||
<img :src="indexCover" alt="" />
|
||||
@ -38,6 +44,9 @@ togglePageDark(false)
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.container-button {
|
||||
margin: 0 15px 15px 0;
|
||||
}
|
||||
.container {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
@ -109,6 +118,11 @@ togglePageDark(false)
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.container {
|
||||
.main {
|
||||
height: unset;
|
||||
}
|
||||
}
|
||||
.main-container {
|
||||
width: 90% !important;
|
||||
flex-wrap: wrap;
|
||||
|
Loading…
Reference in New Issue
Block a user