初始化
This commit is contained in:
48
pages/login/login.wxml
Normal file
48
pages/login/login.wxml
Normal file
@@ -0,0 +1,48 @@
|
||||
<cu-custom bgColor="bg-cyan">
|
||||
<view slot="content">BLV</view>
|
||||
</cu-custom>
|
||||
<!-- 选择按钮 -->
|
||||
<view wx:if="{{!login}}" class="padding " >
|
||||
<view class="flex justify-center">
|
||||
<!-- 辅助布局 -->
|
||||
<view class="flex-sub padding-sm margin-xs radius"></view>
|
||||
<!-- 辅助布局 -->
|
||||
<view class="flex-treble bg-cyan padding-sm margin-xs radius text-center" bindtap="getlogin">账号密码登录</view>
|
||||
<!-- 辅助布局 -->
|
||||
<view class="flex-sub padding-sm margin-xs radius"></view>
|
||||
<!-- 辅助布局 -->
|
||||
</view>
|
||||
<view class="flex">
|
||||
<!-- 辅助布局 -->
|
||||
<view class="flex-sub padding-sm margin-xs radius"></view>
|
||||
<!-- 辅助布局 -->
|
||||
<view class="flex-treble bg-green padding-sm margin-xs radius text-center" bindtap="getwxlogin">微信登录</view>
|
||||
<!-- 辅助布局 -->
|
||||
<view class="flex-sub padding-sm margin-xs radius"></view>
|
||||
<!-- 辅助布局 -->
|
||||
</view>
|
||||
</view>
|
||||
<!-- 密码账号登录 -->
|
||||
<view wx:if="{{login}}" class="padding " >
|
||||
<view class="flex justify-center text-center">
|
||||
<view class="flex-treble padding-sm margin-xs ">
|
||||
<form>
|
||||
<view class="cu-form-group margin-top">
|
||||
<view class="title">账号</view>
|
||||
<input placeholder="请输入账号" model:value="{{Uid}}" ></input>
|
||||
</view>
|
||||
<view class="cu-form-group">
|
||||
<view class="title">密码</view>
|
||||
<input type="password" placeholder="请输入密码" model:value="{{Pwd}}" ></input>
|
||||
</view>
|
||||
</form>
|
||||
<view>
|
||||
<button class="cu-btn bg-cyan margin lg" data-type="0" bindtap="submitForm">临时登录</button>
|
||||
<button class="cu-btn bg-cyan margin-top lg" data-type="1" bindtap="submitForm">长期登录</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<mp-toptips msg="{{error}}" type="error" show="{{error}}"></mp-toptips>
|
||||
Reference in New Issue
Block a user