login.wxml 1.2 KB

1
  1. <view class="content"><image class="login_img" src="http://pet.hdlkeji.com/assets/static/bg.png" mode></image><view class="logina"><view class="logina_a"><view class="logina_p">账号</view><input class="logina_inp" type="text" value="{{account}}" placeholder="请输入账号" data-event-opts="{{[['input',[['__set_model',['','account','$event',[]]]]]]}}" bindinput="__e"/></view><view class="logina_a"><view class="logina_p">密码</view><input class="logina_inp" type="password" value="{{password}}" placeholder="请输入密码" data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" bindinput="__e"/></view><view class="logina_d"><view data-event-opts="{{[['tap',[['onlogin',['$event']]]]]}}" class="{{['logina_btn',phone.length>=11&&ver_code.length>=4?'bgcolor':'bgcolore']}}" bindtap="__e">登录</view></view><view class="logina_e"><checkbox-group data-event-opts="{{[['change',[['read',['$event']]]]]}}" bindchange="__e"><checkbox style="transform:scale(0.6);" checked="{{cb}}"></checkbox>阅读并同意<text data-event-opts="{{[['tap',[['goToAgreement',['$event']]]]]}}" catchtap="__e">《宠365用户协议》</text></checkbox-group></view></view></view>