登录页的隐私和用户协议

version/0412
liudan 11 months ago
parent 337458993b
commit f4aff596d3
  1. 9
      pages/login/index.vue

@ -15,7 +15,7 @@
<text v-if="showCountDown">{{countdown}}</text> <text v-if="showCountDown">{{countdown}}</text>
</view> </view>
<view class="c"> <view class="c">
查看并同意<text>用户服务协议</text><text>隐私政策</text> 查看并同意<text @click="toTextPage(1)">用户服务协议</text><text @click="toTextPage(2)">隐私政策</text>
</view> </view>
</view> </view>
<view class="login-fd login-fd-on" @click="login">登录</view> <view class="login-fd login-fd-on" @click="login">登录</view>
@ -26,6 +26,7 @@
</template> </template>
<script> <script>
import * as UserApi from '@/api/user' import * as UserApi from '@/api/user'
import * as CaptchaApi from '@/api/captcha'; import * as CaptchaApi from '@/api/captcha';
import mpWeiXinMobile from './components/mp-weixin-mobile.vue' import mpWeiXinMobile from './components/mp-weixin-mobile.vue'
@ -57,7 +58,11 @@
this.share_user_id = o.share_user_id this.share_user_id = o.share_user_id
}, },
methods: { methods: {
toTextPage(n) {
uni.navigateTo({
url: "/pages/news1/text?pageFlag=" + n
})
},
validatePhoneNumber(phone) { validatePhoneNumber(phone) {
// //
var regExp = /^1[3456789]\d{9}$/; var regExp = /^1[3456789]\d{9}$/;

Loading…
Cancel
Save