登录页的隐私和用户协议

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

Loading…
Cancel
Save