Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9a824235
authored
Feb 15, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
2adf481c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
assets/css/mine/login.scss
pages.json
pages/mine/login.vue
assets/css/mine/login.scss
View file @
9a824235
...
...
@@ -6,7 +6,7 @@ page {
.logo
{
width
:
181rpx
;
height
:
158rpx
;
background
:
url('http://img.ichunt.com/images/ichunt/minProgram/scmMinProgram/662003b7227315cd1089476b71f3589c.png')
no-repeat
center
;
background
:
url('http
s
://img.ichunt.com/images/ichunt/minProgram/scmMinProgram/662003b7227315cd1089476b71f3589c.png')
no-repeat
center
;
background-size
:
cover
;
margin-bottom
:
26rpx
;
}
...
...
@@ -32,11 +32,8 @@ page {
color
:
#197adb
;
margin-right
:
20rpx
;
}
.
inp
{
.
uni-input
{
font-size
:
28rpx
;
&
:
-
ms-input-placeholder
{
color
:
#6e767a
;
}
}
&
:focus-within
{
background
:
#ffffff
;
...
...
@@ -50,6 +47,7 @@ page {
font-size
:
28rpx
;
color
:
#ffffff
;
margin-top
:
40rpx
;
letter-spacing
:
10rpx
;
}
}
.copyright
{
...
...
pages.json
View file @
9a824235
...
...
@@ -43,7 +43,7 @@
},{
"path"
:
"pages/mine/login"
,
"style"
:
{
"navigationBarTitleText"
:
"
绑定账号
"
"navigationBarTitleText"
:
"
登录
"
}
}],
"globalStyle"
:
{
...
...
pages/mine/login.vue
View file @
9a824235
...
...
@@ -5,11 +5,11 @@
<view
class=
"form-box column rowCenter verCenter"
>
<view
class=
"input-box row verCenter"
>
<text
class=
"iconfont icon-riqi"
></text>
<input
type=
"text"
placeholder=
"请输入登录账号"
v-model=
"account"
/>
<input
type=
"text"
class=
"uni-input"
placeholder=
"请输入登录账号"
v-model=
"account"
placeholder-style=
"color: #6E767A;"
/>
</view>
<view
class=
"input-box row verCenter"
>
<text
class=
"iconfont icon-a-riqi1"
></text>
<input
type=
"password"
placeholder=
"请输入登录密码"
v-model=
"passwd"
/>
<input
type=
"password"
class=
"uni-input"
placeholder=
"请输入登录密码"
v-model=
"passwd"
placeholder-style=
"color: #6E767A;"
/>
</view>
<button
class=
"btn row rowCenter verCenter"
@
click=
"submit()"
>
登录
</button>
</view>
...
...
@@ -39,7 +39,7 @@ export default {
if
(
!
this
.
account
)
{
uni
.
showToast
({
title
:
'请输入登录账号'
,
icon
:
'
none
'
icon
:
'
error
'
});
return
false
;
}
...
...
@@ -47,7 +47,7 @@ export default {
if
(
!
this
.
passwd
)
{
uni
.
showToast
({
title
:
'请输入登录密码'
,
icon
:
'
none
'
icon
:
'
error
'
});
return
false
;
}
...
...
@@ -61,7 +61,7 @@ export default {
}
else
{
uni
.
showToast
({
title
:
res
.
err_msg
,
icon
:
'
none
'
icon
:
'
error
'
});
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment