Commit aca56c00 authored by huangyuanyuan's avatar huangyuanyuan
parents cca73a5a 19b2a2b4
...@@ -260,17 +260,17 @@ ...@@ -260,17 +260,17 @@
</div> </div>
</li> --> </li> -->
<!-- 积分商城 --> <!-- 积分商城 -->
<li :class="{_active: navActive === 8}"> <!-- <li :class="{_active: navActive === 8}">
<div @click="handleSelect('/IntegralMall', 8), navActive = 8"> <div @click="handleSelect('/IntegralMall', 8), navActive = 8">
<span>积分商城</span> <span>积分商城</span>
<span class="__splice">|</span> <span class="__splice">|</span>
</div> </div>
</li> </li> -->
<!-- 活动中心 --> <!-- 活动中心 -->
<!-- <li :class="{_active: navActive === 9}" style="width: auto;"> <!-- <li :class="{_active: navActive === 9}" style="width: auto;">
<div @click="handleSelect('/IceCreamTask', 9), navActive = 9"> <div @click="handleSelect('/IceCreamTask', 9), navActive = 9">
<img style="z-index: -1;position: absolute;top: -27px;" src="../../assets/img/task/nav_bg.png" alt=""> <img style="z-index: -1;position: absolute;top: -27px;" src="../../assets/img/task/nav_bg.png" alt="">
<img src="../../assets/img/task/nav_text.png" alt=""> <li src="../../assets/img/task/nav_text.png" alt="">
</div> </div>
</li> --> </li> -->
</ul> </ul>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<newHead/> <newHead/>
<div :style='{"min-height":minHeight+"px"}'> <div :style='{"min-height":minHeight+"px"}'>
<transition name="slide"> <transition name="slide">
<router-view :changeCity='changeCity'></router-view> <router-view :changeCity='changeCity'></router-view>
</transition> </transition>
</div> </div>
<foot /> <foot />
...@@ -43,6 +43,9 @@ export default { ...@@ -43,6 +43,9 @@ export default {
}, },
}, },
mounted () { mounted () {
if (this.$route.name === 'index') {
this.$router.push({path: 'Home'})
}
//this.loadSize() //this.loadSize()
//this.goUrl('2-1') //this.goUrl('2-1')
this.minHeight=document.documentElement.clientHeight-171 this.minHeight=document.documentElement.clientHeight-171
...@@ -69,7 +72,7 @@ export default { ...@@ -69,7 +72,7 @@ export default {
console.log(index) console.log(index)
let path='' let path=''
if(index=='2-1'){ if(index=='2-1'){
path='/heel' path='/Home'
} }
if(index=='3'){ if(index=='3'){
path='/TicketHome' path='/TicketHome'
......
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