|
@@ -1,47 +1,54 @@
|
|
|
/*layout模板*/
|
|
|
<template>
|
|
|
<div>
|
|
|
- <div class="lbg_color1" :class="['header',fixedHeader?'fixed-header':'']">
|
|
|
-
|
|
|
- <router-link to="/home">
|
|
|
+ <div class="lbg_color1" :class="['header',fixedHeader?'fixed-header':'']" >
|
|
|
+ <router-link to="/home">
|
|
|
<div class="logo">
|
|
|
<el-image :src="logo" fit="cover" /> </div>
|
|
|
<!-- <span class="title">CADWEB</span> -->
|
|
|
</router-link>
|
|
|
+
|
|
|
<div
|
|
|
+ v-if="
|
|
|
+ $route.path !== '/login' &&
|
|
|
+ $route.path !== '/register' &&
|
|
|
+ $route.path !== '/forget' &&
|
|
|
+ $route.path !== '/protocol'
|
|
|
+ "
|
|
|
class="nav"
|
|
|
- v-if="$route.path!='/login/index' && $route.path!='/register/index' && $route.path!='/forget/index'&& $route.path!='/protocol/index'"
|
|
|
>
|
|
|
<el-menu
|
|
|
- class="lbg_color1 font_color1"
|
|
|
mode="horizontal"
|
|
|
:unique-opened="true"
|
|
|
- text-color="#0470CC"
|
|
|
- active-text-color="#333"
|
|
|
+ text-color="#333"
|
|
|
+ active-text-color="#333"
|
|
|
+ background-color="background-color: rgba($color: #0158a8, $alpha: 0);"
|
|
|
:default-active="activeMenu"
|
|
|
>
|
|
|
- <div class="headericon">
|
|
|
+ <div class="headericon">
|
|
|
<ul>
|
|
|
|
|
|
- <li ><el-tooltip class="item" effect="dark" content="任务" placement="bottom"><i class="el-icon-s-fold"></i> </el-tooltip> </li>
|
|
|
- <li ><el-tooltip class="item" effect="dark" content="团队" placement="bottom"><i class="el-icon-s-custom"></i> </el-tooltip></li>
|
|
|
- <li @click="dialogsystem=true"><i class="el-icon-s-tools"></i></li>
|
|
|
+ <li class="text_color"><el-tooltip class="item" effect="dark" content="任务" placement="bottom"><i class="el-icon-s-fold"></i> </el-tooltip> </li>
|
|
|
+ <li class="text_color"><el-tooltip class="item" effect="dark" content="团队" placement="bottom"><i class="el-icon-s-custom"></i> </el-tooltip></li>
|
|
|
+ <li class="text_color" @click="dialogsystem=true"><i class="el-icon-s-tools"></i></li>
|
|
|
|
|
|
- <li>
|
|
|
+ <li class="text_color">
|
|
|
<span > <i class="el-icon-question" style="padding:1px 0"></i>
|
|
|
<i style="font-size:12px;padding:5px 0" class="el-icon-arrow-down"></i>
|
|
|
-
|
|
|
</span>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
|
|
|
- <el-menu-item index="/index/optics">
|
|
|
- <router-link to="/index/optics">首页</router-link>
|
|
|
+ <el-menu-item index="/index/optics" >
|
|
|
+ <router-link to="/index/optics" ><span>首页</span></router-link>
|
|
|
</el-menu-item>
|
|
|
-
|
|
|
- <el-menu-item v-if="loginStatus">
|
|
|
- <router-link to="/user/index/project">
|
|
|
+
|
|
|
+ <el-menu-item background-color="background-color: rgba($color: #0158a8, $alpha: 0.1);"
|
|
|
+ v-if="loginStatus"
|
|
|
+ :class="currentMenu == 'user' ? 'itemOn' : ''"
|
|
|
+ >
|
|
|
+ <router-link to="/userLayout">
|
|
|
<div class="user">
|
|
|
<el-dropdown>
|
|
|
<div>
|
|
@@ -49,15 +56,16 @@
|
|
|
<i class="el-icon-arrow-down" />
|
|
|
</div>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
- <el-dropdown-item @click.native="logout">退出登录</el-dropdown-item>
|
|
|
+ <el-dropdown-item @click.native="logout"
|
|
|
+ >退出登录</el-dropdown-item
|
|
|
+ >
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
</div>
|
|
|
</router-link>
|
|
|
</el-menu-item>
|
|
|
- <el-menu-item v-else>
|
|
|
-
|
|
|
- <router-link to="/login/index">登录/注册</router-link>
|
|
|
+ <el-menu-item v-else style=" background:none;">
|
|
|
+ <p @click="toLogin" class="login text_color">登录/注册</p>
|
|
|
</el-menu-item>
|
|
|
</el-menu>
|
|
|
</div>
|
|
@@ -70,17 +78,34 @@
|
|
|
</section>
|
|
|
|
|
|
<div
|
|
|
- :class="['footer',fixedHeader?'fixed-footer':'',/^\/index([\/][\D]+)?$/.test($route.path)?'footer-index':/^\/login\/index$/.test($route.path)?'footer-login':'']"
|
|
|
+ :class="[
|
|
|
+ 'footer',
|
|
|
+ fixedHeader ? 'fixed-footer' : '',
|
|
|
+ /^\/indexLayout([\/][\D]+)?$/.test($route.path)|| /^\/matchLayout([\/][\D]+)?$/.test($route.path)||/^\/topic([\/][\D]+)?$/.test($route.path)||
|
|
|
+ /^\/detailbzs1([\/][\D]+)?$/.test($route.path)|| /^\/detailbzs2([\/][\D]+)?$/.test($route.path)|| /^\/detailbzs3([\/][\D]+)?$/.test($route.path)|| /^\/detailbzs4([\/][\D]+)?$/.test($route.path)
|
|
|
+ ? 'footer-index'
|
|
|
+ : /^\/login\/index$/.test($route.path)
|
|
|
+ ? 'footer-login'
|
|
|
+ : '',
|
|
|
+ ]"
|
|
|
>
|
|
|
- <div>
|
|
|
- 西安前沿动力软件开发有限责任公司
|
|
|
- <a
|
|
|
- target="_blank"
|
|
|
- href="http://www.beian.miit.gov.cn/"
|
|
|
- >备案号:渝ICP备 17006571号-1</a>
|
|
|
- </div>
|
|
|
+ <a href="https://www.xichain.com.cn/xichain/" target="_blank"
|
|
|
+ >Copyright ©2015-2018 西安前沿动力有限公司All Rights Reserved</a
|
|
|
+ >
|
|
|
+ <a href="http://www.beian.miit.gov.cn/" target="_blank"
|
|
|
+ >版权所有:西安前沿动力软件开发有限责任公司 陕ICP备13000621号</a
|
|
|
+ >
|
|
|
+
|
|
|
+ <!-- <img class="police" src="../assets/img/police.png" />
|
|
|
+ <a
|
|
|
+ href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=50010302003067"
|
|
|
+ target="_blank"
|
|
|
+ >渝公网安备 50010302003067号</a
|
|
|
+ > -->
|
|
|
+
|
|
|
+ <!-- <span v-show="xglogo">服务热线:023-63410620</span> -->
|
|
|
</div>
|
|
|
- <el-dialog
|
|
|
+ <el-dialog
|
|
|
:visible.sync="dialogsystem"
|
|
|
title="系统设置"
|
|
|
width="800px"
|
|
@@ -93,25 +118,52 @@
|
|
|
<el-button @click="dialogsystem = false">清 除</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
+ <Login :loginShow="loginShow" @putLogin="getLogin" />
|
|
|
+ <Register :registerShow="registerShow" @putRegister="getRegister" />
|
|
|
+ <Forget :forgetShow="forgetShow" @putForget="getForget" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import { parseTime } from '@/utils/index'
|
|
|
import { request } from '@/utils/request'
|
|
|
import { resetRouter } from '@/router'
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import { MenuItem } from './components'
|
|
|
+// import countTo from 'vue-count-to'
|
|
|
+// import logo from '@/assets/index/logo.png'
|
|
|
+// import qylogo from '@/assets/index/qylogo.png'
|
|
|
+// import count from '@/assets/index/count.png'
|
|
|
import logo from '@/assets/hcfd_images/adilog.png'
|
|
|
+import Login from '@/components/Login'
|
|
|
+import Register from '@/components/Register'
|
|
|
+import Forget from '@/components/Forget'
|
|
|
export default {
|
|
|
- name: 'LayoutWeb',
|
|
|
+ name: 'Layout',
|
|
|
components: {
|
|
|
- MenuItem
|
|
|
+ MenuItem,
|
|
|
+ // countTo,
|
|
|
+ Login,
|
|
|
+ Register,
|
|
|
+ Forget,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- logo: logo,
|
|
|
- dialogsystem:false,
|
|
|
- itemlist:[
|
|
|
+ zhucenum:false,
|
|
|
+ flag: false,
|
|
|
+ logo:logo,
|
|
|
+ yingyong:false,
|
|
|
+ runProject: 0,
|
|
|
+ totalProject: 0,
|
|
|
+ user: 0,
|
|
|
+ activeUser: 0,
|
|
|
+ redirect: undefined,
|
|
|
+ dialogsystem:false,
|
|
|
+ loginShow: false,
|
|
|
+ registerShow: false,
|
|
|
+ forgetShow: false,
|
|
|
+ currentMenu: '',
|
|
|
+ itemlist:[
|
|
|
{
|
|
|
id:0,name:"黑色",
|
|
|
},
|
|
@@ -122,24 +174,51 @@ export default {
|
|
|
num:0,
|
|
|
}
|
|
|
},
|
|
|
- created() {
|
|
|
- let path = this.$route.path
|
|
|
- let Reg = ''
|
|
|
- let reg1 = /^\/index([\/][\D]+)?$/ //首页正则
|
|
|
- let reg2 = /^\/login\/index$/ //登录页正则
|
|
|
- if(localStorage.getItem("num")==1){
|
|
|
-
|
|
|
+ watch: {
|
|
|
+ $route: {
|
|
|
+ handler: function (route) {
|
|
|
+ this.redirect = route.query && route.query.redirect
|
|
|
+ this.getCount() // 获取统计信息
|
|
|
+ //判断是否是前沿的logo;
|
|
|
+
|
|
|
+ if(route.path=="/indexLayout/workbench"||route.path=="/indexLayout/home"||route.path=="/indexLayout/guanyuwe"){
|
|
|
+ this.flag=false;
|
|
|
+ this.yingyong=true;
|
|
|
+ } else{
|
|
|
+ this.flag=true;
|
|
|
+ this.yingyong=true;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ immediate: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ mounted(){
|
|
|
+ if(localStorage.getItem("num")==1){
|
|
|
document.getElementById('theme').href="/static/white.css"
|
|
|
}else{
|
|
|
+ console.log(localStorage.getItem("num"))
|
|
|
document.getElementById('theme').href="/static/black.css"
|
|
|
|
|
|
}
|
|
|
},
|
|
|
+ created() {
|
|
|
+
|
|
|
+ },
|
|
|
+ // 父组件中返回要传给下级的数据
|
|
|
+ provide() {
|
|
|
+ return {
|
|
|
+ toLogin: this.toLogin,
|
|
|
+ getCount: this.getCount,
|
|
|
+ }
|
|
|
+ },
|
|
|
computed: {
|
|
|
fixedHeader() {
|
|
|
- return this.$store.getters.fixedHeader
|
|
|
+ return this.$store.getters.fixedHeader
|
|
|
+ },
|
|
|
+ lesseeId() {
|
|
|
+ return this.$store.getters.lesseeId
|
|
|
},
|
|
|
- ...mapGetters(['name', 'loginStatus']),
|
|
|
+ ...mapGetters(['name', 'userType', 'loginStatus']),
|
|
|
key() {
|
|
|
return this.$route.path
|
|
|
},
|
|
@@ -149,61 +228,137 @@ export default {
|
|
|
activeMenu() {
|
|
|
const route = this.$route
|
|
|
const { meta, path } = route
|
|
|
+ let pathArr = path.split('/')
|
|
|
+ if (pathArr.length == 3 && pathArr[1] == 'userLayout') {
|
|
|
+ this.currentMenu = 'user'
|
|
|
+ } else if (
|
|
|
+ pathArr.length == 3 &&
|
|
|
+ pathArr[1] == 'indexLayout' &&
|
|
|
+ pathArr[2] == 'my-workbench'
|
|
|
+ ) {
|
|
|
+ this.currentMenu = pathArr[2]
|
|
|
+ } else {
|
|
|
+ this.currentMenu = ''
|
|
|
+ }
|
|
|
// 如果设置了路径,侧边栏将突出显示您设置的路径
|
|
|
if (meta.activeMenu) {
|
|
|
return meta.activeMenu
|
|
|
}
|
|
|
return path
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
methods: {
|
|
|
+ routerclik(){
|
|
|
+ const path=this.$route.path
|
|
|
+ let id= sessionStorage.getItem("id",id);
|
|
|
+ let pretreatment= sessionStorage.getItem("pretreatment",pretreatment);
|
|
|
+ let solver= sessionStorage.getItem("pretreatment",solver);
|
|
|
+ this.$router.replace({
|
|
|
+ path: '/indexLayout/workbench',
|
|
|
+ query: {id, pretreatment, solver },
|
|
|
+ })
|
|
|
+ // if(path=="/indexLayout/design"){
|
|
|
+
|
|
|
+ // }else{
|
|
|
+ // this.$router.replace({
|
|
|
+ // path: '/indexLayout',
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ },
|
|
|
+ toLogin() {
|
|
|
+ this.loginShow = true
|
|
|
+ console.log(this.loginShow);
|
|
|
+ },
|
|
|
+ getLogin(data) {
|
|
|
+ this.loginShow = false
|
|
|
+ if (data) {
|
|
|
+ if (data.type == 'register') {
|
|
|
+ this.registerShow = true
|
|
|
+ } else if (data.type == 'forget') {
|
|
|
+ this.forgetShow = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getRegister(data) {
|
|
|
+ this.registerShow = false
|
|
|
+ if (data && data.type == 'login') {
|
|
|
+ this.loginShow = true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getForget(data) {
|
|
|
+ this.forgetShow = false
|
|
|
+ if (data && data.type == 'login') {
|
|
|
+ this.loginShow = true
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
quit() {
|
|
|
this.$store.dispatch('user/changeState', {
|
|
|
key: 'token',
|
|
|
- value: ''
|
|
|
+ value: '',
|
|
|
})
|
|
|
this.$store.dispatch('user/changeState', {
|
|
|
key: 'name',
|
|
|
- value: ''
|
|
|
+ value: '',
|
|
|
})
|
|
|
this.$store.dispatch('user/changeState', {
|
|
|
key: 'userId',
|
|
|
- value: ''
|
|
|
+ value: '',
|
|
|
+ })
|
|
|
+ this.$store.dispatch('user/changeState', {
|
|
|
+ key: 'userRole',
|
|
|
+ value: '',
|
|
|
+ })
|
|
|
+ this.$store.dispatch('user/changeState', {
|
|
|
+ key: 'cfdUrl',
|
|
|
+ value: '',
|
|
|
})
|
|
|
this.$store.dispatch('user/changeState', {
|
|
|
key: 'loginStatus',
|
|
|
- value: false
|
|
|
+ value: false,
|
|
|
})
|
|
|
- resetRouter() // 重置路由
|
|
|
+ resetRouter()
|
|
|
this.$message.success('退出成功!')
|
|
|
setTimeout(() => {
|
|
|
- this.$router.replace(`/login/index?redirect=${this.$route.fullPath}`)
|
|
|
+ // this.$router.replace(`/login?redirect=${this.$route.fullPath}`)
|
|
|
+ this.$router.replace(`/indexLayout/workbench`)
|
|
|
}, 1000)
|
|
|
},
|
|
|
logout() {
|
|
|
this.$confirm('此操作将退出登录, 是否继续?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
+ center: true,
|
|
|
+ type: 'warning',
|
|
|
})
|
|
|
.then(() => {
|
|
|
- let params = { transCode: 'A00004' }
|
|
|
- request(params)
|
|
|
+ request({ transCode: 'A00004' })
|
|
|
.then(() => {
|
|
|
this.quit()
|
|
|
})
|
|
|
- .catch(err => {
|
|
|
+ .catch((err) => {
|
|
|
this.quit()
|
|
|
})
|
|
|
})
|
|
|
.catch(() => {
|
|
|
- this.$message({
|
|
|
- type: 'info',
|
|
|
- message: '已取消'
|
|
|
- })
|
|
|
+ this.$message.info('已取消')
|
|
|
})
|
|
|
},
|
|
|
- // 主题替换
|
|
|
+ getCount() {
|
|
|
+ this.runProject = 0
|
|
|
+ this.totalProject = 0
|
|
|
+ this.user = 0
|
|
|
+ this.activeUser = 0
|
|
|
+ request({ transCode: 'C00005' })
|
|
|
+ .then((res) => {
|
|
|
+ this.runProject = parseInt(res.runProject)
|
|
|
+ this.totalProject = parseInt(res.totalProject)
|
|
|
+ this.user = parseInt(res.user)
|
|
|
+ this.activeUser = parseInt(res.activeUser)
|
|
|
+ })
|
|
|
+ .catch((err) => {})
|
|
|
+ },
|
|
|
+ // 主题替换
|
|
|
clicksel(index){
|
|
|
if(index==0){
|
|
|
this.num=0;
|
|
@@ -218,29 +373,7 @@ export default {
|
|
|
|
|
|
}
|
|
|
},
|
|
|
- login(){
|
|
|
- //进入工作台
|
|
|
-
|
|
|
- let loginStatus = this.$store.getters.loginStatus
|
|
|
- if (loginStatus) {
|
|
|
- this.$message.success('恭喜你,成功进入工作台!')
|
|
|
- this.$router.push('/MPM/MPM')
|
|
|
- } else {
|
|
|
- this.$confirm('你还未登录,请登录后再操作, 是否登录?', '提示', {
|
|
|
- confirmButtonText: '登录',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.$router.replace('/login/index')
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- this.$message.info('已取消!')
|
|
|
- })
|
|
|
- }
|
|
|
-
|
|
|
- },
|
|
|
- }
|
|
|
+ },
|
|
|
}
|
|
|
</script>
|
|
|
|
|
@@ -251,43 +384,81 @@ export default {
|
|
|
|
|
|
.fixed {
|
|
|
&-header {
|
|
|
- @include position(fixed, 0, auto, 0, 0, 9);
|
|
|
+ // @include position(fixed, 0, auto, 0, 0, 9);
|
|
|
@include w_h();
|
|
|
-
|
|
|
- -moz-box-shadow: 2px 6px 11px #909090;
|
|
|
-
|
|
|
- -webkit-box-shadow:2px 6px 11px #666;
|
|
|
-
|
|
|
- box-shadow:2px 6px 11px #666;
|
|
|
}
|
|
|
&-footer {
|
|
|
// @include position(fixed, auto, 0, 0, 0, 9);
|
|
|
@include w_h();
|
|
|
}
|
|
|
}
|
|
|
+.fixed-footer{
|
|
|
+ position: fixed;
|
|
|
+ top: auto;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ z-index: 9;
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+}
|
|
|
+.show{
|
|
|
+ background: $color_f;
|
|
|
|
|
|
+}
|
|
|
+.hidden{
|
|
|
+
|
|
|
+}
|
|
|
.header {
|
|
|
- padding: 0 20px;
|
|
|
+ padding: 0 20px;
|
|
|
@include flex();
|
|
|
@include w_h(100%, 40px);
|
|
|
min-width: 1000px;
|
|
|
//background: $color_f;
|
|
|
box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.04);
|
|
|
- // background-color:#757070;
|
|
|
.logo {
|
|
|
@include w_h(100px);
|
|
|
- .el-image{
|
|
|
- margin-top: 5px;
|
|
|
+ &:hover {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .count {
|
|
|
+ @include flex(flex-start);
|
|
|
+ @include w_h(auto, 35px);
|
|
|
+ padding: 0 $pad;
|
|
|
+ font-size: 12px;
|
|
|
+ color: $color_3;
|
|
|
+ .item {
|
|
|
+ margin: 0 20px;
|
|
|
+ }
|
|
|
+ .icon {
|
|
|
+ @include w_h(14px);
|
|
|
+ margin-right: 3px;
|
|
|
+ vertical-align: bottom;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ span {
|
|
|
+ color: $color_on;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.nav {
|
|
|
@include flex();
|
|
|
height: 100%;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 12px;
|
|
|
.el-menu {
|
|
|
height: 100%;
|
|
|
border: none;
|
|
|
+ background:none;
|
|
|
+ color: #0470cc;
|
|
|
+ .itemOn {
|
|
|
+ // color: $color_on !important;
|
|
|
+ // border-bottom: 2px solid $color_on !important;
|
|
|
+ color: rgba($color: #0158a8, $alpha: 1)!important;
|
|
|
+ border-bottom: 2px solid #0158a8!important;
|
|
|
+ }
|
|
|
}
|
|
|
.user {
|
|
|
color: inherit;
|
|
@@ -298,6 +469,9 @@ export default {
|
|
|
white-space: nowrap;
|
|
|
text-overflow: ellipsis;
|
|
|
overflow: hidden;
|
|
|
+ }
|
|
|
+ &:hover span {
|
|
|
+ color: #f66420;
|
|
|
}
|
|
|
.el-icon-arrow-down {
|
|
|
font-size: 12px;
|
|
@@ -305,56 +479,73 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
.app-main {
|
|
|
- padding: 0;
|
|
|
- width: 100%;
|
|
|
- height: calc(100vh - 30px);
|
|
|
- min-height: 580px;
|
|
|
-}
|
|
|
-.fixed-header + .app-main {
|
|
|
- padding: 40px 0 0;
|
|
|
+ width: 100%;
|
|
|
+ height: calc(100vh - 85px);
|
|
|
}
|
|
|
-
|
|
|
.footer {
|
|
|
- @include w_h(100%, 30px);
|
|
|
- line-height: 30px;
|
|
|
+ @include w_h(100%, 35px);
|
|
|
+ line-height: 35px;
|
|
|
font-size: 12px;
|
|
|
text-align: center;
|
|
|
- color: #737374;
|
|
|
- background: $color_f5;
|
|
|
+ color: #747474;
|
|
|
+ background: $color_f2;
|
|
|
+ .police {
|
|
|
+ vertical-align: sub;
|
|
|
+ }
|
|
|
+ a {
|
|
|
+ padding-right: 10px;
|
|
|
+ }
|
|
|
a:hover {
|
|
|
color: $color_9;
|
|
|
}
|
|
|
-
|
|
|
+ &-login {
|
|
|
+ background: $color_f;
|
|
|
+ }
|
|
|
&-index {
|
|
|
- background: #03000b;
|
|
|
+ background: #2b2828;
|
|
|
}
|
|
|
}
|
|
|
-.el-menu-item a{
|
|
|
- color: #fff
|
|
|
-}
|
|
|
</style>
|
|
|
|
|
|
<style lang="scss">
|
|
|
@import '@/styles/variables.scss';
|
|
|
+.el-image__inner--center {
|
|
|
+ left: 0 !important;
|
|
|
+ transform: translate(0) !important;
|
|
|
+}
|
|
|
.nav {
|
|
|
.el-dropdown {
|
|
|
color: inherit;
|
|
|
}
|
|
|
.el-menu-item,
|
|
|
- .el-submenu__title {
|
|
|
+ .el-submenu__title,
|
|
|
+ .el-menu--horizontal > .el-menu-item {
|
|
|
height: 40px;
|
|
|
line-height: 40px;
|
|
|
color: $color_3;
|
|
|
- &:hover{
|
|
|
- background-color: rgba($color: #fff, $alpha: 0.3);
|
|
|
+ border: none;
|
|
|
+ padding: 0 5px;
|
|
|
+ margin: 0 15px;
|
|
|
+ background-color: rgba($color: #0158a8, $alpha: 0)!important;;
|
|
|
+ a {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ &.is-active {
|
|
|
+ border: none;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .el-menu--horizontal > .el-menu-item a {
|
|
|
- display: block;
|
|
|
+}
|
|
|
+.dasai{
|
|
|
+
|
|
|
+ .yingyong{
|
|
|
+ font-size: 14px;
|
|
|
+ color: #303133;
|
|
|
}
|
|
|
+ &:hover .yingyong{
|
|
|
+ color: #f66420 !important;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
.headericon{
|
|
|
ul{
|
|
@@ -375,6 +566,15 @@ export default {
|
|
|
}
|
|
|
.title{
|
|
|
font-size: 24px;
|
|
|
- color: #fff;
|
|
|
+}
|
|
|
+.login{
|
|
|
+ padding:0;
|
|
|
+ margin: 0;
|
|
|
+}
|
|
|
+</style>
|
|
|
+<style>
|
|
|
+p{
|
|
|
+ padding: 0;
|
|
|
+ margin: 0;
|
|
|
}
|
|
|
</style>
|