From f2e4ebe47214632e85b1e85c4997d3de3fb6f22b Mon Sep 17 00:00:00 2001 From: jry Date: Fri, 9 Aug 2024 00:13:42 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E5=A2=9E=E5=8A=A0card=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 5 + src/pages/componentsB/card/card.vue | 115 +++++++++++ src/pages/componentsB/dropdown/dropdown.nvue | 2 +- src/pages/example/components.config.js | 10 + src/static/uview/demo/box.png | Bin 0 -> 813 bytes src/static/uview/demo/card.png | Bin 0 -> 905 bytes .../uview-plus/components/u-card/props.js | 128 ++++++++++++ .../uview-plus/components/u-card/u-card.vue | 185 ++++++++++++++++++ 8 files changed, 444 insertions(+), 1 deletion(-) create mode 100644 src/pages/componentsB/card/card.vue create mode 100644 src/static/uview/demo/box.png create mode 100644 src/static/uview/demo/card.png create mode 100644 src/uni_modules/uview-plus/components/u-card/props.js create mode 100644 src/uni_modules/uview-plus/components/u-card/u-card.vue diff --git a/src/pages.json b/src/pages.json index 134b8453e..086b4d6c3 100644 --- a/src/pages.json +++ b/src/pages.json @@ -303,6 +303,11 @@ "style": { "navigationBarTitleText": "瀑布流" } + }, { + "path": "card/card", + "style": { + "navigationBarTitleText": "卡片" + } }] }, { "root": "pages/componentsC", diff --git a/src/pages/componentsB/card/card.vue b/src/pages/componentsB/card/card.vue new file mode 100644 index 000000000..7e70ec285 --- /dev/null +++ b/src/pages/componentsB/card/card.vue @@ -0,0 +1,115 @@ + + + + + \ No newline at end of file diff --git a/src/pages/componentsB/dropdown/dropdown.nvue b/src/pages/componentsB/dropdown/dropdown.nvue index eb4e401b2..ae3710892 100644 --- a/src/pages/componentsB/dropdown/dropdown.nvue +++ b/src/pages/componentsB/dropdown/dropdown.nvue @@ -143,7 +143,7 @@