This commit is contained in:
2023-06-16 18:31:26 +08:00
parent 3e96822ed2
commit 59171135a3
7 changed files with 216 additions and 31 deletions

View File

@@ -99,6 +99,17 @@
</div>
</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 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 current_page pointer" @click="toJumpPage(6)">6</div>
</div>
<div class="tooltip_arrow pointer" @click="expandTooltip" v-text="expand ? '&lt;&lt;' : '&gt;&gt;'"></div>
</div>
</div>
</template>
@@ -108,6 +119,7 @@ export default {
name: 'two',
data () {
return {
expand: false,
num1: 0,
num2: 0,
num3: 0,
@@ -139,6 +151,30 @@ export default {
// this.setEchart06()
},
methods: {
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:
this.$router.push('/takeshapetwo')
break
case 4:
this.$router.push('/firedrytwo')
break
case 5:
this.$router.push('/sortpacktwo')
break
case 6:
break
}
},
async initData () {
let res = await processProduction()
this.resData = res.result