88 Commits

Author SHA1 Message Date
kobeCristiano
e37472805c [refactor]Toptips:升级为自定义组件 (#169)
* [improvement] Tab:升级到自定义组件

* fix: 去除冗余example代码

* [refactor] 重构badge为自定义组件 (#160)

* fix: 去除tab组件使用对象入参方式,修改example用例

* refactor: 重构noticebar组件

* fix: 去除tab组件冗余属性字段

* refactor: 重构toptips为自定义组件
2018-03-28 15:12:03 +08:00
张敏
a0dcec4dc5 [refactor] Field & Stepper 自定义组件改造 (#168)
* [refactor] Field & Stepper 自定义组件改造

* Field & Stepper remove componentId
2018-03-28 15:10:35 +08:00
zhaolong06
bde5732dc2 [refactor] 完成button、tag自定义组件改造 (#167)
* btn、tag改造

* 完成button、tag改造
2018-03-26 11:31:40 +08:00
Yao
d471681e8f
[refactor] Popup: 升级为自定义组件 (#166)
* 封装 doc-page, 方便写文档

* add pop manager

* popup upgrade

* 更新 README

* add empty line
2018-03-25 22:30:35 +08:00
kobeCristiano
86152d45ce [refactor] Noticebar:升级到自定义组件 (#165)
* [improvement] Tab:升级到自定义组件

* fix: 去除冗余example代码

* [refactor] 重构badge为自定义组件 (#160)

* fix: 去除tab组件使用对象入参方式,修改example用例

* refactor: 重构noticebar组件

* fix: 去除tab组件冗余属性字段
2018-03-25 18:30:53 +08:00
刘建东
a1b70a8437 feat: cell 自定义组件 (#162) 2018-03-25 18:26:57 +08:00
kobeCristiano
541517361b [refactor] Tab:升级到自定义组件 (#161)
* [improvement] Tab:升级到自定义组件

* fix: 去除冗余example代码

* [refactor] 重构badge为自定义组件 (#160)

* fix: 去除tab组件使用对象入参方式,修改example用例
2018-03-25 11:10:09 +08:00
wny
eba84e6f02 [refactor] 重构badge为自定义组件 (#160) 2018-03-24 21:24:51 +08:00
Yao
b01af0f886
[Imporvement] Icon: 升级为自定义组件 (#158)
* upgrade icon to custom component

* add empty line
2018-03-23 17:35:14 +08:00
Yao
86dd3eeea0
field 组件支持 disabled 属性 (#150) 2018-03-16 21:31:43 +08:00
Yao
206d44252f
增加 Field 组件 focus 属性 (#135) 2018-02-26 17:48:07 +08:00
Yao
d36f5d5118
[new feature] Toast: 支持图标展示 (#121)
* toast新增icon支持

* 补充readme

* 转义
2018-01-28 16:40:26 +08:00
Yao
c440e66abf
[improvement] Field: 示例中增加 picker-view 使用 (#115)
* 增加 field 中 picker-view 示例

* 格式对齐

* 示例函数放到最下方
2018-01-21 14:06:47 +08:00
Yao
ef1028837d
actionsheet add opentype (#106) 2018-01-09 15:09:36 +08:00
Yao
7fc4176003
[improvement] 新增 Select 组件支持 form 中 submit 使用 (#104)
* support select form submit

* 增加使用示例 && 增加提示
2018-01-09 11:44:19 +08:00
Yao
31e9bb83e8
[new feature] Actionsheet: 新增行动按钮组件 (#97)
* actionsheet init

* actionsheet process

* action sheet 功能补齐

* 增加 actionsheet readme

* 增加示例入口

* 增加标题配置
2018-01-01 16:41:30 +08:00
niunai
0923500d79 [improvement] 增加无边框的panel样式 2017-12-28 16:26:01 +08:00
wny
e8d37a6f78 [new feature] 增加支持合并page生命周期的extend函数 (#90)
* [new feature] 添加支持合并生命周期的extend函数

* 增加yarn.lock

* fix comment

* 保持example引用与文档一致
2017-12-25 11:17:20 +08:00
Yao
0f23a9b0ba
新增使用文档 (#88) 2017-12-23 14:45:05 +08:00
Yao
ce5559a57e
[improvement] 部分组件边框实现修改 (#87)
* 使用超细边框

* 部分组件切换为 hairline

* 文档 边框替换
2017-12-23 14:25:41 +08:00
Yao
7467a30020
[bug fix] Tab: 修复不滚动情况下,文字过长显示问题 (#81)
* format code

* 更改传参方式 && 增加无滚动时文字过长处理

* 增加 helper 文档

* update helper doc

* update helper doc
2017-12-16 20:57:25 +08:00
Yao
72337c2168
修复tag在无添加主题时plain展现 (#77) 2017-12-11 21:26:20 +08:00
Yao
678b944f2c
增加 tag readme (#76) 2017-12-11 20:19:46 +08:00
Yao
38f91f4893
[improvement] Field: 新增 Form 支持 (#75)
* feat: field 增加 form 支持 && field 增加 focus blur 支持

* 增加文档说明

* 优化 field 文档
2017-12-10 00:15:05 +08:00
Yao
939de35fe3
[breaking change] Stepper: Quantity 更名为 Stepper (#70)
* rename stepper

* update icon readme
2017-12-03 18:16:20 +08:00
Yao
fbbf539662
[breaking change] Dialog Popup 重构 (#69)
* 重新更改 popup

* 更丰富的popup 功能

* 文档补充

* rebuild dialog

* dialog 文档补充

* 增加 icon 文档
2017-12-03 17:40:42 +08:00
Yao
d6faf2b405
[breaking change] Label: 重命名为 Tag && 整理样式 (#55)
* 重新更改 标签 组件 && 修复 Layout 错误命名

* update readme
2017-12-03 17:40:25 +08:00
Yao
e1df128978
add new icon (#65) 2017-11-24 20:26:22 +08:00
Yao
1a14adad09
重新加回 cart 图标 (#64) 2017-11-22 10:39:17 +08:00
Yao
2399d0e519
[new feature] Icon: add new icon (#63) 2017-11-20 16:22:18 +08:00
Yao
9c05bd2d58
[new feature] Field: 增加 value 传入支持 (#60)
* field 支持 value 传入

* textarea 清除输入示例
2017-11-17 21:13:35 +08:00
Yao
97a6365c0f
[new feature] Docs: 增加组件使用文档 (#50)
* 增加 徽章 文档

* add readme && change capsule css

* reset capsule css
2017-11-08 22:33:37 +08:00
Yao
e4dfc9e48c
[new feature] Layout: 新增 layout 组件 (#43)
* change example dir

* Update README.md

更新预览教程

* 新增 layout 组件

* exclude example

* change .wxss -> .pcss

* 脚本目录更名为 scripts
2017-10-31 17:41:31 +08:00
Yao
e9748ff6fd [bug fix] Field: 修复多行展示样式 (#39)
* field 修复多行时的样式

* 样式调整

* field: 增加 placeholder 样式

* field: 字颜色声明
2017-10-27 21:14:03 +08:00
pangxie1991
4f6005e1b6 优化 example 展示 2017-10-27 11:16:59 +08:00
Yao
67c3077a68 [breaking change] Icon: icon 整理 & 新增 (#38)
* 增加 icon 打包命令

* icons 生成脚本调整

* fix wrong path

* update demo

* all icons

* 新 icon 列表

* remove icon comment

* 更新 icon
2017-10-26 16:03:22 +08:00
Yao
b05249d96a [breaking change] Field & Form: 新增 Field 组件 (#37)
* add input

* remove file

* 更名为 field 组件 && 增加圆角主题

* 调整 field title 宽度

* 增加 input 回调逻辑

* remove form
2017-10-26 16:03:02 +08:00
Yao
9ac8f130f4 [breaking change] Select: move check_label to select (#36)
* move check label to new component

* select 整理

* 整理文档 && 支持 componentId

* delete project config json

* 内部命名修改

* remove form/check_label
2017-10-25 11:51:14 +08:00
pangxie1991
fb2e85f3c8 整理文档 2017-10-15 21:08:14 +08:00
everywill
7ebfa6054d capsule支持不同类型及自定义颜色 (#34)
* style: badge上标大小改变更加灵活

* style: panel-title的行高跟随字号

* style: 绝对定位的元素width或height为auto,left,right,top,bottom不为auto时,auto的margin将计算为0,同初始值

* style: 修复作为组件使用时dialog的定位问题

* style: 修正示例

* style: add

* style: capsule

* style: modify readme

* style: add noticebar

* style: modify readme

* style: noticebar优化

* style: add popup

* style: remove

* style: 左右反了...

* style: 通告栏支持同一页面多个

* style: 独立管理不同noticebar的动画数据

* style: add

* style: 删除多余文件

* style: capsule自定义颜色
2017-10-06 12:27:25 +08:00
everywill
d1b3cd3472 增加Capsule, Noticebar, Popup;修正Dialog在非最外层情况下引入的样式问题;更新readme。 (#32)
* style: badge上标大小改变更加灵活

* style: panel-title的行高跟随字号

* style: 绝对定位的元素width或height为auto,left,right,top,bottom不为auto时,auto的margin将计算为0,同初始值

* style: 修复作为组件使用时dialog的定位问题

* style: 修正示例

* style: add

* style: capsule

* style: modify readme

* style: add noticebar

* style: modify readme

* style: noticebar优化

* style: add popup

* style: remove

* style: 左右反了...

* style: 通告栏支持同一页面多个

* style: 独立管理不同noticebar的动画数据
2017-10-01 23:39:53 +08:00
MuYu
eba815b60f 增加单选 和一个验证码的样式 (#30)
* 增加单选 和一个验证码的样式

* 移除一个不存在的页面链接

* 移除业务中的样式

* 统一风格
2017-09-27 12:33:49 +08:00
Yao
e03d3dba4e 文档更新 (#29) 2017-09-14 20:39:59 +08:00
pangxie1991
57b80b5890 Merge remote-tracking branch 'gitlab/master' into hotfix/fix_tab_scroll_view_height 2017-04-07 16:52:18 +08:00
pangxie1991
a7c07f24be tab fix scroll-view height 2017-04-07 16:49:16 +08:00
Nino
01fe69253b 新增switch组件 (#14)
小程序原生的switch组件不支持loading及disabled状态,所以组件库中新增自己实现的switch组件。
2017-02-24 16:33:34 +08:00
Nino
71b9d0cec7 新增switch组件 2017-02-24 16:26:10 +08:00
Nino
253cc87632 小程序已经支持 :first-child 和 :last-child 这两个伪类 (#13)
* add package json

* 小程序已经支持 first-child 和 last-child 两个伪类
2017-02-17 10:39:55 +08:00
Nino
846aeabf1f 小程序已经支持 first-child 和 last-child 两个伪类 2017-02-14 17:16:54 +08:00
delai
2cec0ed338 style: 调整示例顺序,满足强迫症重度患者 2017-02-07 21:36:43 +08:00