Authored by Tao

modify channel scrollnav

1 <template> 1 <template>
2 <LayoutApp class="yohoufo-channel-page" :show-back="true" :hide-header="hideHeader" :title="title"> 2 <LayoutApp class="yohoufo-channel-page" :show-back="true" :hide-header="hideHeader" :title="title">
3 - <div class="fixed-nav scroll-nav-wrap" v-if="isShow && navList.length"> 3 + <div class="fixed-nav scroll-nav-wrap" :class="{'hidden': !isShow}" v-if="navList.length">
4 <ScrollNav :list="navList" :current="active" @transfer="getIndex" style="background: #f2f2f2;"></ScrollNav> 4 <ScrollNav :list="navList" :current="active" @transfer="getIndex" style="background: #f2f2f2;"></ScrollNav>
5 </div> 5 </div>
6 <Scroll 6 <Scroll
@@ -63,10 +63,6 @@ export default { @@ -63,10 +63,6 @@ export default {
63 homeYasParams: [], 63 homeYasParams: [],
64 options: { 64 options: {
65 pullUpLoad: true, 65 pullUpLoad: true,
66 - // pullDownRefresh: true,  
67 - // pullDownRefresh: {  
68 - // txt: '刷新成功',  
69 - // }  
70 }, 66 },
71 scrollEvents: ['scroll','scroll-end'], 67 scrollEvents: ['scroll','scroll-end'],
72 title:'闲鱼潮', 68 title:'闲鱼潮',
@@ -109,6 +105,7 @@ export default { @@ -109,6 +105,7 @@ export default {
109 selectedCategory: {}, 105 selectedCategory: {},
110 height: 0, 106 height: 0,
111 isA: false, 107 isA: false,
  108 + isHidden: true,
112 }; 109 };
113 }, 110 },
114 computed: { 111 computed: {
@@ -511,4 +508,8 @@ input::-webkit-input-placeholder { @@ -511,4 +508,8 @@ input::-webkit-input-placeholder {
511 .class-a { 508 .class-a {
512 padding-top: 104px; 509 padding-top: 104px;
513 } 510 }
  511 +.hidden {
  512 + visibility: hidden;
  513 + opacity: 0;
  514 +}
514 </style> 515 </style>