-
Notifications
You must be signed in to change notification settings - Fork 296
feat: 新增jrkf样式配置 #2674
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
Merged
Merged
feat: 新增jrkf样式配置 #2674
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,175 @@ | ||
| { | ||
| "name": "nutui-icon", | ||
| "data": [ | ||
| { | ||
| "name": "粗体 Icon", | ||
| "nameEn": "Bold Icon", | ||
| "icons": [ | ||
| "order", | ||
| "refresh", | ||
| "add", | ||
| "JD", | ||
| "eye", | ||
| "dshop", | ||
| "my2", | ||
| "star", | ||
| "del2", | ||
| "more-x", | ||
| "comment", | ||
| "microphone", | ||
| "people", | ||
| "service", | ||
| "cart2", | ||
| "location2", | ||
| "marshalling", | ||
| "fabulous", | ||
| "s-follow", | ||
| "shop", | ||
| "jdl" | ||
| ] | ||
| }, | ||
| { | ||
| "name": "细体 Icon", | ||
| "nameEn": "Thin Icon", | ||
| "icons": [ | ||
| "ask", | ||
| "tips", | ||
| "notice", | ||
| "lower", | ||
| "top", | ||
| "download", | ||
| "dongdong", | ||
| "JIMI40", | ||
| "location", | ||
| "scan", | ||
| "addfollow", | ||
| "search", | ||
| "share", | ||
| "follow", | ||
| "del", | ||
| "edit", | ||
| "cart", | ||
| "home", | ||
| "find", | ||
| "category", | ||
| "my", | ||
| "footprint", | ||
| "link", | ||
| "scan2", | ||
| "left", | ||
| "close", | ||
| "locationg3", | ||
| "share", | ||
| "shop3", | ||
| "message", | ||
| "ask2", | ||
| "search2", | ||
| "clock", | ||
| "setting", | ||
| "refresh2", | ||
| "horizontal", | ||
| "date", | ||
| "photograph", | ||
| "more-s", | ||
| "play-stop", | ||
| "play-start", | ||
| "play-double-back", | ||
| "play-double-forward", | ||
| "voice", | ||
| "image", | ||
| "image-error" | ||
| ] | ||
| }, | ||
| { | ||
| "name": "应用图标", | ||
| "nameEn": "Application Icon", | ||
| "icons": [ | ||
| "arrow-up", | ||
| "arrow-down", | ||
| "arrow-up2", | ||
| "arrow-down2", | ||
| "down-arrow", | ||
| "joy-smile", | ||
| "close-little", | ||
| "horizontal-n", | ||
| "share-n", | ||
| "heart1", | ||
| "heart-fill", | ||
| "star-n", | ||
| "star-fill-n", | ||
| "triangle-down", | ||
| "triangle-up" | ||
| ] | ||
| }, | ||
| { | ||
| "name": "基础图标", | ||
| "nameEn": "Basic Icon", | ||
| "icons": [ | ||
| "rect-up", | ||
| "rect-down", | ||
| "rect-left", | ||
| "rect-right", | ||
| "uploader", | ||
| "mask-close", | ||
| "circle-close", | ||
| "right", | ||
| "arrow-right", | ||
| "github", | ||
| "screen-little", | ||
| "plus", | ||
| "minus", | ||
| "Check", | ||
| "issue", | ||
| "failure", | ||
| "success", | ||
| "retweet", | ||
| "poweroff-circle-fill", | ||
| "play-circle-fill", | ||
| "checked", | ||
| "checklist", | ||
| "check-disabled", | ||
| "check-normal", | ||
| "check-checked", | ||
| "loading", | ||
| "loading1" | ||
| ] | ||
| } | ||
|
|
||
| ], | ||
| "style":[ | ||
| { | ||
| "name": "通用动态样式", | ||
| "nameEn": "Universal Dynamic Style", | ||
| "icons": [{ | ||
| "name":"dou-arrow-up", | ||
| "animation-name":"am-jump", | ||
| "animation-time":"am-infinite" | ||
| },{ | ||
| "name":"star", | ||
| "animation-name":"am-blink", | ||
| "animation-time":"am-infinite" | ||
| },{ | ||
| "name":"refresh2", | ||
| "animation-name":"am-rotate", | ||
| "animation-time":"am-infinite" | ||
| },{ | ||
| "name":"heart-fill", | ||
| "animation-name":"am-breathe", | ||
| "animation-time":"am-infinite" | ||
| },{ | ||
| "name":"microphone", | ||
| "animation-name":"am-flash", | ||
| "animation-time":"am-infinite" | ||
| },{ | ||
| "name":"download", | ||
| "animation-name":"am-bounce", | ||
| "animation-time":"am-infinite" | ||
| },{ | ||
| "name":"message", | ||
| "animation-name":"am-shake", | ||
| "animation-time":"am-infinite" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
|
Comment on lines
+139
to
+174
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion 建议完善动画配置的文档和验证 当前动画配置结构良好,但建议:
建议添加动画说明文档,例如: {
"animations": {
"am-jump": "垂直弹跳动画",
"am-blink": "闪烁动画",
"am-rotate": "旋转动画",
"am-breathe": "呼吸效果",
"am-flash": "闪现效果",
"am-bounce": "弹跳效果",
"am-shake": "抖动效果"
}
} |
||
| } | ||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
图标分类中存在一些需要优化的地方
发现以下问题:
建议:
"icons": [ "ask", - "share", "follow", "del", // ... other icons ... - "share", "shop3", // ... other icons ... - "Check", + "check", // ... other icons ... ]