From 443466c935f9135c01e784759411630b9af44139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E8=83=9C=E5=BC=BA?= Date: Thu, 20 Sep 2018 11:40:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/hello-uniapp/pages.json | 5 +- .../hello-uniapp/pages/API/share/share.vue | 4 +- .../hello-uniapp/pages/tabBar/API/API.vue | 2 +- .../pages/tabBar/component/component.vue | 2 +- .../pages/tabBar/template/template.vue | 2 +- .../template/mpvue-picker/mpvue-picker.vue | 187 +++++++++++------- 6 files changed, 120 insertions(+), 82 deletions(-) diff --git a/examples/hello-uniapp/pages.json b/examples/hello-uniapp/pages.json index f7787941e..3d5b327b2 100644 --- a/examples/hello-uniapp/pages.json +++ b/examples/hello-uniapp/pages.json @@ -540,6 +540,9 @@ "path": "index-list/index-list", "style": { "navigationBarTitleText": "索引列表index-list", + "mp-weixin":{ + "disableScroll":true + }, "app-plus": { "bounce": "none" } @@ -634,4 +637,4 @@ "text": "模板" }] } -} +} diff --git a/examples/hello-uniapp/pages/API/share/share.vue b/examples/hello-uniapp/pages/API/share/share.vue index 9f21f30df..a130602a4 100644 --- a/examples/hello-uniapp/pages/API/share/share.vue +++ b/examples/hello-uniapp/pages/API/share/share.vue @@ -65,7 +65,7 @@ onShareAppMessage() { return { title: this.shareText ? this.shareText : "欢迎体验uni-app", - path: '/pages/component/component', + path: '/pages/tabBar/component/component', imageUrl:this.image ? this.image : 'https://img-cdn-qiniu.dcloud.net.cn/uniapp/app/share-logo@3.png' } }, @@ -187,7 +187,7 @@ shareOPtions.title = "欢迎体验uniapp"; shareOPtions.miniProgram = { id:"gh_33446d7f7a26", - path:"/pages/component/component", + path:"/pages/tabBar/component/component", webUrl:"http://uniapp.dcloud.io", type:0 }; diff --git a/examples/hello-uniapp/pages/tabBar/API/API.vue b/examples/hello-uniapp/pages/tabBar/API/API.vue index d746ef52f..5401a9fb9 100644 --- a/examples/hello-uniapp/pages/tabBar/API/API.vue +++ b/examples/hello-uniapp/pages/tabBar/API/API.vue @@ -205,7 +205,7 @@ onShareAppMessage() { return { title: '欢迎体验uni-app', - path: '/pages/API/API' + path: '/pages/tabBar/API/API' } }, onNavigationBarButtonTap(e){ diff --git a/examples/hello-uniapp/pages/tabBar/component/component.vue b/examples/hello-uniapp/pages/tabBar/component/component.vue index 72a5cbf6d..8382945dc 100644 --- a/examples/hello-uniapp/pages/tabBar/component/component.vue +++ b/examples/hello-uniapp/pages/tabBar/component/component.vue @@ -70,7 +70,7 @@ onShareAppMessage() { return { title: '欢迎体验uni-app', - path: '/pages/component/component' + path: '/pages/tabBar/component/component' } }, onNavigationBarButtonTap(e){ diff --git a/examples/hello-uniapp/pages/tabBar/template/template.vue b/examples/hello-uniapp/pages/tabBar/template/template.vue index 3ebc09c85..b83b441a0 100644 --- a/examples/hello-uniapp/pages/tabBar/template/template.vue +++ b/examples/hello-uniapp/pages/tabBar/template/template.vue @@ -162,7 +162,7 @@ onShareAppMessage() { return { title: '欢迎体验uni-app', - path: '/pages/template/template' + path: '/pages/tabBar/template/template' } }, onNavigationBarButtonTap(e) { diff --git a/examples/hello-uniapp/pages/template/mpvue-picker/mpvue-picker.vue b/examples/hello-uniapp/pages/template/mpvue-picker/mpvue-picker.vue index 05fe36047..2f10336c2 100644 --- a/examples/hello-uniapp/pages/template/mpvue-picker/mpvue-picker.vue +++ b/examples/hello-uniapp/pages/template/mpvue-picker/mpvue-picker.vue @@ -1,90 +1,125 @@ -- GitLab