12345678910111213141516171819202122232425 |
- <!--pages/login/login.wxml-->
- <view class='main'>
- <image class='main_image' src='/images/login.png'></image>
- <view class='context'>
- <view class="logo_view"><image class="login_logo1" src="/images/login_logo1.png"></image></view>
- <view class="logo_view"><image class="login_logo2" src="/images/login_logo2.png"></image></view>
- <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>
- <view class="other_button">
- <text class='register_view' bindtap='goToRegister'>注册账户</text>
- <text class='forget_view' bindtap='goToForget'>忘记密码?</text>
- </view>
-
- </view>
- </view>
|