| | |
| | | <!--pages/login/login.wxml--> |
| | | <view class="login-container"> |
| | | <view> |
| | | <image src="/images/login_bg.jpeg"></image> |
| | | <view class="logo-container"> |
| | | |
| | | </view> |
| | | <view class="input-wrapper"> |
| | | <input class="input" placeholder="请输入11位手机号" maxlength="11" bindinput="bindMobileInput" /> |
| | | |
| | | <view class="form-container"> |
| | | <view class="title">用户登录</view> |
| | | |
| | | <view class="input-wrapper"> |
| | | <view class="input-icon user-icon"></view> |
| | | <input class="input" type="number" placeholder="请输入手机号" maxlength="11" bindinput="bindPhoneInput" /> |
| | | </view> |
| | | |
| | | <view class="input-wrapper"> |
| | | <view class="input-icon lock-icon"></view> |
| | | <input class="input" type="number" placeholder="请输入验证码" maxlength="6" bindinput="bindCodeInput" /> |
| | | <view class="code-button" bindtap="sendVerificationCode"> |
| | | <text>{{codeText}}</text> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="login-btn-container"> |
| | | <button class="login-button" bindtap="login">登录</button> |
| | | </view> |
| | | </view> |
| | | <view class="input-wrapper"> |
| | | <input class="input" type="number" placeholder="请输入验证码" /> |
| | | <button class="code-button" wx:if="{{!codeSent}}" bindtap="sendCode">获取验证码</button> |
| | | <button class="code-button" wx:if="{{codeSent}}" disabled>重新获取({{countdown}}s)</button> |
| | | |
| | | <view class="project-info"> |
| | | <text>当前项目: {{projectName}}</text> |
| | | </view> |
| | | <view> |
| | | <button class="login-button" bindtap="login">登录</button> |
| | | </view> |
| | | |
| | | |
| | | </view> |