|
@@ -15,39 +15,43 @@
|
|
</view>
|
|
</view>
|
|
<!-- 登录 -->
|
|
<!-- 登录 -->
|
|
<form bindsubmit="onSubmit">
|
|
<form bindsubmit="onSubmit">
|
|
- <view class="two_2" hidden="{{current==0}}">
|
|
|
|
- <view class="value">
|
|
|
|
- <input class="input" type='text' name="account" value="{{form.account}}" placeholder="请输入账号" />
|
|
|
|
|
|
+ <scroll-view scroll-y="true" style="max-height: 600rpx;" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll">
|
|
|
|
+ <view class="two_2" hidden="{{current==0}}">
|
|
|
|
+ <view class="value">
|
|
|
|
+ <input class="input" type='text' name="account" value="{{form.account}}" placeholder="请输入账号" />
|
|
|
|
+ </view>
|
|
|
|
+ <view class="value">
|
|
|
|
+ <input class="input" type='text' name="password" value="{{form.password}}" password placeholder="请输入密码" />
|
|
|
|
+ </view>
|
|
|
|
+ <view class="forget">
|
|
|
|
+ <text bindtap="forgot">忘记密码?</text>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view class="value">
|
|
|
|
- <input class="input" type='text' name="password" value="{{form.password}}" password placeholder="请输入密码" />
|
|
|
|
- </view>
|
|
|
|
- <view class="forget">
|
|
|
|
- <text bindtap="forgot">忘记密码?</text>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ </scroll-view>
|
|
<view class="button" hidden="{{current==0}}">
|
|
<view class="button" hidden="{{current==0}}">
|
|
<button class="btn" type="primary" form-type="submit">立即登录</button>
|
|
<button class="btn" type="primary" form-type="submit">立即登录</button>
|
|
</view>
|
|
</view>
|
|
</form>
|
|
</form>
|
|
<!-- 注册 -->
|
|
<!-- 注册 -->
|
|
<form bindsubmit="reSubmit">
|
|
<form bindsubmit="reSubmit">
|
|
- <view class="two_2" hidden="{{current==1}}">
|
|
|
|
- <view class="value">
|
|
|
|
- <input class="input" type='text' name="account" value="{{form.account}}" placeholder="请输入账号" />
|
|
|
|
- </view>
|
|
|
|
- <view class="value">
|
|
|
|
- <input class="input" type='text' name="password" value="{{form.password}}" password placeholder="请输入密码" />
|
|
|
|
|
|
+ <scroll-view scroll-y="true" style="max-height: 600rpx;" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll">
|
|
|
|
+ <view class="two_2" hidden="{{current==1}}">
|
|
|
|
+ <view class="value">
|
|
|
|
+ <input class="input" type='text' name="account" value="{{form.account}}" placeholder="请输入账号" />
|
|
|
|
+ </view>
|
|
|
|
+ <view class="value">
|
|
|
|
+ <input class="input" type='text' name="password" value="{{form.password}}" password placeholder="请输入密码" />
|
|
|
|
+ </view>
|
|
|
|
+ <view class="value">
|
|
|
|
+ <input class="input" type='text' name="is_password" value="{{form.is_password}}" placeholder="再次输入密码" password></input>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="value">
|
|
|
|
+ <picker class="picker" mode="selector" bindchange="typeChange" name="type" range-key="label" range="{{typeList}}">
|
|
|
|
+ <view class="weui-select">{{form.type_name||'请选择用户类别'}}</view>
|
|
|
|
+ </picker>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view class="value">
|
|
|
|
- <input class="input" type='text' name="is_password" value="{{form.is_password}}" placeholder="再次输入密码" password></input>
|
|
|
|
- </view>
|
|
|
|
- <view class="value">
|
|
|
|
- <picker class="picker" mode="selector" bindchange="typeChange" name="type" range-key="label" range="{{typeList}}">
|
|
|
|
- <view class="weui-select">{{form.type_name||'请选择用户类别'}}</view>
|
|
|
|
- </picker>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ </scroll-view>
|
|
<view class="button" hidden="{{current==1}}">
|
|
<view class="button" hidden="{{current==1}}">
|
|
<button class="btn" type="primary" form-type="submit">立即注册</button>
|
|
<button class="btn" type="primary" form-type="submit">立即注册</button>
|
|
</view>
|
|
</view>
|