diff --git a/packages/nutui-taro-demo/src/feedback/pages/backtop/index.vue b/packages/nutui-taro-demo/src/feedback/pages/backtop/index.vue index 831a9c5056..2e3eaa1a00 100644 --- a/packages/nutui-taro-demo/src/feedback/pages/backtop/index.vue +++ b/packages/nutui-taro-demo/src/feedback/pages/backtop/index.vue @@ -32,24 +32,12 @@ - diff --git a/packages/nutui-taro-demo/src/feedback/pages/dialog/index.vue b/packages/nutui-taro-demo/src/feedback/pages/dialog/index.vue index 41f1d4ed44..e269f642d6 100644 --- a/packages/nutui-taro-demo/src/feedback/pages/dialog/index.vue +++ b/packages/nutui-taro-demo/src/feedback/pages/dialog/index.vue @@ -30,85 +30,60 @@ - diff --git a/packages/nutui-taro-demo/src/feedback/pages/drag/index.vue b/packages/nutui-taro-demo/src/feedback/pages/drag/index.vue index 4ab79e4729..9ae809a7ec 100644 --- a/packages/nutui-taro-demo/src/feedback/pages/drag/index.vue +++ b/packages/nutui-taro-demo/src/feedback/pages/drag/index.vue @@ -16,22 +16,10 @@ - diff --git a/src/packages/__VUE/actionsheet/demo.vue b/src/packages/__VUE/actionsheet/demo.vue index d6b803e2c3..798c5447b2 100644 --- a/src/packages/__VUE/actionsheet/demo.vue +++ b/src/packages/__VUE/actionsheet/demo.vue @@ -56,6 +56,8 @@ ``` diff --git a/src/packages/__VUE/dialog/demo.vue b/src/packages/__VUE/dialog/demo.vue index 4c36dc2eaf..626bd8efbb 100644 --- a/src/packages/__VUE/dialog/demo.vue +++ b/src/packages/__VUE/dialog/demo.vue @@ -35,11 +35,14 @@ - - diff --git a/src/packages/__VUE/dialog/doc.en-US.md b/src/packages/__VUE/dialog/doc.en-US.md index f455388547..6a04cdb507 100644 --- a/src/packages/__VUE/dialog/doc.en-US.md +++ b/src/packages/__VUE/dialog/doc.en-US.md @@ -8,7 +8,7 @@ The popup box component supports function call and component call. ### Install -```javascript +```js import { createApp, createVNode } from 'vue'; import { Dialog } from '@nutui/nutui'; @@ -20,7 +20,7 @@ app.use(Dialog); :::demo -```html +```vue - ``` @@ -130,7 +117,7 @@ app.use(Dialog); :::demo -```html +```vue - ``` @@ -176,7 +158,7 @@ app.use(Dialog); :::demo -```html +```vue - ``` diff --git a/src/packages/__VUE/dialog/doc.md b/src/packages/__VUE/dialog/doc.md index 1c2c661e15..9dd50436f3 100644 --- a/src/packages/__VUE/dialog/doc.md +++ b/src/packages/__VUE/dialog/doc.md @@ -8,7 +8,7 @@ ### 安装 -```javascript +```js import { createApp, createVNode } from 'vue'; import { Dialog } from '@nutui/nutui'; @@ -20,7 +20,7 @@ app.use(Dialog); :::demo -```html +```vue - ``` @@ -130,7 +117,7 @@ app.use(Dialog); :::demo -```html +```vue - ``` @@ -176,7 +158,7 @@ app.use(Dialog); :::demo -```html +```vue - ``` diff --git a/src/packages/__VUE/dialog/doc.taro.md b/src/packages/__VUE/dialog/doc.taro.md index 1488d61bdc..cfe80db064 100644 --- a/src/packages/__VUE/dialog/doc.taro.md +++ b/src/packages/__VUE/dialog/doc.taro.md @@ -6,7 +6,7 @@ ### 安装 -```javascript +```js import { createApp } from 'vue'; import { Dialog } from '@nutui/nutui-taro'; @@ -16,112 +16,97 @@ app.use(Dialog); ### 使用方式 -```html - - - - - - - - - - - - - - -``` - -```javascript +::: + +```vue + + + ``` +::: + ## API ### Props diff --git a/src/packages/__VUE/drag/demo.vue b/src/packages/__VUE/drag/demo.vue index d404cf36d3..4d4b527263 100644 --- a/src/packages/__VUE/drag/demo.vue +++ b/src/packages/__VUE/drag/demo.vue @@ -26,8 +26,9 @@ - ``` diff --git a/src/packages/__VUE/drag/doc.md b/src/packages/__VUE/drag/doc.md index 482712aabd..006bc4c9fb 100644 --- a/src/packages/__VUE/drag/doc.md +++ b/src/packages/__VUE/drag/doc.md @@ -6,7 +6,7 @@ ### 安装 -```javascript +```js import { createApp } from 'vue'; import { Drag } from '@nutui/nutui'; @@ -18,7 +18,7 @@ app.use(Drag); :::demo -```html +```vue