|
|
@ -1,16 +1,6 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<view class="container"> |
|
|
|
<view class="container"> |
|
|
|
<!-- <view v-if="type == 1"> |
|
|
|
|
|
|
|
<image mode="widthFix" class="width90 mart20" v-if="user && user.infoCompleteStatus == 1" |
|
|
|
|
|
|
|
:src="imagewxUrl+imgadres"></image> |
|
|
|
|
|
|
|
<image mode="widthFix" class="width90 mart20" v-if="!user" :src="imagewxUrl+imgadres1"></image> |
|
|
|
|
|
|
|
<view class="mart30 width90 height50 fcorfff backcor008 fotct btns font16 fontlet" |
|
|
|
|
|
|
|
v-if="user && user.infoCompleteStatus == 1" @click="getuserinfo"> |
|
|
|
|
|
|
|
授权并登录</view> |
|
|
|
|
|
|
|
<button class="mart30 width90 height50 fcorfff backcor008 fotct btns font16 fontlet" v-if="!user" |
|
|
|
|
|
|
|
open-type="getPhoneNumber" @getphonenumber="loginByPhone">授权手机号</button> |
|
|
|
|
|
|
|
<view class="mart20 width90 font15 fcor666 fotct" @click="updateStu(2)">手机短信登录</view> |
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
<view v-if="type == 2"> |
|
|
|
<view v-if="type == 2"> |
|
|
|
<view class="logo"> |
|
|
|
<view class="logo"> |
|
|
|
<!-- <view class="img"> |
|
|
|
<!-- <view class="img"> |
|
|
@ -93,8 +83,6 @@ |
|
|
|
return { |
|
|
|
return { |
|
|
|
user: '', |
|
|
|
user: '', |
|
|
|
imagewxUrl: app.globalData.imageWxImg, |
|
|
|
imagewxUrl: app.globalData.imageWxImg, |
|
|
|
imgadres: 'login.png', |
|
|
|
|
|
|
|
imgadres1: 'loginphone.png', |
|
|
|
|
|
|
|
phoneNumber: "", |
|
|
|
phoneNumber: "", |
|
|
|
code: '', |
|
|
|
code: '', |
|
|
|
getCodeText: '获取验证码', |
|
|
|
getCodeText: '获取验证码', |
|
|
|