You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
2.1 KiB
29 lines
2.1 KiB
<!--pages/login/index.wxml-->
|
|
<view class="header-box flex justify-center">
|
|
<!-- <image src="/assets/image/login_logo.png" style="width:420rpx;height:60rpx;margin-top:200rpx"></image> -->
|
|
</view>
|
|
<view class="padding content-box">
|
|
<view class="cu-form-group" style="min-height:120rpx;padding:1rpx 16rpx">
|
|
<text class="cuIcon-people lg text-black" style="font-size:50rpx"></text>
|
|
<input type="tell" class="box-input" maxlength="11" placeholder="请输入手机号码" value="{{mobile}}" bindinput="bindMobile"/>
|
|
<!-- <wux-button clear type="positive" open-type="getPhoneNumber" bind:getphonenumber="onGotPhoneNumber" style="margin-right:-12rpx">获取手机号码</wux-button> -->
|
|
</view>
|
|
<view class="cu-form-group" wx:if="{{type==1}}" style="min-height:120rpx;border-bottom:1rpx solid #eee;padding:1rpx 16rpx">
|
|
<text class="cuIcon-lock lg text-black" style="font-size:50rpx"></text>
|
|
<input type="{{pwdType}}" maxlength="20" placeholder="请输入密码" style="margin-left:18rpx" bindinput="bindPwd"/>
|
|
<text class="cuIcon-{{pwd_icon}} lg text-black" style="font-size:50rpx" bindtap="changePwd"></text>
|
|
</view>
|
|
<view class="cu-form-group" style="min-height:120rpx;border-bottom:1rpx solid #eee;padding:1rpx 16rpx" wx:else>
|
|
<text class="cuIcon-safe lg text-black" style="font-size:50rpx"></text>
|
|
<input type="number" maxlength='8' placeholder="请输入验证码" style="margin-left:18rpx" bindinput="bindCode"/>
|
|
<wux-button clear type="positive" style="margin-right:-12rpx" bind:click="fetchCode">{{ second || '获取验证码' }}</wux-button>
|
|
</view>
|
|
<!-- <view class="flex flex-justify" style="margin-top:8rpx">
|
|
<wux-button clear size="small" type="positive" bind:click="changeType">{{type==1?'用短信验证码登录':'用密码登录'}}</wux-button>
|
|
<wux-button clear size="small" type="positive" bind:click="changeType" wx:if="{{type==1}}">忘记密码?</wux-button>
|
|
</view> -->
|
|
<view class="flex flex-direction" style="margin-top:120rpx;margin-bottom:24px">
|
|
<wux-button block type="positive" bind:click="loginForm">登录</wux-button>
|
|
</view>
|
|
|
|
</view>
|