| | |
| | | <template> |
| | | <view class="headNav"> |
| | | <view class="NavTop flex" :style="{ backgroundImage: 'url(' + bg + ')' }"> |
| | | <view class="NavTop flex" :style="{ backgroundImage: 'url(' + bg + ')' }" > |
| | | <view |
| | | class="santiaogang" |
| | | title="导航菜单" |
| | | style="width: 0.34rem; height: 0.34rem; margin-right: 3rem;cursor: pointer;" |
| | | @click="menuNav = !menuNav" |
| | | ><img |
| | |
| | | style=" |
| | | margin-left: 0.19rem; |
| | | font-size: 0.24rem; |
| | | font-family: cursive; |
| | | font-weight: 900; |
| | | " |
| | | > |
| | |
| | | }); |
| | | } else if (index === "1") { |
| | | uni.navigateTo({ |
| | | url: "/pages/characterRelation/characterRelation?id=" + 1 |
| | | url: "/pages/character/index?id=" + 1 |
| | | }); |
| | | } else if (index === "2") { |
| | | uni.navigateTo({ |
| | |
| | | }); |
| | | } else if (index === "3") { |
| | | uni.navigateTo({ |
| | | url: "/pages/dataDisplay/dataDisplay?id=" + 3 |
| | | url: "/pages/academicGenres/index?id=" + 3 |
| | | }); |
| | | } else if (index === "4") { |
| | | uni.navigateTo({ |
| | |
| | | } |
| | | |
| | | .NavTop { |
| | | /* background: url(@/static/image/topBg.png); */ |
| | | |
| | | /* background-image: url("../../static/image/topBg.png"); */ |
| | | background-size: 100% 100%; |
| | | padding: 0.16rem 0.24rem; |
| | | color: #fff !important; |