feat:重构按钮和icon组件

This commit is contained in:
R524809
2026-04-07 17:23:05 +08:00
parent 672d457a35
commit 653737c481
95 changed files with 3261 additions and 1342 deletions
@@ -2,7 +2,7 @@
"component": true,
"styleIsolation": "apply-shared",
"usingComponents": {
"van-icon": "@vant/weapp/icon/index",
"toy-button": "/ui/button/button"
"toy-icon": "/toy/icon/icon",
"toy-button": "/toy/button-v2/button"
}
}
@@ -3,7 +3,7 @@
<view
class="word-input-container"
style="{{width ? 'width:' + width + ';' : ''}}">
<van-icon
<toy-icon
class-prefix="toy-icon"
name="translate"
custom-class="word-input-icon"