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.
71 lines
3.1 KiB
71 lines
3.1 KiB
<page-meta>
|
|
<navigation-bar title="{{action_text[action]}}" />
|
|
</page-meta>
|
|
|
|
<view class="container" wx:if="{{!signUp && logIn}}">
|
|
<view class="block_blueBig">
|
|
<view class="white_big" bindtap="log_In">注册</view>
|
|
<form class="account-form" bindsubmit="onSubmit">
|
|
<view class="inputs">
|
|
<view class="input-wrap">
|
|
<image src="../../../images/denglu.png" class="mini_button"></image>
|
|
<input class="input" name="login" value="{{login}}" placeholder="邮箱或手机号"></input>
|
|
</view>
|
|
<view class="input-wrap">
|
|
<image src="../../../images/yanzhengma.png" class="mini_button"></image>
|
|
<input class="input" name="code" placeholder="验证码"></input>
|
|
<button plain id="code" form-type="submit" loading="{{code_status==2}}" disabled="{{code_status}}" style="width: 100rpx;">
|
|
{{code_button_text}}
|
|
</button>
|
|
</view>
|
|
<view class="input-wrap">
|
|
<image src="../../../images/suo.png" class="mini_button"></image>
|
|
<input password name="password" value="{{password}}" placeholder="请输入密码"></input>
|
|
</view>
|
|
<view class="input-wrap {{action=='reset'?'':'hidden'}}">
|
|
<image src="../../../images/suo.png" class="mini_button"></image>
|
|
<input password name="password_confirmation" placeholder="请再次输入密码"></input>
|
|
</view>
|
|
<view class="checkbox-wrap">
|
|
<switch type="checkbox" name="save_password" color="#00b0f0" checked="{{save_password}}">保存密码</switch>
|
|
</view>
|
|
</view>
|
|
<button class="register" id="register" form-type="submit" style="width:100%">注 册</button>
|
|
</form>
|
|
</view>
|
|
<view class="white_little block_red" bindtap="change" bindtap="sign_Up">登录</view>
|
|
</view>
|
|
|
|
|
|
<view class="container" wx:else>
|
|
<view class="block_blue">
|
|
<view class="white_little" bindtap="log_In">注册</view>
|
|
</view>
|
|
<view class="white_big">登录</view>
|
|
<form class="account-form" bindsubmit="onSubmit">
|
|
<view class="inputs">
|
|
<view class="input-wrap">
|
|
<image src="../../../images/denglu.png" class="mini_button"></image>
|
|
<input class="input" name="login" value="{{login}}" placeholder="邮箱或手机号"></input>
|
|
</view>
|
|
<view class="input-wrap">
|
|
<image src="../../../images/suo.png" class="mini_button"></image>
|
|
<input class="input" password name="password" value="{{password}}" placeholder="请输入密码"></input>
|
|
</view>
|
|
</view>
|
|
<view class="check_row">
|
|
<view class="save_password">
|
|
<switch type="checkbox" name="save_password" color="#00b0f0" checked="{{save_password}}">保存密码</switch>
|
|
</view>
|
|
<navigator class="reset" >忘记密码</navigator>
|
|
</view>
|
|
<button id="login" form-type="submit" class="login" style="width:100%">登 录</button>
|
|
</form>
|
|
</view>
|
|
|
|
<view class="foot">
|
|
<navigator class="agreement" hover-class="none" url="/account/pages/agreement/agreement">
|
|
登录即代表您同意 <text class="color-main agreement">用户协议</text>
|
|
</navigator>
|
|
</view>
|