|
@@ -22,7 +22,7 @@
|
|
|
<nav
|
|
|
v-show="!$route.meta.hideNavBar"
|
|
|
:style="{
|
|
|
- bottom: isShowNavBar ? '0' : '-112px',
|
|
|
+ bottom: isShowNavBar ? '0' : `-${navBarHeight}`,
|
|
|
}"
|
|
|
>
|
|
|
<button
|
|
@@ -216,13 +216,14 @@ export default {
|
|
|
|
|
|
const isShowNavBar = ref(true)
|
|
|
const activeNavItemIdx = ref(0)
|
|
|
-
|
|
|
+ const navBarHeight = '100px'
|
|
|
return {
|
|
|
isShowFadeInMask,
|
|
|
progress,
|
|
|
|
|
|
isShowNavBar,
|
|
|
activeNavItemIdx,
|
|
|
+ navBarHeight,
|
|
|
}
|
|
|
},
|
|
|
}
|
|
@@ -256,7 +257,11 @@ html, body {
|
|
|
|
|
|
// 字体
|
|
|
@font-face {
|
|
|
- font-family: 'Source Han Sans CN-Regular';
|
|
|
+ font-family: 'Source Han Sans CN-Light';
|
|
|
+ src: url('@/assets/style/SOURCEHANSANSCN-LIGHT.OTF');
|
|
|
+}
|
|
|
+@font-face {
|
|
|
+ font-family: 'Source Han Sans CN-Light';
|
|
|
src: url('@/assets/style/SOURCEHANSANSCN-REGULAR.OTF');
|
|
|
}
|
|
|
@font-face {
|
|
@@ -348,7 +353,7 @@ html, body {
|
|
|
<style scoped lang="less">
|
|
|
.app-view {
|
|
|
width: 100%;
|
|
|
- height: calc(100% - 112px);
|
|
|
+ height: calc(100% - v-bind('navBarHeight'));
|
|
|
position: relative;
|
|
|
&.higher {
|
|
|
height: 100%;
|
|
@@ -371,7 +376,7 @@ html, body {
|
|
|
position: fixed;
|
|
|
left: 0;
|
|
|
width: 100%;
|
|
|
- height: 112px;
|
|
|
+ height: v-bind('navBarHeight');
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
border-top: solid 1px #D2BD84;
|
|
|
box-shadow: inset 0px 2px 2px 0px rgba(210,189,132,0.45), 0px -9px 24px 0px rgba(183,162,109,0.25);
|
|
@@ -380,11 +385,11 @@ html, body {
|
|
|
align-items: center;
|
|
|
transition: all 0.5s;
|
|
|
// backdrop-filter: blur(10px);
|
|
|
- background-image: url(@/assets/images/bg-bottom-bar.png);
|
|
|
+ background-image: url(@/assets/images/bg-bottom-bar.jpg);
|
|
|
background-size: cover;
|
|
|
background-repeat: no-repeat;
|
|
|
background-position: center center;
|
|
|
- background-color: #0c0d12;
|
|
|
+ // background-color: #0c0d12;
|
|
|
>button.tab-item {
|
|
|
font-size: 30px;
|
|
|
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
|
|
@@ -402,6 +407,7 @@ html, body {
|
|
|
}
|
|
|
&.active {
|
|
|
opacity: initial;
|
|
|
+ font-weight: bold;
|
|
|
>img.decorator {
|
|
|
display: initial;
|
|
|
position: absolute;
|