update code
parent
a6870ddd4f
commit
7553882354
|
@ -10,7 +10,7 @@
|
||||||
<script>
|
<script>
|
||||||
window.isV2=true
|
window.isV2=true
|
||||||
</script>
|
</script>
|
||||||
-->
|
-->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
|
|
|
@ -7,7 +7,35 @@ class MenuAPI {
|
||||||
*/
|
*/
|
||||||
static getRoutes() {
|
static getRoutes() {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
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",
|
path: "/modelMgr",
|
||||||
component: "Layout",
|
component: "Layout",
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flex" style="height: 100%;align-items: center;">
|
<div class="flex" style="height: 100%;align-items: center;">
|
||||||
<div style="flex-grow: 1;display: flex;align-items: center;padding-top: 3px;">
|
<div style="flex-grow: 1;display: flex;align-items: center;padding-top: 3px;" >
|
||||||
<span style="position: relative;top:7px;">
|
<span style="position: relative;" class="logo-small1">
|
||||||
<img src="@/assets/logojd.png" class="logo-image" />
|
<img src="@/assets/logo2.png" class="logo-image" />
|
||||||
</span>
|
<span class="logo-title" style="position: absolute;font-weight: bold;font-size: 14px;color: #003F88;left: 0;bottom: -13px;white-space: nowrap;">中国航天</span>
|
||||||
<span class="logo-title" style="font-weight: bold;font-size: 28px;margin-left: auto;margin-right: auto;color:#101010">超异构框架统一管理平台</span>
|
</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>
|
||||||
<div>
|
<div>
|
||||||
<!--全屏 -->
|
<!--全屏 -->
|
||||||
|
@ -17,10 +22,10 @@
|
||||||
<!-- 用户头像 -->
|
<!-- 用户头像 -->
|
||||||
<el-dropdown class="setting-item" trigger="click">
|
<el-dropdown class="setting-item" trigger="click">
|
||||||
<div class="flex-center h100% p10px">
|
<div class="flex-center h100% p10px">
|
||||||
<img
|
<img src="@/assets/images/avatar.png"
|
||||||
:src="userStore.user.avatar + '?imageView2/1/w/80/h/80'"
|
|
||||||
class="rounded-full mr-10px w24px w24px"
|
class="rounded-full mr-10px w24px w24px"
|
||||||
/>
|
/>
|
||||||
|
<!-- :src="userStore.user.avatar + '?imageView2/1/w/80/h/80'" -->
|
||||||
<span>{{ userStore.user.username }}</span>
|
<span>{{ userStore.user.username }}</span>
|
||||||
</div>
|
</div>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
|
@ -104,6 +109,7 @@ function resetPassword() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.setting-item {
|
.setting-item {
|
||||||
|
@ -119,8 +125,9 @@ function resetPassword() {
|
||||||
background: rgb(0 0 0 / 10%);
|
background: rgb(0 0 0 / 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.logo-image {
|
.logo-image {
|
||||||
height: 60px;
|
width: 50px;
|
||||||
|
//height: 68px;
|
||||||
}
|
}
|
||||||
.layout-top,
|
.layout-top,
|
||||||
.layout-mix {
|
.layout-mix {
|
||||||
|
|
Loading…
Reference in New Issue