Compare commits

..

2 Commits

Author SHA1 Message Date
wangxiaoshuang 71e00ecf5b Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is passing Details
2026-01-27 15:05:05 +08:00
wangxiaoshuang fdc2572477 时间样式调整 2026-01-27 15:04:51 +08:00
2 changed files with 7 additions and 6 deletions

View File

@ -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>

View File

@ -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>