diff --git a/packages/nutui-eslint-config/index.js b/packages/nutui-eslint-config/index.js
index 0a4368b9ce..96b7cba89a 100644
--- a/packages/nutui-eslint-config/index.js
+++ b/packages/nutui-eslint-config/index.js
@@ -41,7 +41,6 @@ module.exports = {
'vue/multi-word-component-names': 'off',
'vue/no-v-text-v-html-on-component': 'off',
// will be removed someday
- 'vue/attributes-order': 'off',
- 'vue/attribute-hyphenation': 'off'
+ 'vue/attributes-order': 'off'
}
};
diff --git a/src/packages/__VUE/actionsheet/index.taro.vue b/src/packages/__VUE/actionsheet/index.taro.vue
index cea5894e86..489b29c45c 100644
--- a/src/packages/__VUE/actionsheet/index.taro.vue
+++ b/src/packages/__VUE/actionsheet/index.taro.vue
@@ -1,5 +1,5 @@
-
+
{{ title }}
diff --git a/src/packages/__VUE/actionsheet/index.vue b/src/packages/__VUE/actionsheet/index.vue
index 6e70e262b1..c6b6bffacc 100644
--- a/src/packages/__VUE/actionsheet/index.vue
+++ b/src/packages/__VUE/actionsheet/index.vue
@@ -1,5 +1,5 @@
-
+
{{ title }}
diff --git a/src/packages/__VUE/address/index.vue b/src/packages/__VUE/address/index.vue
index 9b0b51bccc..bbe3d33f60 100644
--- a/src/packages/__VUE/address/index.vue
+++ b/src/packages/__VUE/address/index.vue
@@ -7,7 +7,7 @@
@click-overlay="clickOverlay"
@open="closeWay = 'self'"
v-model:visible="showPopup"
- :teleportDisable="teleportDisable"
+ :teleport-disable="teleportDisable"
:teleport="teleport"
>
diff --git a/src/packages/__VUE/addresslist/demo.vue b/src/packages/__VUE/addresslist/demo.vue
index 3034cf4a17..f1b877591a 100644
--- a/src/packages/__VUE/addresslist/demo.vue
+++ b/src/packages/__VUE/addresslist/demo.vue
@@ -13,7 +13,7 @@
{{ translate('title1') }}
{{ translate('title2') }}
-
+
{{ translate('title7') }}
-
+
{{ translate('title9') }}{{ translate('add') }}
-
+
{{ translate('customProduct') }}
@@ -16,10 +16,10 @@
:img-url="state.imgUrl"
:title="state.title"
:price="state.price"
- :vipPrice="state.vipPrice"
- :shopDesc="state.shopDesc"
+ :vip-price="state.vipPrice"
+ :shop-desc="state.shopDesc"
:delivery="state.delivery"
- :shopName="state.shopName"
+ :shop-name="state.shopName"
>
@@ -34,10 +34,10 @@
:img-url="state.imgUrl"
:title="state.title"
:price="state.price"
- :vipPrice="state.vipPrice"
- :shopDesc="state.shopDesc"
+ :vip-price="state.vipPrice"
+ :shop-desc="state.shopDesc"
:delivery="state.delivery"
- :shopName="state.shopName"
+ :shop-name="state.shopName"
>
{{ translate('customShop') }}
@@ -58,10 +58,10 @@
:img-url="state.imgUrl"
:title="state.title"
:price="state.price"
- :vipPrice="state.vipPrice"
- :shopDesc="state.shopDesc"
+ :vip-price="state.vipPrice"
+ :shop-desc="state.shopDesc"
:delivery="state.delivery"
- :shopName="state.shopName"
+ :shop-name="state.shopName"
>
{{ translate('customContent') }}
diff --git a/src/packages/__VUE/cascader/cascader-item.taro.vue b/src/packages/__VUE/cascader/cascader-item.taro.vue
index 62acd4bc12..83c9ddd7a4 100644
--- a/src/packages/__VUE/cascader/cascader-item.taro.vue
+++ b/src/packages/__VUE/cascader/cascader-item.taro.vue
@@ -3,7 +3,7 @@
-
+
@@ -50,7 +50,7 @@
@change="events.change"
@path-change="events.pathChange"
lazy
- :lazyLoad="demo3.lazyLoad"
+ :lazy-load="demo3.lazyLoad"
>
{{ translate('title3') }}
@@ -68,7 +68,7 @@
@path-change="events.pathChange"
:options="demo4.options"
lazy
- :lazyLoad="demo4.lazyLoad"
+ :lazy-load="demo4.lazyLoad"
>
{{ translate('title4') }}
@@ -85,7 +85,7 @@
@change="events.change"
@path-change="events.pathChange"
:options="demo5.options"
- :convertConfig="demo5.convertConfig"
+ :convert-config="demo5.convertConfig"
>
diff --git a/src/packages/__VUE/cascader/index.taro.vue b/src/packages/__VUE/cascader/index.taro.vue
index e92079038b..edb14b80a1 100644
--- a/src/packages/__VUE/cascader/index.taro.vue
+++ b/src/packages/__VUE/cascader/index.taro.vue
@@ -18,7 +18,7 @@
{{ translate('title1') }}
-
+
{{ translate('title2') }}
-
{{ translate('title3') }}
diff --git a/src/packages/__VUE/cell/demo.vue b/src/packages/__VUE/cell/demo.vue
index 544cd05d14..14c7183b5f 100644
--- a/src/packages/__VUE/cell/demo.vue
+++ b/src/packages/__VUE/cell/demo.vue
@@ -55,7 +55,7 @@
{{ translate('displayIcon') }}
-
+
diff --git a/src/packages/__VUE/circleprogress/demo.vue b/src/packages/__VUE/circleprogress/demo.vue
index b6b5a10f32..548d4b4172 100644
--- a/src/packages/__VUE/circleprogress/demo.vue
+++ b/src/packages/__VUE/circleprogress/demo.vue
@@ -6,7 +6,7 @@
{{ translate('customWidth') }}
-
+
{{ translate('Gradient') }}
diff --git a/src/packages/__VUE/comment/demo.vue b/src/packages/__VUE/comment/demo.vue
index 2d45630e9d..8539b984b4 100644
--- a/src/packages/__VUE/comment/demo.vue
+++ b/src/packages/__VUE/comment/demo.vue
@@ -22,8 +22,8 @@
{{ translate('multiRow') }}
{{ translate('additionalReviewd') }}
{{ translate('basic') }}
-
+
{{ translate('format') }}
@@ -15,25 +15,25 @@
{{ translate('millisecond') }}
-
+
{{ translate('serverTime') }}
-
+
{{ translate('async') }}
-
+
{{ translate('controlTime') }}
-
+
{{ paused ? 'start' : 'stop' }}
@@ -43,7 +43,7 @@
-
+
{{ resetTime.d }}{{ translate('day') }}
{{ resetTime.h }}
@@ -58,7 +58,7 @@
{{ translate('handleControl') }}
-
+
diff --git a/src/packages/__VUE/datepicker/demo.vue b/src/packages/__VUE/datepicker/demo.vue
index b157a8a941..c2519a829e 100644
--- a/src/packages/__VUE/datepicker/demo.vue
+++ b/src/packages/__VUE/datepicker/demo.vue
@@ -8,7 +8,7 @@
:max-date="maxDate"
@confirm="confirm"
:is-show-chinese="true"
- :threeDimensional="false"
+ :three-dimensional="false"
>
{{ translate('popupDesc') }}
@@ -20,7 +20,7 @@
:max-date="maxDate"
@confirm="popupConfirm"
:is-show-chinese="true"
- :threeDimensional="false"
+ :three-dimensional="false"
>
{{ translate('forever') }}
diff --git a/src/packages/__VUE/datepicker/index.taro.vue b/src/packages/__VUE/datepicker/index.taro.vue
index 26ea2a9198..26c20b8566 100644
--- a/src/packages/__VUE/datepicker/index.taro.vue
+++ b/src/packages/__VUE/datepicker/index.taro.vue
@@ -1,18 +1,18 @@
diff --git a/src/packages/__VUE/datepicker/index.vue b/src/packages/__VUE/datepicker/index.vue
index b698bc62b1..5f282873db 100644
--- a/src/packages/__VUE/datepicker/index.vue
+++ b/src/packages/__VUE/datepicker/index.vue
@@ -1,18 +1,18 @@
diff --git a/src/packages/__VUE/elevator/demo.vue b/src/packages/__VUE/elevator/demo.vue
index 3470fcbe1f..79116d2dae 100644
--- a/src/packages/__VUE/elevator/demo.vue
+++ b/src/packages/__VUE/elevator/demo.vue
@@ -9,7 +9,7 @@
diff --git a/src/packages/__VUE/ellipsis/demo.vue b/src/packages/__VUE/ellipsis/demo.vue
index da7a17e1db..1b3ba98ee6 100644
--- a/src/packages/__VUE/ellipsis/demo.vue
+++ b/src/packages/__VUE/ellipsis/demo.vue
@@ -22,13 +22,13 @@
{{ translate('expand') }}
-
+
-
+
-
+
diff --git a/src/packages/__VUE/imagepreview/demo.vue b/src/packages/__VUE/imagepreview/demo.vue
index 1e2e26c863..65a0a3b00f 100644
--- a/src/packages/__VUE/imagepreview/demo.vue
+++ b/src/packages/__VUE/imagepreview/demo.vue
@@ -2,11 +2,11 @@
{{ translate('basic') }}
-
+
{{ translate('withInitNo') }}
-
+
{{ translate('withPagination') }}
-
+
{{ translate('withVideos') }}
-
+
{{ translate('functionalCall') }}
-
+
diff --git a/src/packages/__VUE/imagepreview/index.taro.vue b/src/packages/__VUE/imagepreview/index.taro.vue
index beeaa8ebae..ca0a644503 100644
--- a/src/packages/__VUE/imagepreview/index.taro.vue
+++ b/src/packages/__VUE/imagepreview/index.taro.vue
@@ -6,7 +6,7 @@
:auto-play="autoplay"
class="nut-image-preview-swiper"
:loop="isLoop"
- :is-preventDefault="false"
+ :is-prevent-default="false"
direction="horizontal"
@change="setActive"
:init-page="initNo"
diff --git a/src/packages/__VUE/imagepreview/index.vue b/src/packages/__VUE/imagepreview/index.vue
index e38ddf6a27..e7e51c972a 100644
--- a/src/packages/__VUE/imagepreview/index.vue
+++ b/src/packages/__VUE/imagepreview/index.vue
@@ -2,7 +2,7 @@
diff --git a/src/packages/__VUE/input/demo.vue b/src/packages/__VUE/input/demo.vue
index 2a5616eb2b..e1783d23d6 100644
--- a/src/packages/__VUE/input/demo.vue
+++ b/src/packages/__VUE/input/demo.vue
@@ -12,15 +12,15 @@
{{ translate('title3') }}
-
+
diff --git a/src/packages/__VUE/input/index.taro.vue b/src/packages/__VUE/input/index.taro.vue
index 344c75bdb3..bc413121d1 100644
--- a/src/packages/__VUE/input/index.taro.vue
+++ b/src/packages/__VUE/input/index.taro.vue
@@ -17,7 +17,7 @@
:disabled="disabled"
:readonly="readonly"
:value="modelValue"
- :formatTrigger="formatTrigger"
+ :format-trigger="formatTrigger"
:autofocus="autofocus ? true : undefined"
:enterkeyhint="confirmType"
@input="onInput"
diff --git a/src/packages/__VUE/input/index.vue b/src/packages/__VUE/input/index.vue
index 1b37485590..a1d9a6b21a 100644
--- a/src/packages/__VUE/input/index.vue
+++ b/src/packages/__VUE/input/index.vue
@@ -16,7 +16,7 @@
:disabled="disabled"
:readonly="readonly"
:value="modelValue"
- :formatTrigger="formatTrigger"
+ :format-trigger="formatTrigger"
:autofocus="autofocus"
:enterkeyhint="confirmType"
@input="onInput"
diff --git a/src/packages/__VUE/invoice/demo.vue b/src/packages/__VUE/invoice/demo.vue
index 4dcce89a80..884a9dc448 100644
--- a/src/packages/__VUE/invoice/demo.vue
+++ b/src/packages/__VUE/invoice/demo.vue
@@ -1,7 +1,7 @@
{{ translate('basic') }}
-
+
diff --git a/src/packages/__VUE/list/demo.vue b/src/packages/__VUE/list/demo.vue
index cc046a43da..db3393a706 100644
--- a/src/packages/__VUE/list/demo.vue
+++ b/src/packages/__VUE/list/demo.vue
@@ -2,7 +2,7 @@
{{ translate('basic') }}
-
+
{{ index }}
diff --git a/src/packages/__VUE/menuitem/index.taro.vue b/src/packages/__VUE/menuitem/index.taro.vue
index c58f48a64d..74b0d2fbb0 100644
--- a/src/packages/__VUE/menuitem/index.taro.vue
+++ b/src/packages/__VUE/menuitem/index.taro.vue
@@ -10,14 +10,14 @@
diff --git a/src/packages/__VUE/menuitem/index.vue b/src/packages/__VUE/menuitem/index.vue
index c306440479..1e537e986b 100644
--- a/src/packages/__VUE/menuitem/index.vue
+++ b/src/packages/__VUE/menuitem/index.vue
@@ -9,7 +9,7 @@