登录页面样式小调整
This commit is contained in:
@@ -1,26 +1,21 @@
|
|||||||
<!--pages/login/login.wxml-->
|
<!--pages/login/login.wxml-->
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<view class="login-icon">
|
<view class="login-icon">
|
||||||
<image class="login-img" src="../../icon/logo.webp"></image>
|
<image class="login-img" src="../../icon/login-background.svg"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="login-from">
|
<view class="login-from">
|
||||||
|
|
||||||
<!--账号-->
|
<!--账号-->
|
||||||
<view class="inputView">
|
<view class="inputView">
|
||||||
<image class="nameImage" src="../../icon/username.png"></image>
|
<image class="nameImage" src="../../icon/username.png"></image>
|
||||||
<label class="loginLab">账号</label>
|
<input class="inputText" placeholder="账号" bindinput="usernameInput" />
|
||||||
<input class="inputText" placeholder="请输入账号" bindinput="usernameInput" />
|
|
||||||
</view>
|
</view>
|
||||||
<view class="line"></view>
|
<view class="line"></view>
|
||||||
|
|
||||||
<!--密码-->
|
<!--密码-->
|
||||||
<view class="inputView" style="margin-top:30px;">
|
<view class="inputView" style="margin-top:30px;">
|
||||||
<image class="keyImage" src="../../icon/password.png"></image>
|
<image class="keyImage" src="../../icon/password.png"></image>
|
||||||
<label class="loginLab">密码</label>
|
<input class="inputText" password="true" placeholder="密码" bindinput="passwordInput" />
|
||||||
<input class="inputText" password="true" placeholder="请输入密码" bindinput="passwordInput" />
|
|
||||||
</view>
|
</view>
|
||||||
<view class="line"></view>
|
<view class="line"></view>
|
||||||
|
|
||||||
<!--按钮-->
|
<!--按钮-->
|
||||||
<view class="loginBtnView" style="margin-top: 30px;">
|
<view class="loginBtnView" style="margin-top: 30px;">
|
||||||
<button class="loginBtn" type="primary" bindtap="login">登录</button>
|
<button class="loginBtn" type="primary" bindtap="login">登录</button>
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ page{
|
|||||||
.login-icon {
|
.login-icon {
|
||||||
flex: none;
|
flex: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-img {
|
.login-img {
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
width: 450rpx;
|
width: 450rpx;
|
||||||
@@ -30,11 +31,15 @@ page{
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*输入框*/
|
/*输入框*/
|
||||||
.nameImage, .keyImage {
|
.nameImage,
|
||||||
|
.keyImage {
|
||||||
margin-left: 22px;
|
margin-left: 22px;
|
||||||
|
margin-right: 8px;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px
|
height: 14px;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loginLab {
|
.loginLab {
|
||||||
@@ -42,14 +47,14 @@ page{
|
|||||||
color: #545454;
|
color: #545454;
|
||||||
font-size: 14px
|
font-size: 14px
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputText {
|
.inputText {
|
||||||
flex: block;
|
flex: block;
|
||||||
float: right;
|
float: right;
|
||||||
text-align: right;
|
|
||||||
margin-right: 22px;
|
margin-right: 22px;
|
||||||
margin-top: 11px;
|
margin-top: 11px;
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
font-size: 14px
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.line {
|
.line {
|
||||||
@@ -58,6 +63,7 @@ page{
|
|||||||
background-color: #cccccc;
|
background-color: #cccccc;
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*按钮*/
|
/*按钮*/
|
||||||
.loginBtnView {
|
.loginBtnView {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -71,4 +77,3 @@ page{
|
|||||||
width: 80%;
|
width: 80%;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user