在移动或者app 中经常会用,顶部导航栏固定,但是随着页面向上滚动,导航栏的透明度发生变化。
做法为:
1、首先给要滚动变化的导航添加
:style="style"
<mt-header fixed title="个人中心" :style="style"> <router-link to="/" slot="left" class="news_box
在移动或者app 中经常会用,顶部导航栏固定,但是随着页面向上滚动,导航栏的透明度发生变化。
做法为:
1、首先给要滚动变化的导航添加
:style="style"
<mt-header fixed title="个人中心" :style="style"> <router-link to="/" slot="left" class="news_box