From bca9f0efc99f4701405cfc5dc33c6c3edef31722 Mon Sep 17 00:00:00 2001 From: helang Date: Fri, 4 Oct 2024 00:12:25 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20=E7=80=91=E5=B8=83=E6=B5=81=20-=20?= =?UTF-8?q?=E6=94=B9=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/waterfall/js/utils.js | 7 + .../components/waterfall/waterfall-col.vue | 60 +++++ .../components/waterfall/waterfall-item.vue | 68 +---- ...rfall-list - \345\211\257\346\234\254.vue" | 238 +++++++++++++++++ .../components/waterfall/waterfall-list.vue | 80 ++---- .../waterfall - \345\211\257\346\234\254.vue" | 247 ++++++++++++++++++ .../pages/waterfall/waterfall.vue | 67 ++--- 7 files changed, 620 insertions(+), 147 deletions(-) create mode 100644 uniapp-extend/uni_modules/helang-waterfall/components/waterfall/js/utils.js create mode 100644 uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-col.vue create mode 100644 "uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-list - \345\211\257\346\234\254.vue" create mode 100644 "uniapp-extend/uni_modules/helang-waterfall/pages/waterfall/waterfall - \345\211\257\346\234\254.vue" diff --git a/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/js/utils.js b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/js/utils.js new file mode 100644 index 0000000..e310703 --- /dev/null +++ b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/js/utils.js @@ -0,0 +1,7 @@ +export const wait = (time = 100)=>{ + return new Promise((resolve)=>{ + setTimeout(()=>{ + resolve(); + },time); + }) +} \ No newline at end of file diff --git a/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-col.vue b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-col.vue new file mode 100644 index 0000000..6e28ae6 --- /dev/null +++ b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-col.vue @@ -0,0 +1,60 @@ + + + + + \ No newline at end of file diff --git a/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-item.vue b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-item.vue index 258a15d..eb7183c 100644 --- a/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-item.vue +++ b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-item.vue @@ -1,20 +1,11 @@ diff --git "a/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-list - \345\211\257\346\234\254.vue" "b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-list - \345\211\257\346\234\254.vue" new file mode 100644 index 0000000..688c961 --- /dev/null +++ "b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-list - \345\211\257\346\234\254.vue" @@ -0,0 +1,238 @@ + + + + + \ No newline at end of file diff --git a/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-list.vue b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-list.vue index 688c961..7f903d8 100644 --- a/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-list.vue +++ b/uniapp-extend/uni_modules/helang-waterfall/components/waterfall/waterfall-list.vue @@ -1,52 +1,28 @@ + \ No newline at end of file diff --git "a/uniapp-extend/uni_modules/helang-waterfall/pages/waterfall/waterfall - \345\211\257\346\234\254.vue" "b/uniapp-extend/uni_modules/helang-waterfall/pages/waterfall/waterfall - \345\211\257\346\234\254.vue" new file mode 100644 index 0000000..6d3acdc --- /dev/null +++ "b/uniapp-extend/uni_modules/helang-waterfall/pages/waterfall/waterfall - \345\211\257\346\234\254.vue" @@ -0,0 +1,247 @@ + + + + + \ No newline at end of file diff --git a/uniapp-extend/uni_modules/helang-waterfall/pages/waterfall/waterfall.vue b/uniapp-extend/uni_modules/helang-waterfall/pages/waterfall/waterfall.vue index 6d3acdc..034c8ca 100644 --- a/uniapp-extend/uni_modules/helang-waterfall/pages/waterfall/waterfall.vue +++ b/uniapp-extend/uni_modules/helang-waterfall/pages/waterfall/waterfall.vue @@ -1,52 +1,36 @@