123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <view class="container">
- <view class="form-box">
- <view class="form-center">
- <image class="userinfo-avatar" src="/static/images/logo.png" mode="cover"></image>
- </view>
- <view class="form-center">
- <text wx:if="{{!isJms}}">服务人员派单系统</text>
- <text wx:else>接单系统</text>
- </view>
- <view class="form-item">
- <!-- <view class="label" style="font-size:29rpx">登录方式</view> -->
- <view class="content" style="display:flex;justify-content: center;">
- <van-checkbox value="{{ isPro }}" wx:if="{{loginType!=2&&loginType!=1}}" bind:change="onProChange">验证码登录
- </van-checkbox>
- <van-checkbox value="{{ isUat }}" wx:if="{{loginType==1}}" style="margin-left: 30rpx;"
- bind:change="onUatChange">验证登录</van-checkbox>
- <van-checkbox value="{{ isJms }}" wx:if="{{loginType==2}}" style="margin-left: 30rpx;"
- bind:change="onJmsChange">服务者</van-checkbox>
- </view>
- </view>
- <block wx:if="{{!isJms}}">
- <!-- 自营登录 -->
- <view class="form-item">
- <view class="label" style="font-size:29rpx">手机号</view>
- <view class="content">
- <input class="username" type="number" maxlength="11" value="{{mobile}}"
- bindinput="bindMobileInput" placeholder="请输入联系手机" /> <!--disabled="{{!isUat}}"-->
- </view>
- </view>
- <view class="form-item">
- <view class="label" style="font-size:29rpx">验证码</view>
- <view class="content" style="display:flex">
- <input class="captcha" style="width: 260rpx;" type="number" value="{{captcha}}"
- bindinput="bindcaptchaInput" placeholder="验证码" auto-focus /><!--disabled="{{!isUat}}"-->
- <button class="form-item-getPhone" bindtap="getCaptcha">获取验证码</button><!--disabled="{{!isUat}}"-->
- </view>
- </view>
- </block>
- <block wx:if="{{isJms}}">
- <!-- 加盟商登录 -->
- <view class="form-item">
- <view class="label" style="font-size:29rpx">手机号</view>
- <view class="content">
- <input class="username" type="number" maxlength="11" value="{{mobile}}" bindinput="bindJmsMobileInput"
- placeholder="请输入联系手机" />
- </view>
- </view>
- <view class="form-item">
- <view class="label" style="font-size:29rpx">验证码</view>
- <view class="content" style="display:flex">
- <input class="captcha" style="width: 260rpx;" type="number" value="{{jmsCaptcha}}"
- bindinput="bindJmsCaptchaInput" placeholder="验证码" />
- <button class="form-item-getPhone" bindtap="getJmsCaptcha">获取验证码</button>
- </view>
- </view>
- </block>
- </view>
- <block wx:if="{{!isJms}}">
- <view style="display:flex;text-align:center">
- <button class="register-btn" wx:if="{{!isUat}}"
- bindtap="getPhoneNumber" >登录</button>
- <!-- open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"-->
- <button class="register-btn" type="warn" wx:else="" bindtap="getUserProfile">验证登录</button>
- </view>
- <!-- <view style="width: 100%;text-align: center;text-decoration: underline;" bindtap="goShelter">报告上传</view> -->
- <view class="link-block">
- <view bindtap="goInvite">快速推荐保洁线索</view>
- <!-- <view bindtap="goTemp" style="margin-left:40rpx;">加盟接单</view> -->
- </view>
- </block>
- <block wx:if="{{isJms}}">
- <view style="display:flex;text-align:center">
- <button class="register-btn" bindtap="loginTemp">登录</button>
- </view>
- <view style="margin-top:40rpx;">
- <view bindtap="checkProBtn" style="color:#09afff">《鲸致生活接单系统用户协议》</view>
- </view>
- <view class="link-block">
- <view bindtap="goRegister">申请注册</view>
- </view>
- </block>
- </view>
|