提交初始版本,使用vant ui库
This commit is contained in:
8
miniprogram_npm/@vant/weapp/sticky/index.wxml
Normal file
8
miniprogram_npm/@vant/weapp/sticky/index.wxml
Normal file
@@ -0,0 +1,8 @@
|
||||
<wxs src="../wxs/utils.wxs" module="utils" />
|
||||
<wxs src="./index.wxs" module="computed" />
|
||||
|
||||
<view class="custom-class van-sticky" style="{{ computed.containerStyle({ fixed, height, zIndex }) }}">
|
||||
<view class="{{ utils.bem('sticky-wrap', { fixed }) }}" style="{{ computed.wrapStyle({ fixed, offsetTop, transform, zIndex }) }}">
|
||||
<slot />
|
||||
</view>
|
||||
</view>
|
Reference in New Issue
Block a user