Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datax-cloud
Overview
Overview
Details
Activity
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
黄营
datax-cloud
Commits
9ff9db35
Commit
9ff9db35
authored
Oct 29, 2020
by
yuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目初始化
parent
95017b9a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
25 deletions
+24
-25
index.vue
datax-ui/src/layout/index.vue
+1
-2
index.scss
datax-ui/src/styles/index.scss
+1
-3
request.js
datax-ui/src/utils/request.js
+1
-1
index.vue
datax-ui/src/views/lock/index.vue
+2
-1
index.vue
datax-ui/src/views/login/index.vue
+19
-18
No files found.
datax-ui/src/layout/index.vue
View file @
9ff9db35
...
@@ -59,8 +59,7 @@ export default {
...
@@ -59,8 +59,7 @@ export default {
.app-wrapper
{
.app-wrapper
{
@include
clearfix;
@include
clearfix;
position
:
relative
;
position
:
relative
;
//
height
:
100%
;
height
:
100%
;
height
:
$
contentHeight
;
width
:
100%
;
width
:
100%
;
&.mobile.openSidebar{
&.mobile.openSidebar{
position
:
fixed
;
position
:
fixed
;
...
...
datax-ui/src/styles/index.scss
View file @
9ff9db35
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
@import
'./topbar.scss'
;
@import
'./topbar.scss'
;
body
{
body
{
height
:
$contentHeight
;
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
text-rendering
:
optimizeLegibility
;
text-rendering
:
optimizeLegibility
;
...
@@ -18,12 +17,11 @@ label {
...
@@ -18,12 +17,11 @@ label {
}
}
html
{
html
{
height
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
#app
{
#app
{
height
:
calc
(
100vh
)
;
height
:
100%
;
}
}
*,
*,
...
...
datax-ui/src/utils/request.js
View file @
9ff9db35
...
@@ -6,7 +6,7 @@ import router from '@/router'
...
@@ -6,7 +6,7 @@ import router from '@/router'
// create an axios instance
// create an axios instance
const
service
=
axios
.
create
({
const
service
=
axios
.
create
({
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
timeout
:
5
000
timeout
:
10
000
})
})
let
loadingInstance
let
loadingInstance
...
...
datax-ui/src/views/lock/index.vue
View file @
9ff9db35
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
<
script
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
{
mapGetters
}
from
'vuex'
export
default
{
export
default
{
name
:
'Lock'
,
name
:
'Lock'
,
data
()
{
data
()
{
...
@@ -69,7 +70,7 @@ export default {
...
@@ -69,7 +70,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.lock-container
{
.lock-container
{
height
:
100%
;
height
:
calc
(
100vh
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
...
...
datax-ui/src/views/login/index.vue
View file @
9ff9db35
...
@@ -86,30 +86,31 @@ export default {
...
@@ -86,30 +86,31 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.login-container
{
.login-container
{
height
:
calc
(
100vh
);
width
:
100%
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
height
:
100%
;
background-size
:
cover
;
background-size
:
cover
;
}
.title-container
{
.title-container
{
margin
:
0
auto
30px
auto
;
margin
:
0
auto
30px
auto
;
text-align
:
center
;
text-align
:
center
;
color
:
#707070
;
color
:
#707070
;
}
}
.login-form
{
.login-form
{
border-radius
:
6px
;
border-radius
:
6px
;
background
:
#ffffff
;
background
:
#ffffff
;
width
:
385px
;
width
:
385px
;
padding
:
25px
25px
5px
25px
;
padding
:
25px
25px
5px
25px
;
.el-input
{
.el-input
{
height
:
38px
;
input
{
height
:
38px
;
height
:
38px
;
input
{
height
:
38px
;
}
}
.input-icon
{
height
:
39px
;
width
:
14px
;
margin-left
:
2px
;
}
}
}
.input-icon
{
height
:
39px
;
width
:
14px
;
margin-left
:
2px
;
}
}
}
}
</
style
>
</
style
>
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