Commit 3941af00 authored by youjie's avatar youjie

优化车系统 的erp 头部

parent 423188dc
<template> <template>
<div id="app" :class="{'red-theme':isRed}"> <div id="app" :class="[isRed?'red-theme':'',typeSystem==1?'appBoxActive':'']">
<keep-alive> <keep-alive>
<router-view v-if="$route.meta.keepAlive" /> <router-view v-if="$route.meta.keepAlive" />
</keep-alive> </keep-alive>
...@@ -411,5 +411,14 @@ ...@@ -411,5 +411,14 @@
color: #000000; color: #000000;
text-decoration: underline; text-decoration: underline;
} }
.red-theme.appBoxActive .temDivs,.red-theme.appBoxActive .frame-box{
top: 0;
}
.red-theme.appBoxActive .query-box li:last-child{
position: inherit;
}
.red-theme.appBoxActive ._nav{
margin: 0;
}
</style> </style>
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
.page_fnDm { .page_fnDm {
background-color: white; background-color: white;
} }
.page_fnDm.active{
position: relative;
top: -30px
}
.query-box { .query-box {
overflow: inherit; overflow: inherit;
} }
...@@ -680,8 +676,7 @@ ...@@ -680,8 +676,7 @@
<template> <template>
<div> <div>
<div class="page_fnDm page_RecPayQuer" <div class="page_fnDm page_RecPayQuer" @keyup.enter="resetPageIndex(),getPageList()">
:class="[typeSystem==1?'active':'']" @keyup.enter="resetPageIndex(),getPageList()">
<ul class="_nav clearfix"> <ul class="_nav clearfix">
<!-- <li :class="active==5?'_active':''" @click="active=5,msg.Conditon=5,getPageList()">全部</li> --> <!-- <li :class="active==5?'_active':''" @click="active=5,msg.Conditon=5,getPageList()">全部</li> -->
......
...@@ -65,12 +65,12 @@ ...@@ -65,12 +65,12 @@
<template> <template>
<div style="position: relative;" class="myIndexStyle" ref="firstParent"> <div style="position: relative;" class="myIndexStyle" ref="firstParent">
<div class="nav"> <div class="nav" v-if="typeSystem==0">
<div class="nav-left"> <div class="nav-left">
<img class="GroupPic" v-if="userInfo.GroupPic!='' " :src="userInfo.GroupPic" :onerror='defaultHeadImg' /> <img class="GroupPic" v-if="userInfo.GroupPic!='' " :src="userInfo.GroupPic" :onerror='defaultHeadImg' />
</div> </div>
<div class="nav-middle"> <div class="nav-middle">
<ul v-if="typeSystem==0" class="clearfix comIndexUl" :style="{width:`${allWindowWidth}px`}"> <ul class="clearfix comIndexUl" :style="{width:`${allWindowWidth}px`}">
<li v-for="(item,index) in menuList" v-if="item.MenuUrl!='' && index<=maxLength" <li v-for="(item,index) in menuList" v-if="item.MenuUrl!='' && index<=maxLength"
:class="{active:item.MenuId==chosenIndex}" @click="goUrl(item.MenuUrl,item.MenuId,index)"> :class="{active:item.MenuId==chosenIndex}" @click="goUrl(item.MenuUrl,item.MenuId,index)">
<span class="big_tittle"><i :class="[fontPub,item.icon]"></i> <span class="big_tittle"><i :class="[fontPub,item.icon]"></i>
...@@ -959,7 +959,7 @@ ...@@ -959,7 +959,7 @@
<source src="/static/music/msgMusic.mp3" type="audio/mpeg"> <source src="/static/music/msgMusic.mp3" type="audio/mpeg">
</audio> </audio>
</div> </div>
<div class="temDivs" :style="{'top':typeSystem==0?'58px':'58px'}"> <div class="temDivs">
<router-view></router-view> <router-view></router-view>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment