diff --git a/pages/index/components/sh-grid.vue b/pages/index/components/sh-grid.vue index b937ec5..749634c 100644 --- a/pages/index/components/sh-grid.vue +++ b/pages/index/components/sh-grid.vue @@ -35,7 +35,20 @@ export default { created() {}, methods: { jump(data) { - this.$tools.routerTo(data.path); + console.log(data,"888") + if(data.name=="体质检测"){ + wx.navigateToMiniProgram({ + appId: 'wx9c08c355ee94827c', + path: 'page/begin/begin', + envVersion: 'trial',//上线版release,开发版develop 体验版本trial + success(res) { + console.log('跳转成功') + } + }) + }else{ + this.$tools.routerTo(data.path); + } + } } }; diff --git a/pages/index/index.vue b/pages/index/index.vue index dcd7743..5ceac55 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -50,6 +50,11 @@ 多重惊喜 + + + + 体质检测 + @@ -267,6 +272,16 @@ export default { return item.title }) }); + }, + getTizhi(){ + wx.navigateToMiniProgram({ + appId: 'wx9c08c355ee94827c', + path: 'page/begin/begin', + envVersion: 'trial',//上线版release,开发版develop 体验版本trial + success(res) { + console.log('跳转成功') + } + }) } } }; diff --git a/static/images/tizhijiance.png b/static/images/tizhijiance.png new file mode 100644 index 0000000..1b9f3b4 Binary files /dev/null and b/static/images/tizhijiance.png differ