切换
This commit is contained in:
@@ -322,6 +322,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 current_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 pointer" @click="toJumpPage(6)">6</div>
|
||||
</div>
|
||||
<div class="tooltip_arrow pointer" @click="expandTooltip" v-text="expand ? '<<' : '>>'"></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -331,6 +342,7 @@ export default {
|
||||
name: 'one',
|
||||
data () {
|
||||
return {
|
||||
expand: false,
|
||||
top: '',
|
||||
left: '',
|
||||
youModel: '',
|
||||
@@ -379,6 +391,30 @@ export default {
|
||||
this.initData()
|
||||
},
|
||||
methods: {
|
||||
expandTooltip () {
|
||||
this.expand = !this.expand
|
||||
},
|
||||
toJumpPage (type) {
|
||||
switch (type) {
|
||||
case 1:
|
||||
this.$router.push('/homepagetwo')
|
||||
break
|
||||
case 2:
|
||||
break
|
||||
case 3:
|
||||
this.$router.push('/takeshapetwo')
|
||||
break
|
||||
case 4:
|
||||
this.$router.push('/firedrytwo')
|
||||
break
|
||||
case 5:
|
||||
this.$router.push('/sortpacktwo')
|
||||
break
|
||||
case 6:
|
||||
this.$router.push('/pdtwo')
|
||||
break
|
||||
}
|
||||
},
|
||||
getInfo1 (e, i) {
|
||||
this.pkId = e.point_code
|
||||
this.pkObj = e
|
||||
|
||||
Reference in New Issue
Block a user