diff --git a/apis/interfaces/auth.js b/apis/interfaces/auth.js index 48ee742..87e2023 100644 --- a/apis/interfaces/auth.js +++ b/apis/interfaces/auth.js @@ -26,7 +26,17 @@ const getSms = (data) =>{ }) } +// 用户隐私协议 articles/agreement/secret 用户服务协议 articles/agreement/service + +const secretService = (name) =>{ + return request({ + url: "articles/agreement/"+name + }) +} + + export { smsAuth, - getSms + getSms, + secretService } diff --git a/manifest.json b/manifest.json index 3bd459f..30b1c92 100644 --- a/manifest.json +++ b/manifest.json @@ -68,5 +68,10 @@ "uniStatistics" : { "enable" : false }, - "vueVersion" : "2" + "vueVersion" : "2", + "h5" : { + "router" : { + "mode" : "history" + } + } } diff --git a/pages.json b/pages.json index 722320c..61c6d8f 100644 --- a/pages.json +++ b/pages.json @@ -134,6 +134,18 @@ "style": { "navigationBarTitleText": "登录" } + }, { + "path": "pages/login/guide", + "name": "loginGuide", + "style": { + "navigationBarTitleText": "引导页" + } + }, { + "path": "pages/login/agreement", + "name": "agreement", + "style": { + "navigationBarTitleText": "用户隐藏协议" + } }, { "path": "pages/certification/personal", "name": "Personal", diff --git a/pages/coupons/add.vue b/pages/coupons/add.vue index 41871a0..8d9b540 100644 --- a/pages/coupons/add.vue +++ b/pages/coupons/add.vue @@ -1,5 +1,5 @@