Explorar o código

注册添加隐私声明

achao %!s(int64=2) %!d(string=hai) anos
pai
achega
6fbbc6ce1b

+ 18 - 0
pages.json

@@ -625,6 +625,24 @@
             }
             
         }
+        ,{
+            "path" : "pages/public/serviceAgreement/serviceAgreement",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "服务协议",
+                "enablePullDownRefresh": false
+            }
+            
+        }
+        ,{
+            "path" : "pages/public/cytScrectAgreement/cytScrectAgreement",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "隐私声明",
+                "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 	"globalStyle": {
 		"navigationBarTextStyle": "black",

+ 23 - 0
pages/public/cytScrectAgreement/cytScrectAgreement.vue

@@ -0,0 +1,23 @@
+<template>
+	<web-view :src="url"></web-view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				url: ""
+			}
+		},
+		onLoad: function(option) {
+			this.url = option.url;
+		},
+		methods: {}
+	}
+</script>
+
+
+
+<style>
+
+</style>

+ 4 - 4
pages/public/register.vue

@@ -23,7 +23,7 @@
 						placeholder="请输入验证码" type="number" class="Regular" />
 				</view>
 				<!--  -->
-				<button :class='codestatus?"activeCode":""' @click='getcode' 
+				<button :class='codestatus?"activeCode":""' @click='getcode'
 					class='getcode Regular'>{{sendText}}</button>
 			</view>
 			<view style='border-bottom:1px solid #E8E9ED;padding:10px 0;position:relative;'>
@@ -44,9 +44,9 @@
 					width="17px" height="17px"></u--image>
 				已阅读并同意
 				<navigator
-					url="/pages/sale/webview?can_share=false&url=https://liangxin.zthymaoyi.com/userAgreement.html"
+					url="/pages/public/serviceAgreement/serviceAgreement?url=http://liangxin.zthymaoyi.com/cytUserAgreement.html"
 					class="path" hover-class="navigator-hover">《服务协议》</navigator>和<navigator
-					url="/pages/sale/webview?can_share=false&url=https://liangxin.zthymaoyi.com/screctAgreement.html"
+					url="/pages/public/cytScrectAgreement/cytScrectAgreement?url=http://liangxin.zthymaoyi.com/cytScrectAgreement.html"
 					class="path" hover-class="navigator-hover">《隐私政策》</navigator>
 			</view>
 		</view>
@@ -164,7 +164,7 @@
 			},
 			getcode() {
 				var that = this
-				if(this.sendText != "获取验证码" ){
+				if (this.sendText != "获取验证码") {
 					return
 				}
 				if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.phone)) {

+ 23 - 0
pages/public/serviceAgreement/serviceAgreement.vue

@@ -0,0 +1,23 @@
+<template>
+	<web-view :src="url"></web-view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				url: ""
+			}
+		},
+		onLoad: function(option) {
+			this.url = option.url;
+		},
+		methods: {}
+	}
+</script>
+
+
+
+<style>
+
+</style>