1234567891011121314151617181920 |
- <!--pages/login/login.wxml-->
- <view class='main'>
- <image class='main_image' src='/images/login.png'></image>
- <view class='context'>
- <view class='context_input'>
- <view class='input_view'>
- <image class='account_img' src='/images/account.png'></image>
- <input placeholder='请输入您的账号' bindinput='inputAccount' maxlength='20' focus='true' placeholder-class='placeholder'></input>
- </view>
- <view class='input_view'>
- <image class='password_img' src='/images/password.png'></image>
- <input placeholder='请输入您的密码' value="{{password}}" focus="{{passwordFocus}}" maxlength='16' bindinput='inputPassword'type='password' placeholder-class='placeholder'></input>
- </view>
- </view>
- <view class="errorMsg"><text>{{errorMsg}}</text></view>
- <button class='{{checkPass?"login_button":"login_button_disable"}}' bindtap="{{checkPass?'loginUser':''}}" >登录</button>
- <text class='forget_view' bindtap='goToForget'>忘记密码</text>
- <view class='register_view' hover-class='active' bindtap='goToRegister'><text>注册账户</text></view>
- </view>
- </view>
|