taro demos & taro 组件库 ui demo https://github.com/qit-team/taro-yanxuan https://github.com/fengchunsgit/taro-meituan tarojs/components ...
创建子组件import Taro, Component, Config from tarojs taro :引入ComponentShopList :子组件名称export default ShopList:导出ShopList组件ShopList.defaultProps:默认值集合render :必须实现的方法 需要return 组件的html import Taro, Component, ...
2019-06-15 22:29 0 1524 推荐指数:
taro demos & taro 组件库 ui demo https://github.com/qit-team/taro-yanxuan https://github.com/fengchunsgit/taro-meituan tarojs/components ...
floatLayout.js floatLayout.scss ...
父组件 testEvent = () =>{ console.log('abc123') } <Test test={1231323} onTestEvent={this.testEvent}></Test> 子组件 ...
应用场景: 当图片文字太小,需要触摸手动放大显示。 组件js 组件的使用 ...
Taro上传图片公用组件 子组件chooseImage 父组件home 如图: ...
效果图 子组件chooseImage 父组件home 这图片未压缩过,后面会进行优化,处理图片压缩 未完待续。。。。 ...
地址栏选择器 使用方式 ...
父page let personInfo = { mobile: this.state.mobile, email: this.state.email } 传入自组件参数 ...