Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c57e7d15
authored
Jun 29, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v1.0.0' of
http://192.168.3.233:8090/gh/data-view
into dev_v1.0.0
2 parents
9371579a
3d24f49e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
11 deletions
src/assets/css/index.scss
src/components/ViewContent.vue
src/components/ViewContentLeft.vue
src/components/ViewContentRight.vue
src/components/ViewTabs.vue
src/assets/css/index.scss
View file @
c57e7d1
...
@@ -72,6 +72,7 @@ img {
...
@@ -72,6 +72,7 @@ img {
.box
{
.box
{
background
:
#1d1c1c
;
background
:
#1d1c1c
;
overflow
:
hidden
;
}
}
.inline
{
.inline
{
display
:
inline-block
;
display
:
inline-block
;
...
...
src/components/ViewContent.vue
View file @
c57e7d1
...
@@ -23,10 +23,16 @@ export default {
...
@@ -23,10 +23,16 @@ export default {
height
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
padding
:
1vh
24px
2
vh
;
padding
:
1vh
24px
1.1
vh
;
display
:
grid
;
//
display
:
grid
;
grid-template-columns
:
repeat
(
2
,
1
fr
)
;
//
grid-template-columns
:
688px
680px
;
gap
:
0
24px
;
gap
:
0
24px
;
display
:
flex
;
justify-content
:
space-between
;
>
div
{
height
:
100%
;
flex
:
1
;
}
&
::after
{
&
::after
{
content
:
''
;
content
:
''
;
position
:
absolute
;
position
:
absolute
;
...
...
src/components/ViewContentLeft.vue
View file @
c57e7d1
...
@@ -11,9 +11,9 @@
...
@@ -11,9 +11,9 @@
</div>
</div>
<div
class=
"bottom"
>
<div
class=
"bottom"
>
<view-sub-title
title=
"销售数据总览"
/>
<view-sub-title
title=
"销售数据总览"
/>
<view-line-group
height=
"1
4
.9vh"
>
<view-line-group
height=
"1
5
.9vh"
>
<div
slot=
"1"
><Flow
height=
"1
4
.9"
></Flow></div>
<div
slot=
"1"
><Flow
height=
"1
5
.9"
></Flow></div>
<div
slot=
"2"
><Trend
height=
"1
4
.9"
></Trend></div>
<div
slot=
"2"
><Trend
height=
"1
5
.9"
></Trend></div>
</view-line-group>
</view-line-group>
<view-pie-group>
<view-pie-group>
<div
slot=
"1"
><EnterCategory
:height=
"defaultHeight"
></EnterCategory></div>
<div
slot=
"1"
><EnterCategory
:height=
"defaultHeight"
></EnterCategory></div>
...
@@ -68,7 +68,7 @@ export default {
...
@@ -68,7 +68,7 @@ export default {
}
}
.bottom
{
.bottom
{
//
height
:
calc
(
41%
-
16px
);
//
height
:
calc
(
41%
-
16px
);
height
:
3
5.9
vh
;
height
:
3
6.8
vh
;
margin-top
:
auto
;
margin-top
:
auto
;
}
}
}
}
...
...
src/components/ViewContentRight.vue
View file @
c57e7d1
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
<div
slot=
"1"
><First
:height=
"defaultHeight"
></First></div>
<div
slot=
"1"
><First
:height=
"defaultHeight"
></First></div>
<div
slot=
"2"
><Sadayasu
:height=
"defaultHeight"
></Sadayasu></div>
<div
slot=
"2"
><Sadayasu
:height=
"defaultHeight"
></Sadayasu></div>
</view-line-group>
</view-line-group>
<view-line-group
height=
"2
5.6
vh"
hideMargin
>
<view-line-group
height=
"2
6.5
vh"
hideMargin
>
<div
slot=
"1"
><Analyze
height=
"2
5.6
"
></Analyze></div>
<div
slot=
"1"
><Analyze
height=
"2
6.5
"
></Analyze></div>
<div
slot=
"2"
><Mileage
height=
"2
5.6
"
></Mileage></div>
<div
slot=
"2"
><Mileage
height=
"2
6.5
"
></Mileage></div>
</view-line-group>
</view-line-group>
</div>
</div>
</
template
>
</
template
>
...
...
src/components/ViewTabs.vue
View file @
c57e7d1
...
@@ -30,7 +30,7 @@ export default {
...
@@ -30,7 +30,7 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.tabs
{
.tabs
{
margin-bottom
:
0.
5
vh
;
margin-bottom
:
0.
6
vh
;
.tab
{
.tab
{
height
:
7.8vh
;
height
:
7.8vh
;
display
:
grid
;
display
:
grid
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment