| | |
| | | <view class="container"> |
| | | <image class="avatar" src=""></image> |
| | | <image class="avatar" src="../../static/icon/logo.png"></image> |
| | | <view class="home_title">志邦优家</view> |
| | | <view class="placeholder9">最懂你的营销助手</view> |
| | | <!-- --> |
| | | <view class="btns"> |
| | | <block wx:if="{{ status == '0' }}"> |
| | | <view class="btn speedy">手机号快捷登录</view> |
| | | <view class="btn">手机验证码登录</view> |
| | | <button hover-class="none" class="btn speedy" wx:if="{{ !agreementFalg }}" bindtap="loginIn">手机号快捷登录</button> |
| | | <button wx:else class="btn speedy" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号快捷登录</button> |
| | | <view bindtap="changeStatus" class="btn">手机验证码登录</view> |
| | | </block> |
| | | <block wx:if="{{ status == '1' }}"> |
| | | <view class="line"> |
| | | <image class="icon" src="../../static/login_ic_phone@2x.png" mode="widthFix"></image> |
| | | <van-field class="input" border="{{false}}" model:value="{{ phone }}" placeholder="请输入手机号" /> |
| | | <van-field class="input" type="number" maxlength="{{ 11 }}" border="{{false}}" model:value="{{ phone }}" placeholder="请输入手机号" /> |
| | | <view bindtap="getCode" wx:if="{{ countDown === 0 }}" class="get_code primary">获取验证码</view> |
| | | <view wx:else class="placeholder9">{{ countDown }}s</view> |
| | | </view> |
| | | <view class="line"> |
| | | <image class="icon" src="../../static/login_ic_password@2x.png" mode="widthFix"></image> |
| | | <van-field class="input" border="{{false}}" model:value="{{ password }}" placeholder="请输入验证码" /> |
| | | <van-field type="number" class="input" maxlength="{{ 6 }}" border="{{false}}" model:value="{{ code }}" placeholder="请输入验证码" /> |
| | | </view> |
| | | <view class="btn speedy sub_btn">立即登录</view> |
| | | <view bindtap="loginPhone" class="btn speedy sub_btn">立即登录</view> |
| | | </block> |
| | | <view class="protocol"> |
| | | <van-checkbox value="{{ agreementFalg }}" checked-color="{{primary}}" shape="round" bind:change="agreementChange"></van-checkbox> |
| | | <view class="content"> |
| | | <text>我已阅读并同意</text> |
| | | <text class="primary">《ZBOM用户服务协议》</text> |
| | | <text data-index="0" bindtap="onOpen" class="primary">《ZBOM用户服务协议》</text> |
| | | <text>及</text> |
| | | <text class="primary">《ZBOM用户隐私政策》</text> |
| | | <text data-index="1" bindtap="onOpen" class="primary">《ZBOM用户隐私政策》</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <!-- --> |
| | | <van-popup position="bottom" show="{{ showModal }}" round bind:close="onClose"> |
| | | <view class="modal"> |
| | | <view class="content"> |
| | | <mp-html content="{{activeHtml}}"></mp-html> |
| | | <!-- <rich-text nodes="{{activeHtml}}"></rich-text> --> |
| | | </view> |
| | | <view style="bottom: {{ bottomLift }}px" class="btns"> |
| | | <view data-flag="{{true}}" bindtap="handleJudge" class="agree">同意</view> |
| | | <view data-flag="{{false}}" bindtap="handleJudge" class="reject">不同意并退出</view> |
| | | </view> |
| | | </view> |
| | | </van-popup> |
| | | </view> |