taro-footer

1.0.3 • Public • Published

Taro footer组件

iphonex 安全间距  默认定位 
不用设置底部滚动间距  会自动计算
必须放在最底部

用法

必须放在最底部

npm install taro-footer



    fixed: true,  //是否固定底部
    safeAreaInsetBottom: true,  //是否开启 iphonex 安全间距
    className: '',  //设置class
    zIndex: 99 
    isDynamic: true   //如果底部内容不会动态修改 可设置false




```
    import  TaroFooter  from 'taro-footer'
    <View style='height:1000px'>
    
    </View>

    <TaroFooter  className='footer'>
            <Button>提交</Button>
    </TaroFooter>

Package Sidebar

Install

npm i taro-footer

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

5.96 kB

Total Files

7

Last publish

Collaborators

  • shiyuan