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

修改首页

parent a133655b
...@@ -267,12 +267,12 @@ ...@@ -267,12 +267,12 @@
</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=""> <img src="../../assets/img/task/nav_text.png" alt="">
</div> </div>
</li> --> </li>
</ul> </ul>
</div> </div>
</el-row> </el-row>
......
...@@ -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