Commit db37d593 authored by youjie's avatar youjie

优化头部

parent 73db6885
...@@ -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" v-if="typeSystem==0"> <div class="nav">
<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 class="clearfix comIndexUl" :style="{width:`${allWindowWidth}px`}"> <ul v-if="typeSystem==0" 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>
...@@ -4261,6 +4261,12 @@ ...@@ -4261,6 +4261,12 @@
localStorage.removeItem("userInfo"); localStorage.removeItem("userInfo");
localStorage.removeItem("previousPathInfo"); localStorage.removeItem("previousPathInfo");
location.href = '/' location.href = '/'
let href = this.domainManager().CarUrl
window.parent.postMessage({
event_id: 'out',
data: {
loginState: '退出登录',
}}, `${href}`)
}, },
togglebox(e) { togglebox(e) {
if ( if (
......
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