mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
优化代码
This commit is contained in:
parent
9c4426d01d
commit
6d82b77d99
@ -22,7 +22,7 @@
|
||||
</view>
|
||||
|
||||
<view class="padding flex flex-direction">
|
||||
<button class="cu-btn bg-green margin-tb-sm lg" @tap="doLogin()">登录</button>
|
||||
<button class="cu-btn bg-blue margin-tb-sm lg" @tap="doLogin()">登录</button>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
@ -137,7 +137,7 @@
|
||||
}
|
||||
|
||||
.login-nav {
|
||||
background-color: #00AA00;
|
||||
background-color: #368CFE;
|
||||
height: 120upx;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
<view><view class="login-nav flex justify-center align-center"><text>请登录</text></view><scroll-view scroll-y="{{true}}"><view class="flex justify-center logo"><view class="cu-avatar xl round lage-avatar logo-lage" style="{{('background-image:url('+logoUrl+');')}}"></view></view><view class="margin-top"><view class="cu-form-group margin-top"><view class="title">用户名</view><input placeholder="请输入用户名" name="input" data-event-opts="{{[['input',[['__set_model',['','username','$event',[]]]]]]}}" value="{{username}}" bindinput="__e"/></view><view class="cu-form-group"><view class="title">密码</view><input placeholder="请输入密码" type="password" name="input" data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" value="{{password}}" bindinput="__e"/></view></view><view class="padding flex flex-direction"><button data-event-opts="{{[['tap',[['doLogin']]]]}}" class="cu-btn bg-green margin-tb-sm lg" bindtap="__e">登录</button></view></scroll-view></view>
|
||||
<view><view class="login-nav flex justify-center align-center"><text>请登录</text></view><scroll-view scroll-y="{{true}}"><view class="flex justify-center logo"><view class="cu-avatar xl round lage-avatar logo-lage" style="{{('background-image:url('+logoUrl+');')}}"></view></view><view class="margin-top"><view class="cu-form-group margin-top"><view class="title">用户名</view><input placeholder="请输入用户名" name="input" data-event-opts="{{[['input',[['__set_model',['','username','$event',[]]]]]]}}" value="{{username}}" bindinput="__e"/></view><view class="cu-form-group"><view class="title">密码</view><input placeholder="请输入密码" type="password" name="input" data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" value="{{password}}" bindinput="__e"/></view></view><view class="padding flex flex-direction"><button data-event-opts="{{[['tap',[['doLogin']]]]}}" class="cu-btn bg-blue margin-tb-sm lg" bindtap="__e">登录</button></view></scroll-view></view>
|
||||
@ -8,7 +8,7 @@
|
||||
width: 180rpx;
|
||||
}
|
||||
.login-nav {
|
||||
background-color: #00AA00;
|
||||
background-color: #368CFE;
|
||||
height: 120rpx;
|
||||
}
|
||||
.login-nav text {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user