河海添加logo

dev_2022-05-11
yujialong 3 years ago
parent 3a3cd37de6
commit cf65f58cc2
  1. BIN
      src/assets/img/logo-hh.png
  2. 12
      src/components/common/Header.vue
  3. 16
      src/components/page/Login.vue

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

@ -1,8 +1,7 @@
<template> <template>
<div class="header flex-between"> <div class="header flex-between">
<div class="logo"> <img class="logo hh" v-if="$config.isHh" src="../../assets/img/logo-hh.png" />
<img v-if="!$config.isHh" src="../../assets/img/logo.png"> <img class="logo" v-else src="../../assets/img/logo.png" />
</div>
<div class="header-right"> <div class="header-right">
<div class="header-user-con"> <div class="header-user-con">
<div class="user" @click="toPersonalCenter"> <div class="user" @click="toPersonalCenter">
@ -62,10 +61,9 @@ export default {
float: left; float: left;
width: 150px; width: 150px;
margin-left: 20px; margin-left: 20px;
} &.hh{
.header .logo img{ width: 220px;
width: 100%; }
height: 100%;
} }
.header-right { .header-right {
float: right; float: right;

@ -1,9 +1,8 @@
<template> <template>
<div class="login-wrap"> <div class="login-wrap">
<div class="header" v-if="!$config.isHh"> <div class="header">
<div class="logo"> <img class="logo hh" v-if="$config.isHh" src="../../assets/img/logo-hh.png" />
<img src="../../assets/img/logo.png"> <img class="logo" v-else src="../../assets/img/logo.png" />
</div>
</div> </div>
<div class="ms-login"> <div class="ms-login">
@ -123,7 +122,7 @@ export default {
}; };
</script> </script>
<style scoped> <style lang="scss" scoped>
.login-wrap { .login-wrap {
position: relative; position: relative;
width: 100%; width: 100%;
@ -198,10 +197,9 @@ export default {
.logo{ .logo{
width: 150px; width: 150px;
margin-left: 20px; margin-left: 20px;
} &.hh{
img{ width: 220px;
width: 100%; }
height: 100%;
} }
.header_title{ .header_title{
width: 33%; width: 33%;

Loading…
Cancel
Save