@@ -306,6 +314,11 @@ function handleDownloadCertificate(item) {
$message.info('下载证书功能开发中')
}
+// 返回首页
+function handleBackToHome() {
+ router.push('/home')
+}
+
// 菜单点击
function handleMenuClick(menu) {
currentMenu.value = menu.id
@@ -437,6 +450,37 @@ onMounted(() => {
flex: 1;
padding: 20px;
overflow-y: auto;
+ position: relative;
+}
+
+.back-button {
+ position: absolute;
+ top: 20px;
+ left: 20px;
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ padding: 8px 16px;
+ color: #606266;
+ cursor: pointer;
+ border-radius: 4px;
+ transition: all 0.3s ease;
+ font-size: 14px;
+ background: white;
+ z-index: 10;
+}
+
+.back-button:hover {
+ background: #F5F7FA;
+ color: #A30113;
+}
+
+.back-button svg {
+ transition: transform 0.3s ease;
+}
+
+.back-button:hover svg {
+ transform: translateX(-2px);
}
.content-section {
@@ -445,6 +489,7 @@ onMounted(() => {
padding: 24px;
min-height: calc(100vh - 40px);
position: relative;
+ margin-top: 50px;
}
/* 估值记录 */