|
@@ -17,10 +17,7 @@
|
|
|
<el-menu-item index="2">
|
|
|
<template v-if="projectList.length > 1">
|
|
|
<el-dropdown trigger="click" @command="handleCommand">
|
|
|
- <span
|
|
|
- class="el-dropdown-link"
|
|
|
- :style="{ color: activeIndex === '2' ? '#F90' : '#000' }"
|
|
|
- >
|
|
|
+ <span class="el-dropdown-link" :style="{ color: activeIndex === '2' ? '#F90' : '#000' }">
|
|
|
{{ projectName }}
|
|
|
<!-- SYSTEM -->
|
|
|
<i class="el-icon-arrow-down el-icon--right"></i>
|
|
@@ -33,11 +30,7 @@
|
|
|
:command="i"
|
|
|
class="projectList"
|
|
|
>
|
|
|
- <img
|
|
|
- style="position: relative; width: 24px"
|
|
|
- :src="item.icon_url_memu_default"
|
|
|
- alt=""
|
|
|
- />
|
|
|
+ <img style="position: relative; width: 24px" :src="item.icon_url_memu_default" alt="" />
|
|
|
<span style="margin-left: 16px">
|
|
|
{{ item.name }}
|
|
|
</span>
|
|
@@ -51,9 +44,7 @@
|
|
|
</div>
|
|
|
<div class="userName">
|
|
|
<el-dropdown style="margin-right: 16px" trigger="click" @command="changeLang">
|
|
|
- <span class="el-dropdown-link">
|
|
|
- {{ lang }}<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
- </span>
|
|
|
+ <span class="el-dropdown-link"> {{ lang }}<i class="el-icon-arrow-down el-icon--right"></i> </span>
|
|
|
<el-dropdown-menu slot="dropdown" style="width: 200px">
|
|
|
<el-dropdown-item v-for="item in language_list" :key="item.language_type" :command="item">
|
|
|
{{ item.language_name }}
|
|
@@ -68,9 +59,7 @@
|
|
|
<span class="el-dropdown-link">
|
|
|
<img
|
|
|
class="headPhoto"
|
|
|
- :src="
|
|
|
- userMessage.image_url ? userMessage.image_url : '../../assets/login/Group3214.png'
|
|
|
- "
|
|
|
+ :src="userMessage.image_url ? userMessage.image_url : '../../assets/login/Group3214.png'"
|
|
|
/>
|
|
|
<span class="real_name">{{ userMessage.user_real_name }}</span>
|
|
|
</span>
|
|
@@ -204,17 +193,17 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.LoginNav {
|
|
|
- height: 74px;
|
|
|
position: relative;
|
|
|
+ z-index: 999;
|
|
|
+ box-sizing: border-box;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- box-sizing: border-box;
|
|
|
+ height: 74px;
|
|
|
padding: 0 24px;
|
|
|
- z-index: 999;
|
|
|
+ font-family: 'sourceR';
|
|
|
background: #fff;
|
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
|
|
|
- font-family: 'sourceR';
|
|
|
|
|
|
.logo {
|
|
|
display: flex;
|
|
@@ -234,23 +223,23 @@ export default {
|
|
|
}
|
|
|
// 取消组件默认的样式
|
|
|
.el-menu.el-menu--horizontal {
|
|
|
- border-bottom: none;
|
|
|
+ border-bottom-width: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.userName {
|
|
|
display: flex;
|
|
|
- justify-content: flex-end;
|
|
|
align-items: center;
|
|
|
+ justify-content: flex-end;
|
|
|
|
|
|
.seek {
|
|
|
- margin-right: 100px;
|
|
|
position: relative;
|
|
|
+ margin-right: 100px;
|
|
|
|
|
|
img {
|
|
|
- left: 10px;
|
|
|
- top: 11px;
|
|
|
position: absolute;
|
|
|
+ top: 11px;
|
|
|
+ left: 10px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -266,11 +255,11 @@ export default {
|
|
|
}
|
|
|
|
|
|
.message {
|
|
|
- height: 100%;
|
|
|
position: relative;
|
|
|
display: flex;
|
|
|
- justify-content: center;
|
|
|
align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ height: 100%;
|
|
|
margin-left: 23px;
|
|
|
|
|
|
img {
|
|
@@ -282,28 +271,28 @@ export default {
|
|
|
position: absolute;
|
|
|
top: 2px;
|
|
|
right: -2px;
|
|
|
+ display: inline-block;
|
|
|
width: 6px;
|
|
|
height: 6px;
|
|
|
- display: inline-block;
|
|
|
- background: red;
|
|
|
+ background-color: #f00;
|
|
|
border-radius: 50%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.selectLoginOrRegistration {
|
|
|
+ box-sizing: border-box;
|
|
|
display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-evenly;
|
|
|
height: 32px;
|
|
|
+ padding: 0 16px;
|
|
|
border: 1px solid #fff;
|
|
|
- box-sizing: border-box;
|
|
|
border-radius: 4px;
|
|
|
- justify-content: space-evenly;
|
|
|
- align-items: center;
|
|
|
- padding: 0 16px;
|
|
|
|
|
|
> span {
|
|
|
- cursor: pointer;
|
|
|
font-size: 16px;
|
|
|
color: #fff;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -312,9 +301,9 @@ export default {
|
|
|
|
|
|
.real_name {
|
|
|
display: inline-block;
|
|
|
- vertical-align: super;
|
|
|
- font-size: 20px;
|
|
|
padding-left: 10px;
|
|
|
+ font-size: 20px;
|
|
|
+ vertical-align: super;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -324,10 +313,10 @@ export default {
|
|
|
<style lang="scss">
|
|
|
.LoginNav {
|
|
|
.el-dropdown-menu__item {
|
|
|
- line-height: 40px;
|
|
|
display: flex;
|
|
|
- justify-content: center;
|
|
|
align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ line-height: 40px;
|
|
|
|
|
|
> span {
|
|
|
font-family: 'sourceR';
|
|
@@ -345,8 +334,8 @@ export default {
|
|
|
}
|
|
|
|
|
|
.el-dropdown {
|
|
|
- cursor: pointer;
|
|
|
display: block;
|
|
|
+ cursor: pointer;
|
|
|
|
|
|
> span {
|
|
|
font-family: 'sourceR';
|
|
@@ -357,9 +346,9 @@ export default {
|
|
|
|
|
|
.projectList {
|
|
|
&.el-dropdown-menu__item {
|
|
|
- line-height: 40px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ line-height: 40px;
|
|
|
color: #000;
|
|
|
|
|
|
> img {
|
|
@@ -367,14 +356,14 @@ export default {
|
|
|
}
|
|
|
|
|
|
> span {
|
|
|
- line-height: 40px;
|
|
|
font-family: 'sourceR';
|
|
|
+ line-height: 40px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
&:hover {
|
|
|
- background: rgba(255, 153, 0, 0.1) !important;
|
|
|
color: #000 !important;
|
|
|
+ background: rgba(255, 153, 0, 0.1) !important;
|
|
|
}
|
|
|
|
|
|
&.menuActive {
|
|
@@ -390,8 +379,8 @@ export default {
|
|
|
.el-dropdown-menu__item {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- color: #000;
|
|
|
font-size: 16px;
|
|
|
+ color: #000;
|
|
|
|
|
|
img {
|
|
|
width: 24px;
|