lb #6
@ -1,12 +1,10 @@
|
||||
<template>
|
||||
<div class="navbar" :style="showTitle ? 'background: rgba(8,17,50,0.25)' : ''">
|
||||
<div v-if="showTitle" class="homeNavIcon" @click="goToRootPage">
|
||||
<img
|
||||
src="../../assets/img/cnbm.png"
|
||||
style="width: 26px; height: 26px; position: relative; top: 6px; marginRight: 14px"
|
||||
alt=""
|
||||
/>
|
||||
<img src="../../assets/img/cnbm.png" alt="" />
|
||||
<span>
|
||||
{{ 'title' | i18nFilter }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div v-if="showhome" style="display:flex; align-items: center;">
|
||||
@ -340,15 +338,21 @@ export default {
|
||||
.homeNavIcon {
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
font-size: calc(100vh / 1600 * 32);
|
||||
font-size: calc(100vw / 2560 * 28);
|
||||
line-height: 1;
|
||||
float: left;
|
||||
letter-spacing: 1px;
|
||||
letter-spacing: calc(100vw / 2560 * 2);
|
||||
font-weight: 500;
|
||||
padding-left: calc(100vw / 2560 * 32);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
* {
|
||||
vertical-align: middle;
|
||||
img {
|
||||
width: calc(100vw / 2560 * 32);
|
||||
height: calc(100vw / 2560 * 32);
|
||||
margin-right: calc(100vw / 2560 * 16);
|
||||
// width: 26px;
|
||||
// height: 26px;
|
||||
// marginright: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user