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

@@ -301,13 +301,14 @@
</div>
<div class="tooltip_wrap left_tooltip_wrap" :style="expand ? 'opacity: 1' : 'opacity: 0.1'">
<div class="tooltip_arrow pointer" @click="expandTooltip" v-text="expand ? '&gt;&gt;' : '&lt;&lt;'"></div>
<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 pointer" @click="toJumpPage(3)">3</div>
<div class="tooltip_page pointer" @click="toJumpPage(4)">4</div>
<div class="tooltip_page current_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="/homepageone" class="tooltip_page">1</router-link>
<router-link to="/hnlkone" class="tooltip_page">2</router-link>
<router-link to="/takeshapeone" class="tooltip_page">3</router-link>
<router-link to="/firedryone" class="tooltip_page">4</router-link>
<div class="tooltip_page current_page pointer">5</div>
<router-link to="/pdone" class="tooltip_page">6</router-link>
</div>
</div>
</div>
@@ -368,27 +369,6 @@ export default {
expandTooltip () {
this.expand = !this.expand
},
toJumpPage (type) {
switch (type) {
case 1:
this.$router.push('/homepageone')
break
case 2:
this.$router.push('/hnlkone')
break
case 3:
this.$router.push('/takeshapeone')
break
case 4:
this.$router.push('/firedryone')
break
case 5:
break
case 6:
this.$router.push('/pdone')
break
}
},
closeModal () {
this.showModal = false
this.machine = ''