hailu
2023-10-05 32fe82458589e6f6495ceb889a6c27fa19caa790
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 
<view class="imageBox">
  <image src="/images/logo.png"></image>
</view>
<view style="width:100%">
  <view class="loginBox">
    <view class="inpicon">
      <input class="input" placeholder="请输入用户名" value="{{userName}}" bindinput="bindUserName"></input>
      <image class="icon" src="/images/user.png"></image>
    </view>
    <view class="inpicon">
      <input class="input" password="true" placeholder="请输入密码" value="{{psw}}" bindinput="bindPSW"></input>
      <image class="icon" src="/images/psw.png"></image>
    </view>
    <view style="display: flex;justify-content: space-between;margin-bottom: 30px;width: 95%;padding:0 10px 0 10px;">
      <input style="width: 60%;background-color: #F5F5F5;height: 40px;padding-left: 10px;" placeholder="验证码" value="{{codeNum}}" bindinput="bindCodeNum"></input>
      <image style="width: 30%;height: 40px;" bindtap="getImg" src="{{imgSrc}}"></image>
    </view>
    <view >
    </view>
    <button style="width:95%" class="btn" bindtap="login">登 录</button>
    <view style="width: 100;">
      <view style="width: 60%;display: flex;justify-content: space-around;margin: 20px auto 0;color: #1E90FF;">
        <view bind:tap="goForgot">
          忘记密码
        </view>
        |
        <view bind:tap="goReg">
          注册账户
        </view>
      </view>
    </view>
  </view>
</view>