Compare commits

..

No commits in common. "71e00ecf5bea8a7d856eafa814bf098978d13e05" and "7ab9d0f2853f8b3415492a36e8084e5f857a6243" have entirely different histories.

2 changed files with 6 additions and 7 deletions

View File

@ -9,7 +9,7 @@ export default {
return { return {
time: '', time: '',
timer: null, timer: null,
suggestionTextColor: '#909399' suggestionTextColor: '#000'
} }
}, },
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:7px;` box.style.cssText += `left:${maxLeft}px;top:0px;`
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 = "#909399" this.suggestionTextColor = "#000"
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,7 +110,6 @@ export default {
position: fixed; position: fixed;
z-index: 99999; z-index: 99999;
cursor: move; cursor: move;
width: 195px; width: 220px;
font-size: 14px;
} }
</style> </style>

View File

@ -1,11 +1,11 @@
<template> <template>
<el-dropdown <el-dropdown
style="height:50px;line-height: 65px;" style="height:50px;line-height: 60px;"
@command="handleSetLanguage" @command="handleSetLanguage"
> >
<span class="el-dropdown-link"> <span class="el-dropdown-link">
<svg-icon icon-class="language" style="font-size:20px;margin:0 10px;" /> <svg-icon icon-class="language" style="font-size:25px;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>