Commit 0fa752d3 authored by 华国豪's avatar 华国豪 🙄

修改首页

parent a133655b
......@@ -267,12 +267,12 @@
</div>
</li>
<!-- 活动中心 -->
<!-- <li :class="{_active: navActive === 9}" style="width: auto;">
<li :class="{_active: navActive === 9}" style="width: auto;">
<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 src="../../assets/img/task/nav_text.png" alt="">
</div>
</li> -->
</li>
</ul>
</div>
</el-row>
......
......@@ -8,7 +8,7 @@
<newHead/>
<div :style='{"min-height":minHeight+"px"}'>
<transition name="slide">
<router-view :changeCity='changeCity'></router-view>
<router-view :changeCity='changeCity'></router-view>
</transition>
</div>
<foot />
......@@ -43,6 +43,9 @@ export default {
},
},
mounted () {
if (this.$route.name === 'index') {
this.$router.push({path: 'Home'})
}
//this.loadSize()
//this.goUrl('2-1')
this.minHeight=document.documentElement.clientHeight-171
......@@ -69,7 +72,7 @@ export default {
console.log(index)
let path=''
if(index=='2-1'){
path='/heel'
path='/Home'
}
if(index=='3'){
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