39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<view class="inputItem">
|
|
<oak-icon name="mine" size="28" color="#808080" />
|
|
<l-input
|
|
hide-label="{{true}}"
|
|
placeholder="{{t('placeholder.Account')}}"
|
|
clear="{{true}}"
|
|
showRow="{{false}}"
|
|
l-class="my-input"
|
|
style="flex:1;"
|
|
data-attr="account"
|
|
value="{{account}}"
|
|
bind:lininput="inputChangeMp"
|
|
bind:linclear="inputChangeMp"
|
|
/>
|
|
</view>
|
|
<view class="inputItem">
|
|
<oak-icon name="lock" size="28" color="#808080" />
|
|
<l-input
|
|
hide-label="{{true}}"
|
|
placeholder="{{t('placeholder.Password')}}"
|
|
clear="{{true}}"
|
|
showRow="{{false}}"
|
|
l-class="my-input"
|
|
style="flex:1;"
|
|
type="password"
|
|
data-attr="password"
|
|
value="{{password}}"
|
|
bind:lininput="inputChangeMp"
|
|
bind:linclear="inputChangeMp"
|
|
/>
|
|
</view>
|
|
<l-button size="long" disabled="{{!!disabled || !allowSubmit || loading}}" catch:lintap="loginByAccount" height="{{80}}" style="width:100%">
|
|
{{t('Login')}}
|
|
</l-button>
|
|
<view class="methods">
|
|
<view wx:if="{{allowWechatMp}}" style="color:#8F976A" bindtap="changeLoginMp" data-value="wechatMp">一键登录</view>
|
|
<view wx:else></view>
|
|
<view wx:if="{{allowSms}}" style="color:#835D01" bindtap="changeLoginMp" data-value="sms">短信登录</view>
|
|
</view> |