|
@@ -1,106 +1,115 @@
|
|
<template>
|
|
<template>
|
|
- <div style="height: 1395pt">
|
|
|
|
|
|
+ <div :style="{height: screenHeight,width: screenWidth}">
|
|
<el-menu
|
|
<el-menu
|
|
|
|
+ :style="{width: screenWidth}"
|
|
mode="horizontal"
|
|
mode="horizontal"
|
|
:background-color="menuColor"
|
|
:background-color="menuColor"
|
|
text-color="#FFF"
|
|
text-color="#FFF"
|
|
active-text-color="#FFF"
|
|
active-text-color="#FFF"
|
|
@select="handleSelect"
|
|
@select="handleSelect"
|
|
>
|
|
>
|
|
- <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 index="4">环境平台</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>
|
|
|
|
|
|
+ <img class="logo" src="@/assets/home_images/nav_logo@3x.png">
|
|
|
|
+ <el-menu-item style="margin-left: 18.5%" index="1">环境平台</el-menu-item>
|
|
|
|
+ <el-menu-item index="2">Mock服务</el-menu-item>
|
|
|
|
+ <el-menu-item index="3" disabled>数据中心</el-menu-item>
|
|
|
|
+ <el-menu-item index="4" disabled>流程管控</el-menu-item>
|
|
|
|
+ <el-menu-item index="5" disabled>自动化</el-menu-item>
|
|
|
|
+ <el-menu-item index="6" disabled>虚拟硬件</el-menu-item>
|
|
|
|
+ <div class="div-login">
|
|
|
|
+ <svg-icon icon-class="yonghu" />
|
|
|
|
+ <el-dropdown style="color: #ffffff" @command="handleCommand">
|
|
|
|
+ <span class="el-dropdown-link">
|
|
|
|
+ {{ username }}<i class="el-icon-arrow-down el-icon--right" />
|
|
|
|
+ </span>
|
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
|
+ <el-dropdown-item command="a">Log Out</el-dropdown-item>
|
|
|
|
+ </el-dropdown-menu>
|
|
|
|
+ </el-dropdown>
|
|
|
|
+ </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>
|
|
|
|
- <img class="img-arrow" src="@/assets/home_images/banner_icon_arrow@3x.png">
|
|
|
|
- <el-image style="width: 100%;z-index: -1;" :src="bannerImage" fit="scale-down" />
|
|
|
|
|
|
+ <div class="div-introduction"><img class="image-title" style="width: 470px" src="@/assets/home_images/banner_title@3x.png"><br><span style="font-size: 17pt">打造让每个研发测试都离不开的一站式综合工具平台</span></div>
|
|
|
|
+ <img class="img-arrow" style="width: 30px" src="@/assets/home_images/banner_icon_arrow@3x.png">
|
|
|
|
+ <img style="width: 100%;z-index: -1;" src="@/assets/home_images/banner_pic@3x.png">
|
|
</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 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" fit="contain">
|
|
|
|
+ <div class="div-title">环境平台</div>
|
|
|
|
+ <div class="div-module-introduction">全面综合的个性化环境服务</div>
|
|
</el-card>
|
|
</el-card>
|
|
<el-card shadow="hover" @click.native="handleSelect('2')">
|
|
<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>
|
|
|
|
- <div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
|
|
|
|
+ <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_服务mock@3x.png">
|
|
|
|
+ <div class="div-title">Mock服务</div>
|
|
|
|
+ <div class="div-module-introduction">灵活稳定的Mock服务</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')">
|
|
|
|
- <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" style="margin-left: 0;margin-top: 36pt;" shadow="never" @click.native="handleSelect('4')">
|
|
|
|
+ <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('5')">
|
|
|
|
- <img class="image-module-logo" src="@/assets/home_images/功能介绍_icon_服务mock@3x.png">
|
|
|
|
- <div class="div-title">服务mock</div>
|
|
|
|
- <div class="div-module-introduction">这是一段关于该功能的结束,结束文字控在两行内</div>
|
|
|
|
|
|
+ <el-card class="expect" shadow="never" @click.native="handleSelect('5')">
|
|
|
|
+ <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('6')">
|
|
|
|
- <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('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>
|
|
</el-card>
|
|
</el-card>
|
|
</div>
|
|
</div>
|
|
<div style="height: 180pt;width 100%;background-color: #1B2341;">
|
|
<div style="height: 180pt;width 100%;background-color: #1B2341;">
|
|
- <el-row style="top: 25%;left: 15.3%;">
|
|
|
|
- <el-col :span="10">
|
|
|
|
- <div class="div-footer1">
|
|
|
|
- <div>Thoth综合测试平台</div>
|
|
|
|
- <span style="margin-top: 18pt">普惠质量技术部 效率工具FT</span>
|
|
|
|
- <br>
|
|
|
|
- <span>© 2019. All Rights Reserved</span>
|
|
|
|
- </div>
|
|
|
|
- </el-col>
|
|
|
|
- <el-col :span="10">
|
|
|
|
- <div class="div-footer2">
|
|
|
|
- <div style="visibility: hidden;">1</div>
|
|
|
|
- <span style="margin-top: 18pt">服务mock-赵福贵</span>
|
|
|
|
- <span>数据中心-王丽莎</span>
|
|
|
|
- <span>FT负责人-叶宏刚</span>
|
|
|
|
- <br>
|
|
|
|
- <span>虚拟硬件-魏洁文</span>
|
|
|
|
- <span>环境平台-李嘉嘉</span>
|
|
|
|
- <span>产品设计-郑莉</span>
|
|
|
|
- <br>
|
|
|
|
- </div>
|
|
|
|
- </el-col>
|
|
|
|
- </el-row>
|
|
|
|
|
|
+ <div class="div-footer1" style="margin-top: 45pt;margin-left: 165pt;">
|
|
|
|
+ <div>Thoth综合测试平台</div>
|
|
|
|
+ <span style="margin-top: 18pt">普惠质量技术部 效率工具FT</span>
|
|
|
|
+ <br>
|
|
|
|
+ <span>© 2019. All Rights Reserved</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="div-footer2" style="width: 500px;margin-top: 45pt;margin-left: 550pt;">
|
|
|
|
+ <div style="visibility: hidden;">Thoth综合测试平台</div>
|
|
|
|
+ <span style="margin-top: 18pt">Mock服务-赵福贵</span>
|
|
|
|
+ <span>数据中心-王丽莎</span>
|
|
|
|
+ <span>FT负责人-叶宏钢</span>
|
|
|
|
+ <br>
|
|
|
|
+ <span>虚拟硬件-魏洁文</span>
|
|
|
|
+ <span>环境平台-李嘉嘉/刘青</span>
|
|
|
|
+ <span>产品设计-郑莉</span>
|
|
|
|
+ <br>
|
|
|
|
+ <span>自动化-陈雅琪</span>
|
|
|
|
+ <span style="width: 200px">流程管控-郑美双/罗舒宁</span>
|
|
|
|
+ <br>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<float-menu class="float-menu-home" />
|
|
<float-menu class="float-menu-home" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
|
+.el-dropdown:hover {
|
|
|
|
+ cursor: pointer;
|
|
|
|
+}
|
|
.logo {
|
|
.logo {
|
|
position: absolute;
|
|
position: absolute;
|
|
- width: 7.5%;
|
|
|
|
|
|
+ width: 100px;
|
|
left: 7.8%;
|
|
left: 7.8%;
|
|
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;
|
|
@@ -116,6 +125,7 @@ img.img-arrow {
|
|
}
|
|
}
|
|
div.div-footer1,
|
|
div.div-footer1,
|
|
div.div-footer2 {
|
|
div.div-footer2 {
|
|
|
|
+ position: absolute;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
font-size: 13.5pt;
|
|
font-size: 13.5pt;
|
|
@@ -130,25 +140,28 @@ div.div-footer1 > span {
|
|
div.div-footer2 > span {
|
|
div.div-footer2 > span {
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- width: 150px;
|
|
|
|
|
|
+ width: 30%;
|
|
font-size: 10.5pt;
|
|
font-size: 10.5pt;
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
}
|
|
}
|
|
.el-menu {
|
|
.el-menu {
|
|
border: none;
|
|
border: none;
|
|
|
|
+ height: 68px;
|
|
position: fixed;
|
|
position: fixed;
|
|
z-index: 10;
|
|
z-index: 10;
|
|
- 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;
|
|
@@ -158,7 +171,7 @@ div.div-footer2 > span {
|
|
}
|
|
}
|
|
.el-card {
|
|
.el-card {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
- width: 222pt;
|
|
|
|
|
|
+ width: 22%;
|
|
height: 180pt;
|
|
height: 180pt;
|
|
margin-left: 56pt;
|
|
margin-left: 56pt;
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -167,9 +180,11 @@ div.div-footer2 > span {
|
|
</style>
|
|
</style>
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
-img.image-module-logo {
|
|
|
|
- margin-top: 15%;
|
|
|
|
|
|
+.image-module-logo {
|
|
|
|
+ margin-top: 25pt;
|
|
width: 20%;
|
|
width: 20%;
|
|
|
|
+ height: 60px;
|
|
|
|
+ object-fit: contain;
|
|
}
|
|
}
|
|
div.div-title {
|
|
div.div-title {
|
|
font-size: 13.5pt;
|
|
font-size: 13.5pt;
|
|
@@ -179,11 +194,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>
|
|
@@ -223,8 +241,6 @@ img.img-arrow {
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import FloatMenu from './floatMenu'
|
|
import FloatMenu from './floatMenu'
|
|
-import logoImage from '@/assets/home_images/nav_logo@3x.png'
|
|
|
|
-import bannerImage from '@/assets/home_images/banner_pic.png'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
@@ -234,20 +250,35 @@ export default {
|
|
return {
|
|
return {
|
|
activeIndex2: '1',
|
|
activeIndex2: '1',
|
|
menuColor: 'transparent',
|
|
menuColor: 'transparent',
|
|
- logoImage: logoImage,
|
|
|
|
- bannerImage: bannerImage
|
|
|
|
|
|
+ processManage: true,
|
|
|
|
+ screenWidth: '100%',
|
|
|
|
+ screenHeight: '1395pt'
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ computed: {
|
|
|
|
+ username() {
|
|
|
|
+ return localStorage.getItem('realname')
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
window.addEventListener('scroll', this.handleScroll, true)
|
|
window.addEventListener('scroll', this.handleScroll, true)
|
|
|
|
+ window.onresize = () => {
|
|
|
|
+ return (() => {
|
|
|
|
+ if (document.body.clientWidth < 1300) {
|
|
|
|
+ this.screenWidth = '1300px'
|
|
|
|
+ } else {
|
|
|
|
+ this.screenWidth = '100%'
|
|
|
|
+ }
|
|
|
|
+ })()
|
|
|
|
+ }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
handleSelect(key, keyPath) {
|
|
handleSelect(key, keyPath) {
|
|
switch (key) {
|
|
switch (key) {
|
|
- case '4' :
|
|
|
|
|
|
+ case '1' :
|
|
this.$router.push({ name: '环境' })
|
|
this.$router.push({ name: '环境' })
|
|
break
|
|
break
|
|
- case '5' :
|
|
|
|
|
|
+ case '2' :
|
|
this.$router.push({ name: 'Mock' })
|
|
this.$router.push({ name: 'Mock' })
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -261,6 +292,13 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.menuColor = 'transparent'
|
|
this.menuColor = 'transparent'
|
|
}
|
|
}
|
|
|
|
+ },
|
|
|
|
+ handleCommand(command) {
|
|
|
|
+ switch (command) {
|
|
|
|
+ case 'a':
|
|
|
|
+ location.href = 'http://10.179.209.19:8899/logout'
|
|
|
|
+ break
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|