mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
16 lines
367 B
Plaintext
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>
|