|
|
<template>
|
|
|
<LayoutApp class="yohoufo-channel-page" :show-back="true" :hide-header="hideHeader" :title="title">
|
|
|
<div class="fixed-nav scroll-nav-wrap" v-if="isShow && navList.length">
|
|
|
<div class="fixed-nav scroll-nav-wrap-fix" v-if="isShow && navList.length">
|
|
|
<ScrollNav :list="navList" :current="active" @transfer="getIndex"></ScrollNav>
|
|
|
</div>
|
|
|
<Scroll
|
...
|
...
|
@@ -338,6 +338,27 @@ export default { |
|
|
}
|
|
|
}
|
|
|
|
|
|
.scroll-nav-wrap-fix {
|
|
|
position: relative;
|
|
|
|
|
|
&:after {
|
|
|
content: "";
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
|
height: 100px;
|
|
|
box-shadow: 0 0 120px 100px white !important;
|
|
|
z-index: -1;
|
|
|
}
|
|
|
|
|
|
&.fixed-nav {
|
|
|
width: 100%;
|
|
|
position: absolute;
|
|
|
z-index: 10;
|
|
|
background-color: white;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.channel-body {
|
|
|
height: 100%;
|
|
|
position: relative;
|
...
|
...
|
@@ -345,7 +366,7 @@ export default { |
|
|
&:before {
|
|
|
content: "";
|
|
|
width: 100%;
|
|
|
height: 330px;
|
|
|
height: 400px;
|
|
|
background: #08304B;
|
|
|
position: absolute;
|
|
|
top: 0;
|
...
|
...
|
@@ -407,7 +428,7 @@ export default { |
|
|
background: #f5f5f5;
|
|
|
height: 64px;
|
|
|
font-size: 28px;
|
|
|
color: #999;
|
|
|
color: #000;
|
|
|
flex: 1;
|
|
|
border-radius: 4px;
|
|
|
padding: 14px 14px 14px 10px;
|
...
|
...
|
|