|
|
|
@ -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}$/; |
|
|
|
|