This repository was archived by the owner on Dec 27, 2024. It is now read-only.
修复npm install失败的问题,为index-list组件添加样式 - #8
Open
jingkaimori wants to merge 5 commits into
Open
jingkaimori wants to merge 5 commits into
jingkaimori wants to merge 5 commits into
Conversation
移除不存在的包@tencent/tslint-config-wxapp
为index-list添加选择和不可用样式,同时更新文档
为index-list添加选择功能
更新进展。index示例中将城市数据硬编码进组件示例 modified: tools/demo/example/index-list/index-list.js
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
npm install
由于包
@tencent/tslint-config-wxapp已经被移除,这个issue中运行npm install失败。这个包的内容是配置typescript linter。此次更新移除了对前述非必要的配置包的依赖。index-list
有时我们需要对联系人列表进行多选,而前一版本的
index-list无法改变列表项的样式。此提交为列表项添加了“已选择”和“不可用”两种样式,为列表添加了selecting属性。如果将
selecting属性改为false会触发select事件,给出已经选择的条目。将subItem的selected属性设为true会导致列表预先选择某些项,将subItem的disabled属性设为true会导致列表预先选择某些项