小程序自定义taber
1. 使用组件componetn进行配置跳转结合navigator标签使用切换使用properties中声明的属性进行切换
2. 调用时使用component_page加properties声明的变量
3. 需要注意的是在进行配置时要区分inx的版本需要增加 padding-bottom: 48rpx;否则真机下会有留白
4. 在app.js的onLaunch事件中使用 if (res.model.startsWith('iPhone X')) { ipx = 1; } wx.setStorageSync('ipx', ipx);可以判断是否为ipx将结果存入Storage中在需要的组件页面进行判断动态添加 padding-bottom: 48rpx;
自定义 taber component.html

自定义 taber component.js
