From 1a5fd403d15aa7d0a4c1b581f8a6b3bc1b5c09cf Mon Sep 17 00:00:00 2001 From: Eiinu Date: Fri, 15 Dec 2023 00:51:26 +0800 Subject: [PATCH] chore(navbar): split demo (#2738) --- .../src/nav/pages/navbar/basic.vue | 8 + .../src/nav/pages/navbar/index.vue | 118 +++------ .../src/nav/pages/navbar/left.vue | 13 + .../src/nav/pages/navbar/right.vue | 14 ++ .../src/nav/pages/navbar/title.vue | 13 + src/packages/__VUE/navbar/demo.vue | 130 ---------- src/packages/__VUE/navbar/demo/basic.vue | 8 + src/packages/__VUE/navbar/demo/index.vue | 42 ++++ src/packages/__VUE/navbar/demo/left.vue | 13 + src/packages/__VUE/navbar/demo/right.vue | 14 ++ src/packages/__VUE/navbar/demo/title.vue | 13 + src/packages/__VUE/navbar/doc.en-US.md | 228 ++++-------------- src/packages/__VUE/navbar/doc.md | 228 ++++-------------- src/packages/__VUE/navbar/doc.taro.md | 228 ++++-------------- 14 files changed, 326 insertions(+), 744 deletions(-) create mode 100644 packages/nutui-taro-demo/src/nav/pages/navbar/basic.vue create mode 100644 packages/nutui-taro-demo/src/nav/pages/navbar/left.vue create mode 100644 packages/nutui-taro-demo/src/nav/pages/navbar/right.vue create mode 100644 packages/nutui-taro-demo/src/nav/pages/navbar/title.vue delete mode 100644 src/packages/__VUE/navbar/demo.vue create mode 100644 src/packages/__VUE/navbar/demo/basic.vue create mode 100644 src/packages/__VUE/navbar/demo/index.vue create mode 100644 src/packages/__VUE/navbar/demo/left.vue create mode 100644 src/packages/__VUE/navbar/demo/right.vue create mode 100644 src/packages/__VUE/navbar/demo/title.vue diff --git a/packages/nutui-taro-demo/src/nav/pages/navbar/basic.vue b/packages/nutui-taro-demo/src/nav/pages/navbar/basic.vue new file mode 100644 index 0000000000..b19d8defd6 --- /dev/null +++ b/packages/nutui-taro-demo/src/nav/pages/navbar/basic.vue @@ -0,0 +1,8 @@ + + diff --git a/packages/nutui-taro-demo/src/nav/pages/navbar/index.vue b/packages/nutui-taro-demo/src/nav/pages/navbar/index.vue index a4f25b4d83..9af454aa96 100644 --- a/packages/nutui-taro-demo/src/nav/pages/navbar/index.vue +++ b/packages/nutui-taro-demo/src/nav/pages/navbar/index.vue @@ -1,102 +1,42 @@