-
-
Notifications
You must be signed in to change notification settings - Fork 484
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
Tabs 组件新增标签栏 slot #784
Merged
Merged
Tabs 组件新增标签栏 slot #784
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ee4d1e4
to
189d776
Compare
新增 slot,用于自定义 Tabs 的标签栏,slot name 为 item.key.tab,在未填写 tab 属性时生效 示例: <l-tabs> <view slot="1.tab">标签一</view> <view slot="2.tab">标签一</view> <view slot="3.tab">标签一</view> <l-tabpanel key="1" slot="1"> <l-tabpanel key="2" slot="2"> <l-tabpanel key="3" slot="3"> </l-tabs> Closes 763
189d776
to
d04cf1b
Compare
juzi214032
added a commit
that referenced
this pull request
May 12, 2020
新增 slot,用于自定义 Tabs 的标签栏,slot name 为 item.key.tab,在未填写 tab 属性时生效 示例: <l-tabs> <view slot="1.tab">标签一</view> <view slot="2.tab">标签一</view> <view slot="3.tab">标签一</view> <l-tabpanel key="1" slot="1"> <l-tabpanel key="2" slot="2"> <l-tabpanel key="3" slot="3"> </l-tabs> Closes 763
juzi214032
added a commit
that referenced
this pull request
May 12, 2020
新增 slot,用于自定义 Tabs 的标签栏,slot name 为 item.key.tab,在未填写 tab 属性时生效 示例: <l-tabs> <view slot="1.tab">标签一</view> <view slot="2.tab">标签一</view> <view slot="3.tab">标签一</view> <l-tabpanel key="1" slot="1"> <l-tabpanel key="2" slot="2"> <l-tabpanel key="3" slot="3"> </l-tabs> Closes 763
7insummer
added a commit
that referenced
this pull request
May 12, 2020
* chore(editorconfig): 增加.editorconfig配置,使不同编辑器风格保持一致 * refactor(notice-bar): 将js文件中的==改为=== * refactor(combined-tabs): 将js文件中的==改为=== * refactor(image-picker): 将js文件中的==改为=== * chore(dist): 重新编译dist,修复dist和src不一致的问题 * feat(popup): 修改animation和contentAlign属性名;添加l-panel-class * chore(commitlint): 新增校验规则 (#780) 新增 commitlint 校验规则为: 1. scope 不允许为空 2. scope 使用 lower-case 和 pascal-case 风格 3. 配置 scope-enum,防止出现奇怪的 scope * feat(SearchBar): 添加 lintap 事件 API 为 SearchBar 组件的地址元素添加监听事件 lintap,方便后期结合 IndexBar 组件使用 * feat(SearchBar): 属性 address 更名为 front-text BREAKING CHANGE: 属性 address 废弃 * feat(Tabs): 新增标签栏 slot (#784) 新增 slot,用于自定义 Tabs 的标签栏,slot name 为 item.key.tab,在未填写 tab 属性时生效 示例: <l-tabs> <view slot="1.tab">标签一</view> <view slot="2.tab">标签一</view> <view slot="3.tab">标签一</view> <l-tabpanel key="1" slot="1"> <l-tabpanel key="2" slot="2"> <l-tabpanel key="3" slot="3"> </l-tabs> Closes 763 * fix(status_show): 修复status_show组件在非全屏下的显示问题 (#787) Co-authored-by: hongchen.zhang <hongchen.zhang@ninebot.com> * feat(Util): 新增 NodeUtil 工具类 (#788) 该工具类对微信 wxml 节点选择 api 进行封装,方便获取节点信息 * feat(progress): 新增 Progress 组件 (#789) * feat(Progress): 新增 Progress 组件 * refactor(Example): 增加示例小程序中的组件 Icon 1. 新增 LoadMore 组件 Icon 2. 新增 Skeleton 组件 Icon 3. 新增 Steps 组件 Icon 4. 新增 Sticky 组件 Icon Co-authored-by: 桔子 <juzi214032@qq.com> * feat(IndexList): 新增 IndexList 索引列表组件 (#790) * feat(ArcPopup):新增 ArcPopup 组件 (#791) * docs(README): 修正 README.md 文档中代码块的格式错误 (#792) * fix(Tag): 修复禁用状态下仍能触发 lintap 事件的问题 (#795) * fix(Collapse): 修复内容区域动态添加内容后不显示的问题 (#794) close #794 * refactor(sticky): 重构获取节点逻辑 (#800) * chore(package.json): 0.8.0 (#803) Co-authored-by: 桔子 <juzi214032@qq.com> Co-authored-by: daipengpeng <16602124116@163.com> Co-authored-by: zhc525349965 <43640797+zhc525349965@users.noreply.github.com> Co-authored-by: hongchen.zhang <hongchen.zhang@ninebot.com> Co-authored-by: 木荣 <38655613+MuRongXiaoDouBi@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
新增 slot,用于自定义 Tabs 的标签栏,slot name 为 item.key.tab,在未填写 tab
属性时生效
示例:
close #763