diff --git a/.eslintignore b/.eslintignore index 9313def..4d7f6e3 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,29 +2,12 @@ snapshot* dist lib es +esm node_modules -common +src/_common static cypress script/test/cypress _site temp* static/ - -examples -site/* -!site/v3.js -src/addon -src/calendar -src/locale -src/upload -src/dropdown -src/transfer -src/time-picker -src/utils -src/textarea -typings -dist -es -lib -types \ No newline at end of file diff --git a/globals.d.ts b/globals.d.ts index e27917c..4533b3f 100644 --- a/globals.d.ts +++ b/globals.d.ts @@ -1,4 +1,3 @@ - // 通用声明 declare type ClassName = { [className: string]: any } | ClassName[] | string; @@ -13,5 +12,3 @@ declare module '*.svg' { const CONTENT: string; export default CONTENT; } - - diff --git a/index.html b/index.html index 24f381e..48b146e 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - TDesign Starter Vue Next + TDesign Vue Next Starter
diff --git a/src/App.vue b/src/App.vue index 59cb0aa..f7d008e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,4 @@ - - + diff --git a/src/components/card/index.vue b/src/components/card/index.vue index adc5bc3..3ffd5b9 100644 --- a/src/components/card/index.vue +++ b/src/components/card/index.vue @@ -90,7 +90,7 @@ export default defineComponent({ &-container { padding: 24px 32px; margin: 16px 0; - background: #fff; + background: @bg-color-container; border-radius: @border-radius; width: 100%; display: flex; @@ -135,7 +135,7 @@ export default defineComponent({ &-describe { font-size: 14px; - color: rgba(0, 0, 0, 0.6); + color: @bg-color-container; line-height: 22px; } diff --git a/src/components/result/index.vue b/src/components/result/index.vue index 1f5bf55..4aece28 100644 --- a/src/components/result/index.vue +++ b/src/components/result/index.vue @@ -1,32 +1,29 @@