This commit is contained in:
2023-06-21 14:15:19 +08:00
parent 7e8362d0ba
commit 5a32e5e9db
13 changed files with 100 additions and 317 deletions

View File

@@ -117,13 +117,14 @@
</div>
</div>
<div class="tooltip_wrap right_tooltip_wrap" :style="expand ? 'opacity: 1' : 'opacity: 0.1'">
<div class="tooltip_pages" :style="expand ? 'width: 240px' : 'width: 0'">
<div class="tooltip_page pointer" @click="toJumpPage(1)">1</div>
<div class="tooltip_page pointer" @click="toJumpPage(2)">2</div>
<div class="tooltip_page current_page pointer" @click="toJumpPage(3)">3</div>
<div class="tooltip_page pointer" @click="toJumpPage(4)">4</div>
<div class="tooltip_page pointer" @click="toJumpPage(5)">5</div>
<div class="tooltip_page pointer" @click="toJumpPage(6)">6</div>
<div class="tooltip_pages" :style="expand ? 'width: 300px' : 'width: 0'">
<router-link to="/setup" class="tooltip_page">配置</router-link>
<router-link to="/homepagetwo" class="tooltip_page">1</router-link>
<router-link to="/hnlktwo" class="tooltip_page">2</router-link>
<div class="tooltip_page current_page pointer">3</div>
<router-link to="/firedrytwo" class="tooltip_page">4</router-link>
<router-link to="/sortpacktwo" class="tooltip_page">5</router-link>
<router-link to="/pdtwo" class="tooltip_page">6</router-link>
</div>
<div class="tooltip_arrow pointer" @click="expandTooltip" v-text="expand ? '&lt;&lt;' : '&gt;&gt;'"></div>
</div>
@@ -213,27 +214,6 @@ export default {
},
expandTooltip () {
this.expand = !this.expand
},
toJumpPage (type) {
switch (type) {
case 1:
this.$router.push('/homepagetwo')
break
case 2:
this.$router.push('/hnlktwo')
break
case 3:
break
case 4:
this.$router.push('/firedrytwo')
break
case 5:
this.$router.push('/sortpacktwo')
break
case 6:
this.$router.push('/pdtwo')
break
}
}
}
}