diff --git a/public/config.js b/public/config.js index 9f93353..e18907a 100644 --- a/public/config.js +++ b/public/config.js @@ -2,7 +2,11 @@ const WINDOW_CONFIG = { hospital: '复旦大学附属肿瘤医院', hospitalEN: '', company: '武汉行藏科技有限公司', - companyEN: '' + companyEN: '', + logo: { + login: 4, + page: 3.4 + } } // export default config \ No newline at end of file diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 45036af..d02da95 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -9,9 +9,9 @@
@@ -543,10 +543,10 @@ $light_gray: #606266; top: 35px; left: 50px; - img { - max-height: 60px; - max-width: 250px; - } + // img { + // max-height: 60px; + // max-width: 250px; + // } // .usa-logo { // height: 60px; diff --git a/src/views/trials/trials-layout/components/trialsNavbar.vue b/src/views/trials/trials-layout/components/trialsNavbar.vue index b4877ed..03e2255 100644 --- a/src/views/trials/trials-layout/components/trialsNavbar.vue +++ b/src/views/trials/trials-layout/components/trialsNavbar.vue @@ -3,7 +3,8 @@
+ crossOrigin="anonymous" alt="" :class="{ img_en: NODE_ENV === 'usa' }" + :style="`max-height:50px;max-width:${config.logo.page * 50}px`" />
@@ -93,6 +94,7 @@ export default { data() { return { logoImg, + config: WINDOW_CONFIG, NODE_ENV: process.env.NODE_ENV, // process.env.NODE_ENV activeIndex: '2', isReviewer: false, @@ -309,9 +311,9 @@ export default { padding-left: 20px; img { - max-height: 50px; + // max-height: 50px; margin-right: 10px; - max-width: 170px; + // max-width: 170px; } // .img_en {