qingcheng-xiaochengxu/pages/logain/logain.wxml

52 lines
3.0 KiB
Plaintext

<view class="flex-col page">
<view class="flex-col justify-start items-center self-center text-wrapper">
<image src="/image/logo.png" mode="aspectFill"></image>
<text class="font text">欢迎登陆—青橙校园</text>
</view>
<view class="flex-col self-stretch group">
<view class="flex-row items-baseline group_2">
<text class="font_2 text_2" bind:tap="showchangeback"
style="color: {{currentTab == 'password' ? '#ff8d1a' : '#383838'}}; font-weight: {{currentTab == 'password' ? 'bold' : 'normal'}};">密码登录</text>
<text class="font_2 text_2 ml-7" style="color: {{currentTab == 'code' ? '#ff8d1a' : '#383838'}}; font-weight: {{currentTab == 'code' ? 'bold' : 'normal'}};" bind:tap="showchange">验证码登录</text>
</view>
<view class="flex-col mt-21">
<view wx:if="{{show==true}}" class="flex-col self-stretch">
<view class="flex-col justify-start items-start relative text-wrapper_2">
<input class="text_4 font_4 text_1" bindinput="yanzhengphone" placeholder="请输入手机号" />
</view>
<view class="flex-row justify-between section mt-21">
<input class="font_4 text_5" bindinput="yanzhengcode" placeholder="请输入验证码" />
<text bind:tap="{{isCountingDown ? '' : 'getcode'}}"style="color: {{isCountingDown ? '#ccc' : '#ff8d1a'}};" class="font_2 text_6"> {{ isCountingDown ? countdown + '秒后重试' : '获取验证码' }}</text>
</view>
</view>
<view wx:if="{{morenshow==true}}" class="flex-col self-stretch">
<view class="flex-col justify-start items-start relative text-wrapper_2">
<input class="text_4 font_4 text_1" value="{{15888610253}}" bindinput="bindKeyInput" placeholder="请输入账号" />
</view>
<view class="flex-row justify-between section mt-21">
<input class="font_4 text_5"
value="{123456}"
bindinput="bindKeyInputpassword" password type="text" placeholder="请输入密码" />
</view>
</view>
<text class="self-end font_3 text_7" bind:tap="wangji">忘记密码</text>
<view wx:if="{{morenshow==true}}" class="flex-col justify-start items-center self-stretch text-wrapper_3" bind:tap="submit">
<text class="font text_8">登录</text>
</view>
<view wx:if="{{show==true}}" class="flex-col justify-start items-center self-stretch text-wrapper_3" bind:tap="submityanzhengma">
<text class="font text_8">登录</text>
</view>
</view>
</view>
<view class="flex-col self-stretch group_3">
<view class="flex-row items-center self-start">
<checkbox class="radio" color="#ff8d1a" bind:tap="onAgreeChange" value="cb" />
<text class="shrink-0 font_5 text_9">我已阅读并同意</text>
<text class="font_5 text_10">用户服务协议、隐私政策</text>
</view>
<view class="self-center group_4 mt-16">
<text class="font_3 text_11">没有账号?</text>
<text class="font_3 text_12" bind:tap="gozucepage">去注册→</text>
</view>
</view>
</view>