update code

main
lijun 2024-11-21 23:41:54 +08:00
parent a6870ddd4f
commit 7553882354
3 changed files with 46 additions and 11 deletions

View File

@ -10,7 +10,7 @@
<script>
window.isV2=true
</script>
-->
-->
</head>
<body>
<div id="app">

View File

@ -8,6 +8,34 @@ class MenuAPI {
static getRoutes() {
return new Promise((resolve) => {
resolve([
{
path: "/home",
component: "Layout",
redirect: "/home/index2",
name: "/index2",
meta: {
title: "数据总览2",
icon: "homepage",
hidden: false,
roles: ["GUEST", "ADMIN", "ADMIN6","data_admin"],
alwaysShow: false,
},
children: [
{
path: "index2",
component: "dashboard/index2",
name: "dashboardIndex2",
meta: {
title: "模型管理",
icon: "user",
hidden: true,
roles: ["ADMIN", "GUEST","data_admin"],
keepAlive: true,
alwaysShow: false,
},
},
],
},
{
path: "/modelMgr",
component: "Layout",

View File

@ -1,10 +1,15 @@
<template>
<div class="flex" style="height: 100%;align-items: center;">
<div style="flex-grow: 1;display: flex;align-items: center;padding-top: 3px;">
<span style="position: relative;top:7px;">
<img src="@/assets/logojd.png" class="logo-image" />
<div style="flex-grow: 1;display: flex;align-items: center;padding-top: 3px;" >
<span style="position: relative;" class="logo-small1">
<img src="@/assets/logo2.png" class="logo-image" />
<span class="logo-title" style="position: absolute;font-weight: bold;font-size: 14px;color: #003F88;left: 0;bottom: -13px;white-space: nowrap;">中国航天</span>
</span>
<span class="logo-title" style="font-weight: bold;font-size: 28px;margin-left: auto;margin-right: auto;color:#101010">超异构框架统一管理平台</span>
<span style="margin-left: 20px;margin-top: 10px;font-size: 12px;font-weight: bold;" class="logo-title2">
<div class="logo-title" style="font-weight: bold;font-size: 22px;color:#003F88"> {{ "中国航天某某某某研究院" }}</div>
<div >China Aerospace XXXX Research Institute</div>
</span>
<span class="logo-title" style="font-weight: bold;font-size: 28px;margin-left: auto;margin-right: auto;color:#101010">算法测试验证软件平台</span>
</div>
<div>
<!--全屏 -->
@ -17,10 +22,10 @@
<!-- 用户头像 -->
<el-dropdown class="setting-item" trigger="click">
<div class="flex-center h100% p10px">
<img
:src="userStore.user.avatar + '?imageView2/1/w/80/h/80'"
<img src="@/assets/images/avatar.png"
class="rounded-full mr-10px w24px w24px"
/>
<!-- :src="userStore.user.avatar + '?imageView2/1/w/80/h/80'" -->
<span>{{ userStore.user.username }}</span>
</div>
<template #dropdown>
@ -104,6 +109,7 @@ function resetPassword() {
});
});
}
</script>
<style lang="scss" scoped>
.setting-item {
@ -120,7 +126,8 @@ function resetPassword() {
}
}
.logo-image {
height: 60px;
width: 50px;
//height: 68px;
}
.layout-top,
.layout-mix {