mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-08 18:36:51 +08:00
feat(component): 添加后退按钮组件并应用到多个页面
- 新增 BackButton 组件,用于实现后退功能 - 在 agent、knowledge、intelligent-agent 等模块的多个页面中集成后退按钮 - 优化后退按钮的样式和交互效果
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
<template>
|
||||
<div class=" render-container">
|
||||
<div class="clearfix flex align-items-c justify-content-b ">
|
||||
<div class="hover-back mr5">
|
||||
<el-icon
|
||||
class="el-icon-arrow-left"
|
||||
style="font-size: 24px;cursor: pointer"
|
||||
@click.native="$router.history.go(-1)"
|
||||
></el-icon>
|
||||
</div>
|
||||
|
||||
<img
|
||||
:src="knowledgeImage ? knowledgeImage : knowledgePng_1"
|
||||
class="header-icon"
|
||||
@@ -990,4 +998,12 @@ export default {
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.hover-back {
|
||||
padding: 10px 5px;
|
||||
&:hover {
|
||||
background: rgba(87, 104, 161, 0.2);
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user