提交 f2e97158 编写于 作者: tony001's avatar tony001

调整首页样式

上级 652bda05
<#ibizinclude>
../@MACRO/DEFAULT.less.ftl
</#ibizinclude>
.${srffilepath2(view.getCodeName())}{
position: relative;
}
.index_view{
margin-bottom: 1px;
width: 100%;
......@@ -17,6 +19,7 @@
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fff;
.page-logo{
display: flex;
align-items: center;
......
......@@ -12,7 +12,7 @@
<layout>
<sider :width="collapseChange ? 64 : 200" hide-trigger v-model="collapseChange">
<div class="sider-top">
<div class="page-logo">
<div class="page-logo" @click="contextMenuDragVisiable=!contextMenuDragVisiable">
<#if view.getAppIconPath() != "">
<img v-show="collapseChange" src="${view.getAppIconPath()}" height="16">
<#else>
......@@ -22,6 +22,7 @@
</div>
</div>
${P.getCtrlCode('appmenu', 'CONTROL.html').code}
<context-menu-drag :contextMenuDragVisiable="contextMenuDragVisiable"></context-menu-drag>
</sider>
<layout>
<header class="index_header">
......
......@@ -35,6 +35,14 @@
*/
public navModel:string = "tab";
/**
* 抽屉状态
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}Base
*/
public contextMenuDragVisiable: boolean = false;
/**
* 当前主题
*
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册