样式更改

main
caiyiling 2025-04-21 15:09:09 +08:00
parent a4dab3d927
commit 2c86f4f6bb
1 changed files with 6 additions and 7 deletions

View File

@ -68,7 +68,7 @@
<script>
export default {
data() {
data () {
return {
menuList: [
'Home',
@ -88,12 +88,12 @@ export default {
}
},
watch: {
$route(v) {
$route (v) {
this.changeTab()
}
},
methods: {
changeTab() {
changeTab () {
if (this.menuList.findIndex((v) => v === this.$route.name) === -1) {
if (this.$route.name === 'Center Imaging Services') {
this.active = '1'
@ -105,7 +105,7 @@ export default {
this.active = this.menuList.findIndex((v) => v === this.$route.name)
}
},
selectTab(v, title) {
selectTab (v, title) {
console.log('selectTab')
if (v === '5') {
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.$route.name === 'Center Imaging Services') {
this.active = '1'
@ -158,7 +158,7 @@ export default {
<style lang="scss" scoped>
.layout {
overflow: auto;
user-select: none;
// user-select: none;
.header {
background: #fff;
@ -340,7 +340,6 @@ export default {
}
}
}
}
</style>