Browse Source

登陆页面logo展示

master
bianyaqi 2 years ago
parent
commit
f9941df660
  1. 4
      public/index.html
  2. 10
      src/page-subspecialty/views/main-navbar.vue
  3. 17
      src/page-subspecialty/views/pages/login.vue

4
public/index.html

@ -39,8 +39,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>
//http://121.36.16.195:9002/huimu-admin/swagger-ui/index.html
// window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://192.168.0.117:8036/xiangan-crf';
window.SITE_CONFIG['apiURL'] = 'http://47.110.224.240:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.0.117:8036/xiangan-crf';
// window.SITE_CONFIG['apiURL'] = 'http://192.168.4.174:8036/xiangan-crf';
</script>
<% } %>

10
src/page-subspecialty/views/main-navbar.vue

@ -24,6 +24,11 @@
<bread-crumb />
</el-menu-item>
</el-menu>
<el-menu class="aui-navbar__menu mr-auto" mode="horizontal">
<el-menu-item index="7">
<span class="logo">厦门大学附属翔安医院</span>
</el-menu-item>
</el-menu>
<el-menu class="aui-navbar__menu" mode="horizontal">
<!-- 全屏 -->
<el-menu-item index="4" @click="fullscreenHandle()">
@ -122,6 +127,11 @@ export default {
.aui-navbar__header{
width: 160px;
}
.logo{
font-size: 24px;
font-weight: bold;
letter-spacing: 10px;
}
.aui-navbar__brand{
font-size: 17px;
.sidebar-logo {

17
src/page-subspecialty/views/pages/login.vue

@ -4,6 +4,9 @@
<div class="left-logo">
<svg-icon icon-class="icon-hm-login1" style="font-size:130px;" />
</div>
<div class="hospital_logo">
<img width="500" src="@/assets/img/xianganlogo.png">
</div>
<!-- 中间背景 -->
<div class="login-bgm" />
<!-- <img src="../../../assets/img/login_bgm.png" alt="" class="login-bgm"> -->
@ -43,8 +46,7 @@
</el-form>
<p class="tips">没有账号? 请联系管理员</p>
</el-tab-pane>
<el-tab-pane label="CA登录" name="second">
</el-tab-pane>
<el-tab-pane label="CA登录" name="second" />
</el-tabs>
</div>
</div>
@ -56,8 +58,9 @@
:visible.sync="visible"
width="40%"
title="CA登录"
@close="visible === false">
<iframe name="ifrmName" frameborder="0" width="100%" height="100%" :src=caUrl></iframe>
@close="visible === false"
>
<iframe name="ifrmName" frameborder="0" width="100%" height="100%" :src="caUrl" />
</el-dialog>
</div>
</template>
@ -103,7 +106,7 @@ export default {
handleClick() {
if (this.activeName === 'second') {
this.visible = true
this.$nextTick(()=>{
this.$nextTick(() => {
document.getElementsByTagName('iframe')[0].src = this.caUrl
})
}
@ -149,6 +152,10 @@ export default {
display: flex;
justify-content: center;
position: relative;
.hospital_logo{
position: fixed;
top: 100px;
}
.left-logo {
position: fixed;
left: 30px;

Loading…
Cancel
Save