mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-24 18:23:05 +08:00
feat(component): 添加后退按钮组件并应用到多个页面
- 新增 BackButton 组件,用于实现后退功能 - 在 agent、knowledge、intelligent-agent 等模块的多个页面中集成后退按钮 - 优化后退按钮的样式和交互效果
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
<template>
|
||||
<div class="render-container">
|
||||
<div slot="header" class="clearfix">
|
||||
<div slot="header" class="clearfix flex">
|
||||
<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>
|
||||
<h3>上传知识</h3>
|
||||
</div>
|
||||
<div class="card-body mt20">
|
||||
@@ -271,4 +278,11 @@ export default {
|
||||
-webkit-transform: translateX(0);
|
||||
}
|
||||
}
|
||||
.hover-back {
|
||||
padding: 1.5px 3px;
|
||||
&:hover {
|
||||
background: rgba(87, 104, 161, 0.2);
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user