diff --git a/App.vue b/App.vue index 47b65e0..9d7a82b 100644 --- a/App.vue +++ b/App.vue @@ -61,12 +61,14 @@ // #endif // #ifdef MP-WEIXIN - uni.showModal({ - title: '请扫描小程序二维码或点击小程序链接进入', - content: '', - showCancel: false, - success: ({ confirm, cancel }) => {} - }) + // uni.showModal({ + // title: '请扫描小程序二维码或点击小程序链接进入', + // content: '', + // showCancel: false, + // success: ({ confirm, cancel }) => {} + // }) + uni.reLaunch({ url: '/pages/explain/explain' }) + throw new Error('请扫描小程序二维码或点击小程序链接进入') // #endif } diff --git a/components/explainPageHeader.vue b/components/explainPageHeader.vue new file mode 100644 index 0000000..4252ebc --- /dev/null +++ b/components/explainPageHeader.vue @@ -0,0 +1,89 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index 0ef2fd1..5aaa838 100644 --- a/pages.json +++ b/pages.json @@ -2,7 +2,7 @@ "pages": [{ "path": "pages/index/index", "style": { - "navigationBarTitleText": "就诊人" + "navigationBarTitleText": "首页" } }, { @@ -74,6 +74,14 @@ "style": { "navigationBarTitleText": "就诊详情" } + }, + { + "path" : "pages/explain/explain", + "style" : + { + "navigationBarTitleText" : "", + "navigationStyle": "custom" + } } ], "globalStyle": { diff --git a/pages/explain/explain.vue b/pages/explain/explain.vue new file mode 100644 index 0000000..500148e --- /dev/null +++ b/pages/explain/explain.vue @@ -0,0 +1,265 @@ + + + + +