提交 9d6c8623 编写于 作者: RedPig97's avatar RedPig97

update:样式更新

上级 c71f834c
.app-quick-group{ .app-quick-group {
padding: 4px; width: 100%;
background-color: #F1F1F1; padding: 0;
.app-quick-item{ display: flex;
margin-right: 8px; justify-content: flex-start;
padding: 8px; align-items: center;
background-color: transparent;
.app-quick-item {
width: 110px;
height: 34px;
padding: 0;
cursor: pointer; cursor: pointer;
.app-quick-item-label{ display: flex;
margin-left:4px; align-items: center;
justify-content: center;
margin-right: 20px;
background: var(--app-color-white);
border: 1px solid #FFFFFF;
box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
&.is-active {
font-weight: bold;
border: 1px solid var(--app-color-black);
box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
} }
.app-seleted-item{
display: inline-block;
font-weight: 700;
color: #0c64eb !important;
padding: 4px;
border-bottom: 2px solid;
}
.app-seleted-item:focus {
outline: none;
}
.app-quick-item-counter{
border-radius: 12px;
padding-left: 4px;
font-size: 12px;
font-weight: 400;
vertical-align: middle;
display: inline-block;
width: 18px;
height: 18px;
margin-left: 4px;
background-color: #ddd;
}
}
.app-quick-item :hover{
color: #0c64eb !important;
} }
} }
\ No newline at end of file
<template> <template>
<div class="app-quick-group"> <div class="app-quick-group">
<span class="app-quick-item" v-for="item in renderArray" :key="item.id" @click="handleClick(item)"> <div :class="{'app-quick-item': true, 'is-active': isSelectedItem(item)}" v-for="item in renderArray" :key="item.id" @click="handleClick(item)">
<span v-if="!item.children" :style="{color:item.color}" :class="{'app-seleted-item':isSelectedItem(item)}"> <span v-if="!item.children" :style="{color:item.color}">
<i v-if=" item.iconcls && !Object.is(item.iconcls, '')" :class="item.iconcls"></i> <i v-if=" item.iconcls && !Object.is(item.iconcls, '')" :class="item.iconcls"></i>
<img v-else-if="item.icon && !Object.is(item.icon, '')" :src="item.icon" /> <img v-else-if="item.icon && !Object.is(item.icon, '')" :src="item.icon" />
<span class="app-quick-item-label">{{item.label}}</span> <span class="app-quick-item-label">{{item.label}}</span>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</el-dropdown-item> </el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</span> </div>
</div> </div>
</template> </template>
......
...@@ -13,21 +13,19 @@ ...@@ -13,21 +13,19 @@
background-color: transparent; background-color: transparent;
font-size: 14px; font-size: 14px;
line-height: 22px; line-height: 22px;
>.ivu-tooltip ,>.ivu-dropdown { gap: 10px;
.ivu-btn { .ivu-btn {
width: 110px; width: 110px;
height: 34px; height: 34px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 10px 20px; padding: 10px 20px;
background: var(--app-color-white); background: var(--app-color-white);
border: 1px solid var(--app-color-blue); border: 1px solid var(--app-color-blue);
border-radius: 0; border-radius: 0;
margin-left: 10px; z-index: 0;
z-index: 0;
}
} }
.seperator { .seperator {
display: none; display: none;
...@@ -59,6 +57,26 @@ ...@@ -59,6 +57,26 @@
border-color: var(--app-color-gray-250); border-color: var(--app-color-gray-250);
} }
} }
.search-form-toggle {
width: 100%;
height: 26px;
display: flex;
align-items: center;
gap: 10px;
font-size: 12px;
padding-left: 20px;
cursor: pointer;
i {
font-weight: 900;
font-size: 14px;
}
&:hover {
color: var(--app-color-blue);
}
}
.app-search-form .search-button {
display: none;
}
} }
.view-header__bottom { .view-header__bottom {
height: 74px; height: 74px;
...@@ -66,8 +84,7 @@ ...@@ -66,8 +84,7 @@
justify-content: flex-end; justify-content: flex-end;
align-items: center; align-items: center;
background-color: transparent; background-color: transparent;
font-size: 14px; gap: 10px;
line-height: 22px;
.ivu-btn { .ivu-btn {
width: 110px; width: 110px;
height: 34px; height: 34px;
...@@ -79,7 +96,6 @@ ...@@ -79,7 +96,6 @@
background: var(--app-color-white); background: var(--app-color-white);
border: 1px solid var(--app-color-blue); border: 1px solid var(--app-color-blue);
border-radius: 0; border-radius: 0;
margin-left: 10px;
} }
.ivu-btn-primary { .ivu-btn-primary {
background: var(--app-color-blue); background: var(--app-color-blue);
......
.index-view-layout--left { .index-view-layout--left {
position: relative; position: relative;
font-size: var(--app-font-size);
line-height: var(--app-line-height);
color: var(--app-color-black);
.index-view-sider { .index-view-sider {
flex: none !important; flex: none !important;
max-width: none !important; max-width: none !important;
......
.index-view-layout--top { .index-view-layout--top {
font-size: var(--app-font-size);
line-height: var(--app-line-height);
color: var(--app-color-black);
.index-view-header { .index-view-header {
height: 64px; height: 64px;
display: flex; display: flex;
......
...@@ -86,4 +86,8 @@ ...@@ -86,4 +86,8 @@
--app-color-green: #2DB757; --app-color-green: #2DB757;
// 安永蓝绿 // 安永蓝绿
--app-color-blue-green: #27ACAA; --app-color-blue-green: #27ACAA;
// 安永默认字体
--app-font-size: 14px;
// 安永默认行高
--app-line-height: 22px;
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册