diff --git a/pages.json b/pages.json index 74fe713..79b0e7d 100644 --- a/pages.json +++ b/pages.json @@ -284,6 +284,14 @@ "navigationBarBackgroundColor": "#FE3EA5", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/my/addWechatNumber", + "style": { + "navigationBarTitleText": "添加微信号", + "navigationBarBackgroundColor": "#FE3EA5", + "navigationBarTextStyle": "white" + } } ], "globalStyle": { diff --git a/pages/index/index.vue b/pages/index/index.vue index c7cdbdd..cb4c47d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -61,9 +61,11 @@ } }, onLoad(){ + // #ifdef H5 this.href_str = JSON.stringify(location.href); let options = this.strToObj(); console.log("options", options) + // #endif }, methods: { strToObj(){ diff --git a/pages/my/addWechatNumber.vue b/pages/my/addWechatNumber.vue new file mode 100644 index 0000000..0089919 --- /dev/null +++ b/pages/my/addWechatNumber.vue @@ -0,0 +1,138 @@ + + + + + + diff --git a/static/images/add_wechat.png b/static/images/add_wechat.png new file mode 100644 index 0000000..4ecc75b Binary files /dev/null and b/static/images/add_wechat.png differ