1
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-06-06 11:26:29 +08:00
parent 8795826d6b
commit 15113fb976
3 changed files with 6 additions and 6 deletions

View File

@ -3,9 +3,9 @@ const WINDOW_CONFIG = {
hospitalEN: '', hospitalEN: '',
company: '武汉行藏科技有限公司', company: '武汉行藏科技有限公司',
companyEN: '', companyEN: '',
logo: { logoScale: { // logo宽高比
login: 4, login: 4, // height:60px
page: 3.4 page: 3.4 // height:50px
} }
} }

View File

@ -9,9 +9,9 @@
<div class="login-logo"> <div class="login-logo">
<!-- <img v-if="language === 'zh' && hospital.HospitalLogoPath" --> <!-- <img v-if="language === 'zh' && hospital.HospitalLogoPath" -->
<img v-if="language === 'zh'" :src="OSSclientConfig.basePath + hospital.HospitalLogoPath" <img v-if="language === 'zh'" :src="OSSclientConfig.basePath + hospital.HospitalLogoPath"
crossOrigin="anonymous" alt="" :style="`max-height:60px;max-width:${config.logo.login * 60}px`" /> crossOrigin="anonymous" alt="" :style="`max-height:60px;max-width:${config.logoScale.login * 60}px`" />
<img v-else-if="NODE_ENV === 'usa'" :src="OSSclientConfig.basePath + hospital.HospitalLogoPath" alt="" <img v-else-if="NODE_ENV === 'usa'" :src="OSSclientConfig.basePath + hospital.HospitalLogoPath" alt=""
class="usa-logo" :style="`max-height:60px;max-width:${config.logo.login * 60}px`" /> class="usa-logo" :style="`max-height:60px;max-width:${config.logoScale.login * 60}px`" />
<!-- <img v-else src="@/assets/zzlogo3.png" alt="" /> --> <!-- <img v-else src="@/assets/zzlogo3.png" alt="" /> -->
</div> </div>
<div class="login-image"> <div class="login-image">

View File

@ -4,7 +4,7 @@
<!-- <img v-if="language === 'zh' && hospital.HospitalLogoPath" --> <!-- <img v-if="language === 'zh' && hospital.HospitalLogoPath" -->
<img v-if="hospital.HospitalLogoPath" :src="OSSclientConfig.basePath + hospital.HospitalLogoPath" <img v-if="hospital.HospitalLogoPath" :src="OSSclientConfig.basePath + hospital.HospitalLogoPath"
crossOrigin="anonymous" alt="" :class="{ img_en: NODE_ENV === 'usa' }" crossOrigin="anonymous" alt="" :class="{ img_en: NODE_ENV === 'usa' }"
:style="`max-height:50px;max-width:${config.logo.page * 50}px`" /> :style="`max-height:50px;max-width:${config.logoScale.page * 50}px`" />
<div v-else style="width: 170px;"></div> <div v-else style="width: 170px;"></div>
<!-- <img v-else src="@/assets/zzlogo3.png" alt="" /> --> <!-- <img v-else src="@/assets/zzlogo3.png" alt="" /> -->
<span style="white-space: nowrap"> <span style="white-space: nowrap">