From 364112ab3fb80698c826db58f4bdb8d73e2bb4e6 Mon Sep 17 00:00:00 2001 From: xiaoyucoding Date: Wed, 14 Nov 2018 17:03:39 +0800 Subject: [PATCH] =?UTF-8?q?modify:=20=E6=9D=A1=E4=BB=B6=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=B1=8F=E8=94=BD=20H5=20=E4=B8=8A=E4=B8=8D=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=9A=84=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hello-uniapp/pages/tabBar/API/API.vue | 132 +++++++++++------- .../pages/tabBar/component/component.vue | 13 +- 2 files changed, 88 insertions(+), 57 deletions(-) diff --git a/examples/hello-uniapp/pages/tabBar/API/API.vue b/examples/hello-uniapp/pages/tabBar/API/API.vue index 74d20c47..1cb854c1 100644 --- a/examples/hello-uniapp/pages/tabBar/API/API.vue +++ b/examples/hello-uniapp/pages/tabBar/API/API.vue @@ -10,12 +10,12 @@ + @click="trigerCollapse(index)"> {{list.name}} + @click="goDetailPage(item.url)"> {{item.name}} @@ -27,39 +27,44 @@ + .uni-card { + box-shadow: none; + } + + .uni-list:after { + height: 0; + } + + .uni-list:before { + height: 0; + } + diff --git a/examples/hello-uniapp/pages/tabBar/component/component.vue b/examples/hello-uniapp/pages/tabBar/component/component.vue index d2149530..ca296ba3 100644 --- a/examples/hello-uniapp/pages/tabBar/component/component.vue +++ b/examples/hello-uniapp/pages/tabBar/component/component.vue @@ -31,7 +31,14 @@ id: 'view', name: '视图容器', open: false, - pages: ['view', 'scroll-view', 'swiper', 'movable-view'] + pages: [ + 'view', + 'scroll-view', + 'swiper', + //#ifndef H5 + 'movable-view', + //#endif + ] }, { id: 'content', name: '基础内容', @@ -60,13 +67,13 @@ name: '地图', open: false, pages: ['map'] - // #ifndef H5 + // #ifndef H5 }, { id: 'web-view', name: '网页', open: false, pages: ['web-view'], - // #endif + // #endif }] } }, -- GitLab