|
@@ -1,13 +1,14 @@
|
|
<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-image class="logo" :src="logoImage" fit="scale-down" />
|
|
<el-menu-item style="margin-left: 18.5%" index="1">环境平台</el-menu-item>
|
|
<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="2">服务mock</el-menu-item>
|
|
<el-menu-item index="3" disabled>数据中心</el-menu-item>
|
|
<el-menu-item index="3" disabled>数据中心</el-menu-item>
|
|
@@ -27,8 +28,8 @@
|
|
</div>
|
|
</div>
|
|
</el-menu>
|
|
</el-menu>
|
|
<div style="color: #FFFF">
|
|
<div style="color: #FFFF">
|
|
- <div class="div-introduction"><img class="image-title" style="width:36%" src="@/assets/home_images/banner_title@3x.png"><br><span style="font-size: 17pt">打造让每个研发测试都离不开的一站式综合工具平台</span></div>
|
|
|
|
- <img class="img-arrow" src="@/assets/home_images/banner_icon_arrow@3x.png">
|
|
|
|
|
|
+ <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">
|
|
<el-image style="width: 100%;z-index: -1;" :src="bannerImage" fit="scale-down" />
|
|
<el-image style="width: 100%;z-index: -1;" :src="bannerImage" fit="scale-down" />
|
|
</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;">
|
|
@@ -66,17 +67,17 @@
|
|
</el-card>
|
|
</el-card>
|
|
</div>
|
|
</div>
|
|
<div style="height: 180pt;width 100%;background-color: #1B2341;">
|
|
<div style="height: 180pt;width 100%;background-color: #1B2341;">
|
|
- <div class="div-footer1" style="margin-top: 45pt;margin-left: 15.3%;">
|
|
|
|
|
|
+ <div class="div-footer1" style="margin-top: 45pt;margin-left: 165pt;">
|
|
<div>Thoth综合测试平台</div>
|
|
<div>Thoth综合测试平台</div>
|
|
<span style="margin-top: 18pt">普惠质量技术部 效率工具FT</span>
|
|
<span style="margin-top: 18pt">普惠质量技术部 效率工具FT</span>
|
|
<br>
|
|
<br>
|
|
<span>© 2019. All Rights Reserved</span>
|
|
<span>© 2019. All Rights Reserved</span>
|
|
</div>
|
|
</div>
|
|
- <div class="div-footer2" style="margin-top: 45pt;margin-left: 55%;">
|
|
|
|
|
|
+ <div class="div-footer2" style="width: 600px;margin-top: 45pt;margin-left: 595pt;">
|
|
<div style="visibility: hidden;">1</div>
|
|
<div style="visibility: hidden;">1</div>
|
|
<span style="margin-top: 18pt">服务mock-赵福贵</span>
|
|
<span style="margin-top: 18pt">服务mock-赵福贵</span>
|
|
<span>数据中心-王丽莎</span>
|
|
<span>数据中心-王丽莎</span>
|
|
- <span>FT负责人-叶宏刚</span>
|
|
|
|
|
|
+ <span>FT负责人-叶宏钢</span>
|
|
<br>
|
|
<br>
|
|
<span>虚拟硬件-魏洁文</span>
|
|
<span>虚拟硬件-魏洁文</span>
|
|
<span>环境平台-李嘉嘉/刘青</span>
|
|
<span>环境平台-李嘉嘉/刘青</span>
|
|
@@ -94,7 +95,7 @@
|
|
<style scoped>
|
|
<style scoped>
|
|
.logo {
|
|
.logo {
|
|
position: absolute;
|
|
position: absolute;
|
|
- width: 7.5%;
|
|
|
|
|
|
+ width: 100px;
|
|
left: 7.8%;
|
|
left: 7.8%;
|
|
top: 18%;
|
|
top: 18%;
|
|
}
|
|
}
|
|
@@ -136,7 +137,7 @@ 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: 180px;
|
|
|
|
|
|
+ width: 30%;
|
|
font-size: 10.5pt;
|
|
font-size: 10.5pt;
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
@@ -146,7 +147,6 @@ div.div-footer2 > span {
|
|
height: 68px;
|
|
height: 68px;
|
|
position: fixed;
|
|
position: fixed;
|
|
z-index: 10;
|
|
z-index: 10;
|
|
- width: 100%;
|
|
|
|
}
|
|
}
|
|
.el-menu-item {
|
|
.el-menu-item {
|
|
padding-top: 1.5pt;
|
|
padding-top: 1.5pt;
|
|
@@ -168,7 +168,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;
|
|
@@ -251,11 +251,22 @@ export default {
|
|
logoImage: logoImage,
|
|
logoImage: logoImage,
|
|
bannerImage: bannerImage,
|
|
bannerImage: bannerImage,
|
|
processManage: true,
|
|
processManage: true,
|
|
- realname: '未登录'
|
|
|
|
|
|
+ realname: '未登录',
|
|
|
|
+ screenWidth: '100%',
|
|
|
|
+ screenHeight: '1395pt'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
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%'
|
|
|
|
+ }
|
|
|
|
+ })()
|
|
|
|
+ }
|
|
getUserInfo()
|
|
getUserInfo()
|
|
.then(res => {
|
|
.then(res => {
|
|
this.realname = res.data.realname
|
|
this.realname = res.data.realname
|