Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mounted 组件计划 #1

Open
4 of 7 tasks
fjc0k opened this issue Mar 24, 2019 · 1 comment
Open
4 of 7 tasks

Mounted 组件计划 #1

fjc0k opened this issue Mar 24, 2019 · 1 comment
Assignees

Comments

@fjc0k
Copy link
Owner

fjc0k commented Mar 24, 2019

前言

秉持「只产出与业务低耦合的基础组件」的理念,不会考虑列表、卡片等与具体业务 UI 设计高度关联的组件。

计划

  • Button: 基于小程序原生的 Button,但去除其自带的样式,并且对相关 API 进行封装,返回一个纯粹的、更易根据具体业务 UI 进行扩展的基础按钮组件。 使用 .m-pure-button 类名去除小程序按钮自带的样式。 小程序有 bug,暂不考虑。暂添加 pureButton mixin 代替。

  • DatePicker: Picker 风格的日期选择器。

  • TimePicker: Picker 风格的时间选择器。

  • DateTimePicker: Picker 风格的日期时间选择器,本质是一个分段选择器。

  • Calendar: 日历组件。

  • Table: 表格组件。

  • FormIdCollector: 微信小程序 form id 收集组件。因 Taro 自 1.9.1 版本后的某个版本开始不再支持递归组件,实现上可能会需要两个组件互相调用。

@fjc0k fjc0k self-assigned this Mar 24, 2019
@honlyHuang
Copy link

加油⛽️,我把它添加到taro物料平台中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants