Merge pull request #9148 from dataease/pr@dev-v2@style_workbranch

refactor(工作台): 优化模版中心文案和图标样式
This commit is contained in:
王嘉豪 2024-04-17 10:27:41 +08:00 committed by GitHub
commit 1199752523
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,15 +9,15 @@
</el-tooltip> </el-tooltip>
<el-row v-show="state.asideActive" style="padding: 24px 12px 0"> <el-row v-show="state.asideActive" style="padding: 24px 12px 0">
<el-row style="align-items: center"> <el-row style="align-items: center">
<span class="custom-breadcrumb-item" @click="closePreview()">{{ <span class="custom-breadcrumb-item" @click="closePreview()">模版中心</span>
t('visualization.template_preview')
}}</span>
<el-icon><ArrowRight /></el-icon> <span class="custom-breadcrumb-item-to"></span> <el-icon><ArrowRight /></el-icon> <span class="custom-breadcrumb-item-to"></span>
<el-tooltip class="box-item" effect="dark" content="收起" placement="right"> <el-tooltip class="box-item" effect="dark" content="收起" placement="right">
<el-icon class="insert-retract" @click="asideActiveChange(false)"> <div @click="asideActiveChange(false)" class="insert-retract">
<Icon name="market-retract"></Icon> <el-icon>
<Icon name="icon_left_outlined" />
</el-icon> </el-icon>
</div>
</el-tooltip> </el-tooltip>
</el-row> </el-row>
<el-row class="margin-top16 search-area"> <el-row class="margin-top16 search-area">
@ -499,34 +499,44 @@ onMounted(() => {
} }
} }
.insert-retract { .arrow-side-tree {
position: absolute; position: absolute;
left: 176px; border: 1px solid #dee0e3;
top: 2px; background: #fff;
display: inline-block;
font-size: 34px;
font-weight: 400 !important;
font-family: '阿里巴巴普惠体 3.0 55 Regular L3';
line-height: 1;
white-space: nowrap;
cursor: pointer; cursor: pointer;
color: #646a73; z-index: 10;
-webkit-appearance: none; &:hover {
text-align: center; .ed-icon {
box-sizing: border-box; color: var(--ed-color-primary);
outline: 0; }
margin: 0; }
transition: 0.1s; .ed-icon {
border-radius: 3px; font-size: 12px;
}
&:active {
color: #000;
border-color: #3a8ee6;
outline: 0;
} }
.insert-retract {
position: absolute;
left: 182px;
top: 2px;
border: 1px solid #dee0e3;
background: #fff;
cursor: pointer;
height: 24px;
width: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 5px 10px 0px #1f23291a;
&:hover { &:hover {
color: #3a8ee6; .ed-icon {
color: var(--ed-color-primary);
}
}
.ed-icon {
font-size: 12px;
} }
} }