时间样式调整
parent
ba6bcebe1f
commit
fdc2572477
|
|
@ -9,7 +9,7 @@ export default {
|
|||
return {
|
||||
time: '',
|
||||
timer: null,
|
||||
suggestionTextColor: '#000'
|
||||
suggestionTextColor: '#909399'
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
@ -34,7 +34,7 @@ export default {
|
|||
const body = document.getElementsByTagName('body')[0]
|
||||
let maxLeft = body.offsetWidth - box.offsetWidth
|
||||
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 () {
|
||||
if (window.document.currentStyle) {
|
||||
return (dom, attr) => dom.currentStyle[attr]
|
||||
|
|
@ -90,7 +90,7 @@ export default {
|
|||
}
|
||||
},
|
||||
setColor() {
|
||||
this.suggestionTextColor = "#000"
|
||||
this.suggestionTextColor = "#909399"
|
||||
let pathList = ['/showvisitdicoms', '/showdicom', '/readingDicoms', '/petct', '/noneDicomReading']
|
||||
if (pathList.includes(window.location.pathname)) {
|
||||
this.suggestionTextColor = "#fff"
|
||||
|
|
@ -110,6 +110,7 @@ export default {
|
|||
position: fixed;
|
||||
z-index: 99999;
|
||||
cursor: move;
|
||||
width: 220px;
|
||||
width: 195px;
|
||||
font-size: 14px;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
<template>
|
||||
<el-dropdown
|
||||
style="height:50px;line-height: 60px;"
|
||||
style="height:50px;line-height: 65px;"
|
||||
@command="handleSetLanguage"
|
||||
>
|
||||
|
||||
<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' }} -->
|
||||
<!-- <i class="el-icon-arrow-down el-icon--right" /> -->
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue