|
@@ -9,11 +9,19 @@
|
|
|
<image class="login-phone" mode="heightFix" src="{{imgPath}}/login-phone.png"></image>
|
|
|
<input type="number" class="login-input" name="phone" maxlength="11" placeholder="请输入手机号" placeholder-style="color:#fff" bindinput="setPhone" />
|
|
|
</view>
|
|
|
- <view class="login-row">
|
|
|
+ <view class="login-row" wx:if="{{!showPwd}}">
|
|
|
<image class="login-phone" mode="heightFix" src="{{imgPath}}/login-verify.png"></image>
|
|
|
<input type="number" class="login-input" name="code" maxlength="6" style="width: 50%;" placeholder="请输入验证码" placeholder-style="color:#fff" bindinput="setVcode" />
|
|
|
<text class="send_btn" bindtap="getVerifyCode">{{sendText}}</text>
|
|
|
</view>
|
|
|
+ <view class="login-row" wx:if="{{showPwd}}">
|
|
|
+ <image class="login-phone" mode="heightFix" src="{{imgPath}}/login-pwd.png"></image>
|
|
|
+ <input type="text" password="true" class="login-input" name="password" maxlength="20" placeholder="请输入密码" placeholder-style="color:#fff" />
|
|
|
+ </view>
|
|
|
+ <view class="login-type">
|
|
|
+ <view></view>
|
|
|
+ <view bindtap="changeType">{{loginType}}</view>
|
|
|
+ </view>
|
|
|
<button class="login-btn" formType="submit" style="background-image: url({{imgPath}}/login-btn.png);">登录</button>
|
|
|
</form>
|
|
|
</view>
|