|
@@ -14,14 +14,16 @@
|
|
<u-form-item>
|
|
<u-form-item>
|
|
<u-input v-model="form.realName" placeholder="请填写您的真实姓名" />
|
|
<u-input v-model="form.realName" placeholder="请填写您的真实姓名" />
|
|
</u-form-item>
|
|
</u-form-item>
|
|
- <u-icon custom-prefix="custom-icon" name="information-line" class="jpLogin-warn"></u-icon>
|
|
|
|
|
|
+ <u-toast ref="uToast" />
|
|
|
|
+ <u-icon custom-prefix="custom-icon" name="information-line" class="jpLogin-warn" @click="iconClick1"></u-icon>
|
|
</view>
|
|
</view>
|
|
<view class="jpLogin-input">
|
|
<view class="jpLogin-input">
|
|
<u-icon custom-prefix="custom-icon" name="profile-fill" class="jpLogin-icon"></u-icon>
|
|
<u-icon custom-prefix="custom-icon" name="profile-fill" class="jpLogin-icon"></u-icon>
|
|
<u-form-item>
|
|
<u-form-item>
|
|
<u-input v-model="form.idCard" placeholder="请填写18位身份证号" />
|
|
<u-input v-model="form.idCard" placeholder="请填写18位身份证号" />
|
|
</u-form-item>
|
|
</u-form-item>
|
|
- <u-icon custom-prefix="custom-icon" name="information-line" class="jpLogin-warn"></u-icon>
|
|
|
|
|
|
+ <u-toast ref="uToast" />
|
|
|
|
+ <u-icon custom-prefix="custom-icon" name="information-line" class="jpLogin-warn" @click="iconClick2"></u-icon>
|
|
</view>
|
|
</view>
|
|
<view class="jpLogin-input">
|
|
<view class="jpLogin-input">
|
|
<u-icon custom-prefix="custom-icon" name="building-fill" class="jpLogin-icon"></u-icon>
|
|
<u-icon custom-prefix="custom-icon" name="building-fill" class="jpLogin-icon"></u-icon>
|
|
@@ -47,7 +49,7 @@
|
|
<p>已有账号,</p>
|
|
<p>已有账号,</p>
|
|
<span @click="getLogin">登录</span>
|
|
<span @click="getLogin">登录</span>
|
|
</view>
|
|
</view>
|
|
- <span @click="getCode">获取验证码</span>
|
|
|
|
|
|
+ <span @click="getCode">{{codeTips}}</span>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view style="margin-top: 60px;">
|
|
<view style="margin-top: 60px;">
|
|
@@ -97,6 +99,7 @@
|
|
,
|
|
,
|
|
isSendMsgIng: false,
|
|
isSendMsgIng: false,
|
|
sendMsgSecond: 60 * 2,
|
|
sendMsgSecond: 60 * 2,
|
|
|
|
+ codeTips: '',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
@@ -111,22 +114,36 @@
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ iconClick1() {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ title: '姓名仅供身份验证,不对外展示',
|
|
|
|
+ position: 'bottom',
|
|
|
|
+ type: 'default'
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ iconClick2() {
|
|
|
|
+ this.$refs.uToast.show({
|
|
|
|
+ title: '身份证号仅供身份验证,不对外展示',
|
|
|
|
+ position: 'bottom',
|
|
|
|
+ type: 'default'
|
|
|
|
+ })
|
|
|
|
+ },
|
|
radioChange() {
|
|
radioChange() {
|
|
this.value = true;
|
|
this.value = true;
|
|
},
|
|
},
|
|
getSearch() {
|
|
getSearch() {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url: 'pagesA/pages/login/search'
|
|
|
|
|
|
+ url: '/pagesA/pages/login/search'
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getLogin() {
|
|
getLogin() {
|
|
uni.navigateBack({
|
|
uni.navigateBack({
|
|
- url: 'pagesA/pages/login/index'
|
|
|
|
|
|
+ url: '/pagesA/pages/login/index'
|
|
});
|
|
});
|
|
},
|
|
},
|
|
getAgreement() {
|
|
getAgreement() {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url: 'pagesA/pages/login/agreement'
|
|
|
|
|
|
+ url: '/pagesA/pages/login/agreement'
|
|
});
|
|
});
|
|
},
|
|
},
|
|
codeChange(text) {
|
|
codeChange(text) {
|
|
@@ -253,7 +270,7 @@
|
|
var token = response ? response.data.token : '';
|
|
var token = response ? response.data.token : '';
|
|
this.carhelp.setToken(token);
|
|
this.carhelp.setToken(token);
|
|
this.carhelp.setPersonInfo(response.data.memberInfo);
|
|
this.carhelp.setPersonInfo(response.data.memberInfo);
|
|
- this.gotoUrl("pagesA/pages/login/step1")
|
|
|
|
|
|
+ this.gotoUrl("/pagesA/pages/login/step1")
|
|
// uni.switchTab({
|
|
// uni.switchTab({
|
|
// url: '/pages/index/index'
|
|
// url: '/pages/index/index'
|
|
// })
|
|
// })
|