From de129354166174e50eda291bcaaa9d76b2b11bad Mon Sep 17 00:00:00 2001
From: wangxiang <1827945911@qq.com>
Date: Sun, 8 May 2022 03:20:49 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=91=A3=20=E5=88=B6=E5=AE=9A=E5=BC=80?=
=?UTF-8?q?=E5=8F=91=E8=A7=84=E5=88=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
kicc-ui/.eslintrc.js | 20 ++++++++++++++++
.../Application/src/AppDarkModeToggle.vue | 4 ++--
.../Application/src/AppLocalePicker.vue | 4 ++--
.../components/Application/src/AppLogo.vue | 2 +-
.../src/search/AppSearchFooter.vue | 8 +++----
.../src/search/AppSearchKeyItem.vue | 2 +-
.../Application/src/search/AppSearchModal.vue | 24 +++++++++----------
.../src/components/Basic/src/BasicArrow.vue | 2 +-
.../src/components/Basic/src/BasicTitle.vue | 2 +-
.../src/components/Button/src/BasicButton.vue | 4 ++--
.../Container/src/LazyContainer.vue | 8 +++----
.../Container/src/ScrollContainer.vue | 2 +-
.../src/collapse/CollapseContainer.vue | 6 ++---
.../components/CountDown/src/CountButton.vue | 6 ++++-
.../CountDown/src/CountdownInput.vue | 16 +++++++++----
15 files changed, 71 insertions(+), 39 deletions(-)
diff --git a/kicc-ui/.eslintrc.js b/kicc-ui/.eslintrc.js
index ff0688b5..95d379a8 100644
--- a/kicc-ui/.eslintrc.js
+++ b/kicc-ui/.eslintrc.js
@@ -97,5 +97,25 @@ module.exports = defineConfig({
'endTag': 'never',
'selfClosingTag': 'never'
}],
+ 'vue/this-in-template': ['error', 'never'],
+ 'vue/component-tags-order': ['error', {
+ 'order': [ [ 'script', 'template' ], 'style' ]
+ }],
+ 'vue/attributes-order': ['error', {
+ 'order': [
+ 'DEFINITION',
+ 'LIST_RENDERING',
+ 'CONDITIONALS',
+ 'RENDER_MODIFIERS',
+ 'GLOBAL',
+ ['UNIQUE', 'SLOT'],
+ 'TWO_WAY_BINDING',
+ 'OTHER_DIRECTIVES',
+ 'OTHER_ATTR',
+ 'EVENTS',
+ 'CONTENT'
+ ],
+ 'alphabetical': false
+ }],
}
});
diff --git a/kicc-ui/src/components/Application/src/AppDarkModeToggle.vue b/kicc-ui/src/components/Application/src/AppDarkModeToggle.vue
index 0563be35..e1f49de8 100644
--- a/kicc-ui/src/components/Application/src/AppDarkModeToggle.vue
+++ b/kicc-ui/src/components/Application/src/AppDarkModeToggle.vue
@@ -1,8 +1,8 @@