|
@@ -8,13 +8,13 @@
|
|
@select="handleSelect"
|
|
@select="handleSelect"
|
|
>
|
|
>
|
|
<el-image class="logo" :src="logoImage" fit="fill" />
|
|
<el-image class="logo" :src="logoImage" fit="fill" />
|
|
- <el-menu-item style="margin-left: 18.5%" index="1">流程管控</el-menu-item>
|
|
|
|
- <el-menu-item index="2">自动化</el-menu-item>
|
|
|
|
- <el-menu-item index="3">数据中心</el-menu-item>
|
|
|
|
|
|
+ <el-menu-item style="margin-left: 18.5%" index="1" disabled>流程管控</el-menu-item>
|
|
|
|
+ <el-menu-item index="2" disabled>自动化</el-menu-item>
|
|
|
|
+ <el-menu-item index="3" disabled>数据中心</el-menu-item>
|
|
<el-menu-item index="4">环境平台</el-menu-item>
|
|
<el-menu-item index="4">环境平台</el-menu-item>
|
|
<el-menu-item index="5">服务mock</el-menu-item>
|
|
<el-menu-item index="5">服务mock</el-menu-item>
|
|
- <el-menu-item index="6">虚拟硬件</el-menu-item>
|
|
|
|
- <div class="div-login">登录</div>
|
|
|
|
|
|
+ <el-menu-item index="6" disabled>虚拟硬件</el-menu-item>
|
|
|
|
+ <div class="div-login"><svg-icon icon-class="yonghu" /> {{ realname }}</div>
|
|
</el-menu>
|
|
</el-menu>
|
|
<div style="color: #FFFF">
|
|
<div style="color: #FFFF">
|
|
<div class="div-introduction"><span>Thoth综合测试平台</span><br><span style="font-size: 17pt">打造让每个研发测试都离不开的一站式综合工具平台</span></div>
|
|
<div class="div-introduction"><span>Thoth综合测试平台</span><br><span style="font-size: 17pt">打造让每个研发测试都离不开的一站式综合工具平台</span></div>
|
|
@@ -23,35 +23,35 @@
|
|
</div>
|
|
</div>
|
|
<div class="div-main" style="height: 600pt;width 100%;text-align: center;">
|
|
<div class="div-main" style="height: 600pt;width 100%;text-align: center;">
|
|
<div style="font-size: 21pt;margin-top: 54pt;color: #333333;">功能介绍</div>
|
|
<div style="font-size: 21pt;margin-top: 54pt;color: #333333;">功能介绍</div>
|
|
- <el-card style="margin-left: 0;margin-top: 42pt" shadow="hover" @click.native="handleSelect('1')">
|
|
|
|
- <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_流程管控@3x.png">
|
|
|
|
- <div class="div-title">流程管控</div>
|
|
|
|
- <div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
|
|
|
|
+ <el-card disabled class="expect" style="margin-left: 0;margin-top: 42pt" shadow="never" @click.native="handleSelect('1')">
|
|
|
|
+ <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_流程管控未上线@3x.png">
|
|
|
|
+ <div class="div-title" style="color: #999999">流程管控-敬请期待</div>
|
|
|
|
+ <div class="div-module-introduction">简单、明了、一站式流程管理</div>
|
|
</el-card>
|
|
</el-card>
|
|
- <el-card shadow="hover" @click.native="handleSelect('2')">
|
|
|
|
- <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_自动化@3x.png">
|
|
|
|
- <div class="div-title">自动化</div>
|
|
|
|
|
|
+ <el-card class="expect" shadow="never" @click.native="handleSelect('2')">
|
|
|
|
+ <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_自动化未上线@3x.png">
|
|
|
|
+ <div class="div-title" style="color: #999999">自动化-敬请期待</div>
|
|
<div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
<div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
</el-card>
|
|
</el-card>
|
|
- <el-card shadow="hover" @click.native="handleSelect('3')">
|
|
|
|
- <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_数据中心@3x.png">
|
|
|
|
- <div class="div-title">数据中心</div>
|
|
|
|
- <div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
|
|
|
|
+ <el-card class="expect" shadow="never" @click.native="handleSelect('3')">
|
|
|
|
+ <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_数据中心未上线@3x.png">
|
|
|
|
+ <div class="div-title" style="color: #999999">数据中心-敬请期待</div>
|
|
|
|
+ <div class="div-module-introduction">数据构造、统计、备份、分析</div>
|
|
</el-card>
|
|
</el-card>
|
|
<br>
|
|
<br>
|
|
<el-card style="margin-left: 0;margin-top: 36pt;" shadow="hover" @click.native="handleSelect('4')">
|
|
<el-card style="margin-left: 0;margin-top: 36pt;" shadow="hover" @click.native="handleSelect('4')">
|
|
<img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_环境平台@3x.png">
|
|
<img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_环境平台@3x.png">
|
|
<div class="div-title">环境平台</div>
|
|
<div class="div-title">环境平台</div>
|
|
- <div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
|
|
|
|
+ <div class="div-module-introduction">全面综合的个性化环境服务</div>
|
|
</el-card>
|
|
</el-card>
|
|
<el-card shadow="hover" @click.native="handleSelect('5')">
|
|
<el-card shadow="hover" @click.native="handleSelect('5')">
|
|
<img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_服务mock@3x.png">
|
|
<img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_服务mock@3x.png">
|
|
<div class="div-title">服务mock</div>
|
|
<div class="div-title">服务mock</div>
|
|
- <div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
|
|
|
|
+ <div class="div-module-introduction">灵活稳定的Mock服务</div>
|
|
</el-card>
|
|
</el-card>
|
|
- <el-card shadow="hover" @click.native="handleSelect('6')">
|
|
|
|
- <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_虚拟硬件@3x.png">
|
|
|
|
- <div class="div-title">虚拟硬件</div>
|
|
|
|
|
|
+ <el-card class="expect" shadow="never" @click.native="handleSelect('6')">
|
|
|
|
+ <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_虚拟硬件未上线@3x.png">
|
|
|
|
+ <div class="div-title" style="color: #999999">虚拟硬件-敬请期待</div>
|
|
<div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
<div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
</el-card>
|
|
</el-card>
|
|
</div>
|
|
</div>
|
|
@@ -92,15 +92,13 @@
|
|
top: 18%;
|
|
top: 18%;
|
|
}
|
|
}
|
|
div.div-login {
|
|
div.div-login {
|
|
|
|
+ margin-top: 10px;
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
position: absolute;
|
|
position: absolute;
|
|
- padding: 0.6% 1.8% 0.6% 1.8%;
|
|
|
|
font-size: 10pt;
|
|
font-size: 10pt;
|
|
top: 22%;
|
|
top: 22%;
|
|
right: 8.3%;
|
|
right: 8.3%;
|
|
- border: 0.5pt solid #ffffff;
|
|
|
|
- border-radius: 2px;
|
|
|
|
}
|
|
}
|
|
div.div-introduction{
|
|
div.div-introduction{
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -137,18 +135,22 @@ div.div-footer2 > span {
|
|
}
|
|
}
|
|
.el-menu {
|
|
.el-menu {
|
|
border: none;
|
|
border: none;
|
|
|
|
+ height: 68px;
|
|
position: fixed;
|
|
position: fixed;
|
|
z-index: 10;
|
|
z-index: 10;
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
.el-menu-item {
|
|
.el-menu-item {
|
|
|
|
+ padding-top: 1.5pt;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
.is-active {
|
|
.is-active {
|
|
- background-color: #27a0e4 !important;
|
|
|
|
|
|
+ color: #0FE3FF!important;
|
|
|
|
+ border-color: #0FE3FF!important;
|
|
}
|
|
}
|
|
.el-menu-item:hover {
|
|
.el-menu-item:hover {
|
|
- background-color: #27a0e4 !important;
|
|
|
|
|
|
+ color: #0FE3FF!important;
|
|
|
|
+ background-color: transparent !important;
|
|
}
|
|
}
|
|
.float-menu-home {
|
|
.float-menu-home {
|
|
position: fixed;
|
|
position: fixed;
|
|
@@ -168,7 +170,7 @@ div.div-footer2 > span {
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
img.image-module-logo {
|
|
img.image-module-logo {
|
|
- margin-top: 15%;
|
|
|
|
|
|
+ margin-top: 25pt;
|
|
width: 20%;
|
|
width: 20%;
|
|
}
|
|
}
|
|
div.div-title {
|
|
div.div-title {
|
|
@@ -179,11 +181,14 @@ div.div-title {
|
|
div.div-module-introduction {
|
|
div.div-module-introduction {
|
|
font-size: 10.5pt;
|
|
font-size: 10.5pt;
|
|
color: #999999;
|
|
color: #999999;
|
|
- margin-top: 10pt;
|
|
|
|
|
|
+ margin-top: 7.5pt;
|
|
}
|
|
}
|
|
.el-card:hover{
|
|
.el-card:hover{
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
+.el-card.expect:hover {
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
@@ -225,6 +230,7 @@ img.img-arrow {
|
|
import FloatMenu from './floatMenu'
|
|
import FloatMenu from './floatMenu'
|
|
import logoImage from '@/assets/home_images/nav_logo@3x.png'
|
|
import logoImage from '@/assets/home_images/nav_logo@3x.png'
|
|
import bannerImage from '@/assets/home_images/banner_pic.png'
|
|
import bannerImage from '@/assets/home_images/banner_pic.png'
|
|
|
|
+import { getUserInfo } from '@/api/user.js'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
@@ -235,11 +241,19 @@ export default {
|
|
activeIndex2: '1',
|
|
activeIndex2: '1',
|
|
menuColor: 'transparent',
|
|
menuColor: 'transparent',
|
|
logoImage: logoImage,
|
|
logoImage: logoImage,
|
|
- bannerImage: bannerImage
|
|
|
|
|
|
+ bannerImage: bannerImage,
|
|
|
|
+ processManage: true,
|
|
|
|
+ realname: '未登录'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
window.addEventListener('scroll', this.handleScroll, true)
|
|
window.addEventListener('scroll', this.handleScroll, true)
|
|
|
|
+ getUserInfo()
|
|
|
|
+ .then(res => {
|
|
|
|
+ this.realname = res.data.realname
|
|
|
|
+ localStorage.setItem('realname', res.data.realname)
|
|
|
|
+ localStorage.setItem('username', res.data.username)
|
|
|
|
+ })
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
handleSelect(key, keyPath) {
|
|
handleSelect(key, keyPath) {
|