|
@@ -2,33 +2,24 @@
|
|
|
<image src="/static/image/logo.png" />
|
|
|
</view>
|
|
|
|
|
|
-<van-cell>
|
|
|
- <text slot='icon' class="iconfont icon-a-biaoqianlanwodexuanzhong" />
|
|
|
- <input class="input" type="text" value='{{accountno}}' bindinput="inputPhone" placeholder="请输入账户名" />
|
|
|
-</van-cell>
|
|
|
-<van-cell>
|
|
|
- <text slot='icon' class="iconfont icon-a-wodemima" />
|
|
|
- <input class="input" wx:if="{{inputType=='text'}}" focus='{{focus}}' bindinput="inputPassword" value="{{password}}" placeholder="请输入密码" />
|
|
|
- <input class="input" wx:else type="password" focus='{{focus}}' bindinput="inputPassword" value="{{password}}" placeholder="请输入密码" />
|
|
|
- <view slot='right-icon' style="width: 90rpx;height: 22.4px; display: flex; justify-content: flex-end;" catchtap="changePasswordType">
|
|
|
- <image class="image" src="{{inputType=='password'?'/static/image/dp-none.svg':'/static/image/dp-show.svg'}}" />
|
|
|
- </view>
|
|
|
-</van-cell>
|
|
|
+<!-- 账号登录 -->
|
|
|
+<account id='login' />
|
|
|
+<!-- 手机号登录 -->
|
|
|
+<phone id='login' wx:if="{{false}}" />
|
|
|
|
|
|
-<view class="box">
|
|
|
- <van-checkbox custom-class='checkbox' label-class='label' icon-size="28rpx" value="{{ memory }}" shape="square" bind:change="isMemory">
|
|
|
- 记住密码
|
|
|
- </van-checkbox>
|
|
|
- <navigator url="./retrievePassword" class="view">忘记密码?</navigator>
|
|
|
-</view>
|
|
|
<view style="width: 100vw; text-align: center;margin-top: 60rpx;margin-bottom: 40rpx;">
|
|
|
<van-button disabled='{{disabled}}' custom-class='login' bindtap="userLogin" loading='{{loading}}' loading-text="登陆中..." color='linear-gradient(90deg, #3874F6 0%, #095DE0 100%);'>登录</van-button>
|
|
|
</view>
|
|
|
+<!-- 隐私协议 -->
|
|
|
<Agreement isAgree='{{isAgree}}' bindcallBack='agreementChange' />
|
|
|
-<van-toast id="van-toast" />
|
|
|
|
|
|
-<view style="height: 100rpx;" />
|
|
|
-<van-divider contentPosition="center">其他登录方式</van-divider>
|
|
|
-<view style="width: 100%; text-align: center;">
|
|
|
- <text class="iconfont icon-a-wodebangdingweixin" style="font-size: 100rpx; color:#07C160;" bindtap="wechatLogin" />
|
|
|
-</view>
|
|
|
+<!-- 快捷登录 -->
|
|
|
+<block wx:if="{{false}}">
|
|
|
+ <view style="height: 100rpx;" />
|
|
|
+ <van-divider contentPosition="center">其他登录方式</van-divider>
|
|
|
+ <view style="width: 100%; text-align: center;">
|
|
|
+ <text class="iconfont icon-a-wodebangdingweixin" style="font-size: 100rpx; color:#07C160;" bindtap="wechatLogin" />
|
|
|
+ </view>
|
|
|
+</block>
|
|
|
+
|
|
|
+<van-toast id="van-toast" />
|