uni小程序通过滑动使头部导航栏实现渐变效果
uni小程序通过滑动使头部导航栏实现渐变效果通过自定义导航栏实现:<template> <view :style="{'padding-top':h+'px'}"> <view class="status_bar" :style="{height:h+'px','background-color':'#39dc1c',opacity:opacity}"> <!-- 这里是自定义状态栏 --> <text class="status
原创
2022-01-26 10:46:58 ·
3349 阅读 ·
0 评论