Files
fish-uniapp/unpackage/dist/dev/mp-weixin/pages/user/Login/index.wxml
T

1 line
4.7 KiB
Plaintext

<view class="register absolute"><view class="shading"><view class="pictrue acea-row row-center-wrapper"><image src="@/assets/images/logo.png"></image></view></view><block wx:if="{{formItem===1}}"><view class="whiteBg"><view class="title acea-row row-center-wrapper"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navTap',[index]]]]]}}" class="{{['item',current===index?'on':'']}}" bindtap="__e">{{item}}</view></block></view><view class="list" hidden="{{current!==0}}"><form data-event-opts="{{[['submit',[['submit',['$event']]]]]}}" bindsubmit="__e"><view class="item"><view class="acea-row row-between-wrapper"><svg class="icon" vue-id="1" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('2')+','+('1')}}" xlink:href="#icon-phone_" bind:__l="__l"></use></svg><input type="text" placeholder="输入手机号码" required data-event-opts="{{[['input',[['__set_model',['','account','$event',[]]]]]]}}" value="{{account}}" bindinput="__e"/></view></view><view class="item"><view class="acea-row row-between-wrapper"><svg class="icon" vue-id="3" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('4')+','+('3')}}" xlink:href="#icon-code_" bind:__l="__l"></use></svg><input type="password" placeholder="填写登录密码" required data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" value="{{password}}" bindinput="__e"/></view></view></form></view><view class="list" hidden="{{current!==1}}"><view class="item"><view class="acea-row row-between-wrapper"><svg class="icon" vue-id="5" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('6')+','+('5')}}" xlink:href="#icon-phone_" bind:__l="__l"></use></svg><input type="text" placeholder="输入手机号码" data-event-opts="{{[['input',[['__set_model',['','account','$event',[]]]]]]}}" value="{{account}}" bindinput="__e"/></view></view><view class="item"><view class="align-left"><svg class="icon" vue-id="7" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('8')+','+('7')}}" xlink:href="#icon-code_1" bind:__l="__l"></use></svg><input class="codeIput" type="text" placeholder="填写验证码" data-event-opts="{{[['input',[['__set_model',['','captcha','$event',[]]]]]]}}" value="{{captcha}}" bindinput="__e"/><button class="{{['code',disabled===true?'on':'']}}" disabled="{{disabled}}" data-event-opts="{{[['tap',[['code',['$event']]]]]}}" bindtap="__e">{{text}}</button></view></view></view><view class="logon" hidden="{{current!==1}}" data-event-opts="{{[['tap',[['loginMobile',['$event']]]]]}}" bindtap="__e">登录</view><view class="logon" hidden="{{current===1}}" data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" bindtap="__e">登录</view><view class="tip">没有账号?<text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="font-color-red" bindtap="__e">立即注册</text></view></view></block><block wx:else><view class="whiteBg"><view class="title">注册账号</view><view class="list"><view class="item"><view><svg class="icon" vue-id="9" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('10')+','+('9')}}" xlink:href="#icon-phone_" bind:__l="__l"></use></svg><input type="text" placeholder="输入手机号码" data-event-opts="{{[['input',[['__set_model',['','account','$event',[]]]]]]}}" value="{{account}}" bindinput="__e"/></view></view><view class="item"><view class="align-left"><svg class="icon" vue-id="11" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('12')+','+('11')}}" xlink:href="#icon-code_1" bind:__l="__l"></use></svg><input class="codeIput" type="text" placeholder="填写验证码" data-event-opts="{{[['input',[['__set_model',['','captcha','$event',[]]]]]]}}" value="{{captcha}}" bindinput="__e"/><button class="{{['code',disabled===true?'on':'']}}" disabled="{{disabled}}" data-event-opts="{{[['tap',[['code',['$event']]]]]}}" bindtap="__e">{{text}}</button></view></view><view class="item"><view><svg class="icon" vue-id="13" aria-hidden="true" bind:__l="__l" vue-slots="{{['default']}}"><use vue-id="{{('14')+','+('13')}}" xlink:href="#icon-code_" bind:__l="__l"></use></svg><input type="password" placeholder="填写您的登录密码" data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" value="{{password}}" bindinput="__e"/></view></view></view><view data-event-opts="{{[['tap',[['register',['$event']]]]]}}" class="logon" bindtap="__e">注册</view><view class="tip">已有账号?<text data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="font-color-red" bindtap="__e">立即登录</text></view></view></block><view class="bottom"></view></view>