Compare commits
2 Commits
7ab9d0f285
...
71e00ecf5b
| Author | SHA1 | Date |
|---|---|---|
|
|
71e00ecf5b | |
|
|
fdc2572477 |
|
|
@ -9,7 +9,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
time: '',
|
time: '',
|
||||||
timer: null,
|
timer: null,
|
||||||
suggestionTextColor: '#000'
|
suggestionTextColor: '#909399'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -34,7 +34,7 @@ export default {
|
||||||
const body = document.getElementsByTagName('body')[0]
|
const body = document.getElementsByTagName('body')[0]
|
||||||
let maxLeft = body.offsetWidth - box.offsetWidth
|
let maxLeft = body.offsetWidth - box.offsetWidth
|
||||||
let maxTop = body.offsetHeight - box.offsetHeight - 30
|
let maxTop = body.offsetHeight - box.offsetHeight - 30
|
||||||
box.style.cssText += `left:${maxLeft}px;top:0px;`
|
box.style.cssText += `left:${maxLeft}px;top:7px;`
|
||||||
const sty = (function () {
|
const sty = (function () {
|
||||||
if (window.document.currentStyle) {
|
if (window.document.currentStyle) {
|
||||||
return (dom, attr) => dom.currentStyle[attr]
|
return (dom, attr) => dom.currentStyle[attr]
|
||||||
|
|
@ -90,7 +90,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setColor() {
|
setColor() {
|
||||||
this.suggestionTextColor = "#000"
|
this.suggestionTextColor = "#909399"
|
||||||
let pathList = ['/showvisitdicoms', '/showdicom', '/readingDicoms', '/petct', '/noneDicomReading']
|
let pathList = ['/showvisitdicoms', '/showdicom', '/readingDicoms', '/petct', '/noneDicomReading']
|
||||||
if (pathList.includes(window.location.pathname)) {
|
if (pathList.includes(window.location.pathname)) {
|
||||||
this.suggestionTextColor = "#fff"
|
this.suggestionTextColor = "#fff"
|
||||||
|
|
@ -110,6 +110,7 @@ export default {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 99999;
|
z-index: 99999;
|
||||||
cursor: move;
|
cursor: move;
|
||||||
width: 220px;
|
width: 195px;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<el-dropdown
|
<el-dropdown
|
||||||
style="height:50px;line-height: 60px;"
|
style="height:50px;line-height: 65px;"
|
||||||
@command="handleSetLanguage"
|
@command="handleSetLanguage"
|
||||||
>
|
>
|
||||||
|
|
||||||
<span class="el-dropdown-link">
|
<span class="el-dropdown-link">
|
||||||
<svg-icon icon-class="language" style="font-size:25px;margin:0 10px;" />
|
<svg-icon icon-class="language" style="font-size:20px;margin:0 10px;" />
|
||||||
<!-- {{ language==='zh'?'语言:中文':'Language: English' }} -->
|
<!-- {{ language==='zh'?'语言:中文':'Language: English' }} -->
|
||||||
<!-- <i class="el-icon-arrow-down el-icon--right" /> -->
|
<!-- <i class="el-icon-arrow-down el-icon--right" /> -->
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue