Commit 8574fad5 authored by 康振飞's avatar 康振飞

合并首页

parent ea431ce7
...@@ -7,6 +7,13 @@ ...@@ -7,6 +7,13 @@
<Icon type="ios-keypad" /> <Icon type="ios-keypad" />
<div class="top_menu_box"> <div class="top_menu_box">
<table class="t_table_box"> <table class="t_table_box">
<tr>
<td class="t_title">
<a class="a_goIndex" @click="goIndex">
<b class="title">首页</b>
</a>
</td>
</tr>
<tr v-for="(item,i) in filterSider"> <tr v-for="(item,i) in filterSider">
<td class="t_title"> <td class="t_title">
<b class="title" <b class="title"
...@@ -277,6 +284,9 @@ export default { ...@@ -277,6 +284,9 @@ export default {
this.$router.push(u.path) this.$router.push(u.path)
this.isActive = u.id this.isActive = u.id
}, },
goIndex(){
this.$router.push("/")
},
}, },
mounted() { mounted() {
document.addEventListener("scroll", this.handleScroll, { passive: true }); document.addEventListener("scroll", this.handleScroll, { passive: true });
...@@ -382,6 +392,9 @@ export default { ...@@ -382,6 +392,9 @@ export default {
.t_title{ .t_title{
min-width: 120px; min-width: 120px;
background: #515a6e; background: #515a6e;
.a_goIndex{
color: #fff;
}
.title{ .title{
padding: 5px 10px; padding: 5px 10px;
} }
......
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