Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
76497814
Commit
76497814
authored
Apr 01, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
okok
parent
5f32a654
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
3 deletions
+25
-3
bg1.jpg
assets/images/login/bg1.jpg
+0
-0
bg1.png
assets/images/login/bg1.png
+0
-0
bg2.jpg
assets/images/login/bg2.jpg
+0
-0
bg3.jpg
assets/images/login/bg3.jpg
+0
-0
index.vue
pages/account/login/index.vue
+1
-1
hello.vue
pages/hello.vue
+24
-2
No files found.
assets/images/login/bg1.jpg
0 → 100644
View file @
76497814
568 KB
assets/images/login/bg1.png
deleted
100644 → 0
View file @
5f32a654
This image diff could not be displayed because it is too large. You can
view the blob
instead.
assets/images/login/bg2.jpg
View replaced file @
5f32a654
View file @
76497814
This diff is collapsed.
Click to expand it.
assets/images/login/bg3.jpg
View replaced file @
5f32a654
View file @
76497814
This diff is collapsed.
Click to expand it.
pages/account/login/index.vue
View file @
76497814
...
@@ -145,7 +145,7 @@ export default {
...
@@ -145,7 +145,7 @@ export default {
background-image: url("../../../assets/images/login/bg0.png");
background-image: url("../../../assets/images/login/bg0.png");
}
}
.bg1 {
.bg1 {
background-image: url("../../../assets/images/login/bg1.
pn
g");
background-image: url("../../../assets/images/login/bg1.
jp
g");
}
}
.bg2 {
.bg2 {
background-image: url("../../../assets/images/login/bg2.jpg");
background-image: url("../../../assets/images/login/bg2.jpg");
...
...
pages/hello.vue
View file @
76497814
<
template
>
<
template
>
<div>
<h1>
这是一个测试页面
</h1>
<h1>
这是一个测试页面
</h1>
<Button
@
click=
"login"
>
Login
</Button>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
api
from
"axios"
export
default
{
export
default
{
layout
:
"empty"
,
}
methods
:
{
login
()
{
api
.
post
(
"http://localhost:10010/connect/token"
,
{
client_id
:
"api_client"
,
client_secret
:
"secret"
,
grant_type
:
"client_credentials"
,
username
:
"13211111111"
,
password
:
"1"
})
.
then
(
r
=>
{
console
.
warn
(
r
);
})
.
catch
(
e
=>
{
console
.
info
(
e
);
});
}
}
};
</
script
>
</
script
>
\ No newline at end of file
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