样式更改
parent
a4dab3d927
commit
2c86f4f6bb
|
@ -68,7 +68,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data () {
|
||||||
return {
|
return {
|
||||||
menuList: [
|
menuList: [
|
||||||
'Home',
|
'Home',
|
||||||
|
@ -88,12 +88,12 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
$route(v) {
|
$route (v) {
|
||||||
this.changeTab()
|
this.changeTab()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changeTab() {
|
changeTab () {
|
||||||
if (this.menuList.findIndex((v) => v === this.$route.name) === -1) {
|
if (this.menuList.findIndex((v) => v === this.$route.name) === -1) {
|
||||||
if (this.$route.name === 'Center Imaging Services') {
|
if (this.$route.name === 'Center Imaging Services') {
|
||||||
this.active = '1'
|
this.active = '1'
|
||||||
|
@ -105,7 +105,7 @@ export default {
|
||||||
this.active = this.menuList.findIndex((v) => v === this.$route.name)
|
this.active = this.menuList.findIndex((v) => v === this.$route.name)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectTab(v, title) {
|
selectTab (v, title) {
|
||||||
console.log('selectTab')
|
console.log('selectTab')
|
||||||
if (v === '5') {
|
if (v === '5') {
|
||||||
window.open('https://irc.extimaging.com')
|
window.open('https://irc.extimaging.com')
|
||||||
|
@ -129,7 +129,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted () {
|
||||||
if (this.menuList.findIndex((v) => v === this.$route.name) === -1) {
|
if (this.menuList.findIndex((v) => v === this.$route.name) === -1) {
|
||||||
if (this.$route.name === 'Center Imaging Services') {
|
if (this.$route.name === 'Center Imaging Services') {
|
||||||
this.active = '1'
|
this.active = '1'
|
||||||
|
@ -158,7 +158,7 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.layout {
|
.layout {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
user-select: none;
|
// user-select: none;
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
@ -340,7 +340,6 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue