lb #6

Merged
gtz217 merged 26 commits from lb into master 2022-11-10 15:52:33 +08:00
Showing only changes of commit 66ce0d76f2 - Show all commits

View File

@ -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;
}
}