2019-09-06 14:18:16 +08:00

16 lines
367 B
Plaintext

<demo-block title="基础用法">
<van-sticky>
<van-button type="primary" style="margin-left: 15px">
基础用法
</van-button>
</van-sticky>
</demo-block>
<demo-block title="吸顶距离">
<van-sticky offset-top="{{30}}">
<van-button type="info" style="margin-left: 115px">
吸顶距离
</van-button>
</van-sticky>
</demo-block>