|
@@ -9,29 +9,13 @@
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">联系人:</view>
|
|
|
- <input class="row-input" type="text" name="input" v-model="userName" placeholder="请输入联系姓名" maxlength="6"/>
|
|
|
+ <input class="row-input" type="text" name="input" v-model="userName" placeholder="请输入机构联系人姓名" maxlength="6"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">手机号:</view>
|
|
|
- <input class="row-input" type="number" name="input" v-model="bindMobile" placeholder="请输入手机号" maxlength="11"/>
|
|
|
- </view>
|
|
|
- <!-- <view class="register-tip"><text>提示:手机号可用作登陆账号</text></view> -->
|
|
|
- </view>
|
|
|
- <view class="register-row clearfix">
|
|
|
- <view class="register-from imgcode">
|
|
|
- <view class="label">图形验证码:</view>
|
|
|
- <input class="row-input" type="text" name="input" v-model="imageCode" placeholder="请输入图形验证码" maxlength="4"/>
|
|
|
- </view>
|
|
|
- <view class="register-from img-btn">
|
|
|
- <view class="vscodeimg">
|
|
|
- <image :src="imageCodeUrl" mode=""></image>
|
|
|
- </view>
|
|
|
- <view class="vscod-refresh" @click.stop="getVerificationCode">
|
|
|
- <text class="iconfont icon-shuaxin"></text>
|
|
|
- <text class="ref-text">刷新</text>
|
|
|
- </view>
|
|
|
+ <input class="row-input" type="number" name="input" v-model="bindMobile" placeholder="请输入联系人常用手机号" maxlength="11"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
@@ -73,6 +57,10 @@
|
|
|
<view class="register-row ">
|
|
|
<view class="register-btn sub" @click.stop="registerStepsfirst">注册</view>
|
|
|
</view>
|
|
|
+ <view class="register-consult" @click.stop="goFastConsult">
|
|
|
+ <text class="iconfont icon-kefunv"></text>
|
|
|
+ <text class="text">入驻咨询</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-main detailed clearfix" v-if="tabCurrentIndex === 2">
|
|
@@ -272,7 +260,7 @@
|
|
|
import { beautyList,mentuzCampNullList,medicaCampNullList } from '@/common/json/data.json.js' //本地数据
|
|
|
import authorize from '@/common/config/authorize.js'
|
|
|
import { organizationVerifyRegisterFirst,organizationRegister ,organizationLogin } from "@/api/use.js"
|
|
|
- import { getImageCode, getMobileCode, uploadFileImage } from "@/api/utils.js"
|
|
|
+ import { getImageCode, getRegisterMobileCode, uploadFileImage } from "@/api/utils.js"
|
|
|
export default{
|
|
|
components:{
|
|
|
mpvueCityPicker
|
|
@@ -454,19 +442,13 @@
|
|
|
this.$util.msg('请输入正确的手机号',2000);
|
|
|
return
|
|
|
}
|
|
|
- if( this.imageCode == ''){
|
|
|
- this.$util.msg('请输入图形验证码',2000);
|
|
|
- return
|
|
|
- }
|
|
|
let params = {
|
|
|
mobile:this.bindMobile,
|
|
|
activateCodeType:2,
|
|
|
- platformType:2,
|
|
|
- imgCode:this.imageCode,
|
|
|
- token:this.imageCodetoken,
|
|
|
+ platformType:2
|
|
|
}
|
|
|
this.isMobileDisabled = true;
|
|
|
- getMobileCode(params).then(response =>{
|
|
|
+ getRegisterMobileCode(params).then(response =>{
|
|
|
this.$util.msg('验证短信已发送',2000);
|
|
|
const TIME_COUNT = 60;
|
|
|
if (!this.mobilTime) {
|
|
@@ -489,12 +471,6 @@
|
|
|
this.isMobileDisabled = false;
|
|
|
})
|
|
|
},
|
|
|
- getVerificationCode(){//获取图形验证
|
|
|
- getImageCode().then(res => {
|
|
|
- this.imageCodeUrl = res.data.baseImage
|
|
|
- this.imageCodetoken = res.data.token
|
|
|
- })
|
|
|
- },
|
|
|
showMulLinkageThreePicker() {//三级地址联动
|
|
|
this.isShowInput = true
|
|
|
this.$refs.mpvueCityPicker.show()
|
|
@@ -638,10 +614,12 @@
|
|
|
let item = {value:`${this.medicaCampList.length+1}`,name:this.customItemValue}
|
|
|
this.medicaCampList.push(item)
|
|
|
}
|
|
|
+ },
|
|
|
+ goFastConsult(){
|
|
|
+ this.$api.navigateTo('/pages/login/consult')
|
|
|
}
|
|
|
},
|
|
|
onShow() {
|
|
|
- this.getVerificationCode()
|
|
|
if(this.isPreviewImage){
|
|
|
this.isPreviewImage = false
|
|
|
return
|
|
@@ -657,11 +635,38 @@
|
|
|
.register-main{
|
|
|
width: 100%;
|
|
|
height: auto;
|
|
|
+ position: relative;
|
|
|
+ .register-consult{
|
|
|
+ width: 110rpx;
|
|
|
+ height: 68rpx;
|
|
|
+ background:linear-gradient(223deg,rgba(225,86,21,0.6) 0%,rgba(225,86,10,0.3) 100%);
|
|
|
+ border-radius: 34rpx 0 0 34rpx;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ top: -100rpx;
|
|
|
+ text-align: left;
|
|
|
+ line-height: 68rpx;
|
|
|
+ padding-left: 20rpx;
|
|
|
+ .icon-kefunv{
|
|
|
+ font-size: 48rpx;
|
|
|
+ color: #31313B;
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ .text{
|
|
|
+ font-size: $font-size-24;
|
|
|
+ display: block;
|
|
|
+ float: left;
|
|
|
+ width: 60rpx;
|
|
|
+ line-height: 30rpx;
|
|
|
+ color: #FFFFFF;
|
|
|
+ margin-top: 6rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
.register-agree{
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
- margin: 60rpx 0 40rpx 0;
|
|
|
+ margin: 150rpx 0 20rpx 0;
|
|
|
.agree-text{
|
|
|
.checkbox{
|
|
|
float: left;
|