Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-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
潘自豪 Rambo Pan
shld-databoard-ui
Commits
58e314c8
Commit
58e314c8
authored
Sep 20, 2023
by
王礼鸿 Baimax Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式统一以及优化
parent
c36a9928
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
2 deletions
+23
-2
index.css
src/module/databoard/assets/index.css
+1
-1
order-proportion.vue
src/module/databoard/databoard/order-proportion.vue
+5
-0
turnover-detail.vue
src/module/databoard/databoard/turnover-detail.vue
+12
-1
index.vue
src/module/index/index.vue
+5
-0
No files found.
src/module/databoard/assets/index.css
View file @
58e314c8
...
...
@@ -34,7 +34,7 @@
margin-left
:
1rem
;
color
:
var
(
--lightblue-text-color
);
font-size
:
20px
;
font-family
:
AlimamaShuHeiTi
,
serif
;
/*font-family: AlimamaShuHeiTi, serif;*/
font-weight
:
bold
;
letter-spacing
:
2px
;
}
...
...
src/module/databoard/databoard/order-proportion.vue
View file @
58e314c8
...
...
@@ -137,10 +137,15 @@ input[type="button"]{
border
:
none
;
font-size
:
12px
;
border-radius
:
25px
;
font-weight
:
bold
;
padding
:
0
10px
;
color
:
#00c8d6
;
background-color
:
#1234a1
;
}
input
[
type
=
"button"
]
:hover
{
color
:
#1234a1
!important
;
background-color
:
#00c8d6
!important
;
}
.selectedBtn
{
color
:
#1234a1
!important
;
background-color
:
#00c8d6
!important
;
...
...
src/module/databoard/databoard/turnover-detail.vue
View file @
58e314c8
<
template
>
<div
class=
"turnover-detail"
>
<div
class=
"card-board"
>
<contrast-card
v-for=
"data in currentData.head"
style=
"height: 100%;width: 20%;"
@
click
.
native=
"selectLegend(data)"
>
<contrast-card
v-for=
"data in currentData.head"
style=
"height: 100%;width: 20%;"
:class=
"
{'selectCard': currentCard === data.title}"
@click.native="selectLegend(data)">
<title-content-mark
style=
"color: #369afa;float: left;width: 40%;font-size: 18px"
:title-style=
"
{'font-weight': 'bold'}" :title="data.title" :content="data.amount" isBold/>
<div
style=
"width: 60%; height: 100%; float:left; padding: 2% 2% 0 8%; line-height: 60px; display: flex; align-items: center;font-size: 16px;"
>
<table-column
style=
"float: left;width: 25%;"
:data=
"data.hb"
name=
"title"
/>
...
...
@@ -268,6 +268,7 @@ export default {
chart
:
null
,
currentBtn
:
"day"
,
currentLegend
:
'汽运(元)'
,
currentCard
:
'营业额'
,
chartOption
:{
legend
:
{
textStyle
:
{
...
...
@@ -418,6 +419,8 @@ export default {
}
else
{
this
.
chartOption
.
series
[
3
].
data
=
[];
}
this
.
currentLegend
=
name
;
this
.
currentCard
=
data
.
title
;
this
.
chart
.
setOption
(
this
.
chartOption
);
},
...
...
@@ -468,11 +471,16 @@ input[type="button"]{
margin
:
0.5%
;
border
:
none
;
font-size
:
12px
;
font-weight
:
bold
;
border-radius
:
25px
;
padding
:
0
10px
;
color
:
#00c8d6
;
background-color
:
#1234a1
;
}
input
[
type
=
"button"
]
:hover
{
color
:
#1234a1
!important
;
background-color
:
#00c8d6
!important
;
}
.selectedBtn
{
color
:
#1234a1
!important
;
background-color
:
#00c8d6
!important
;
...
...
@@ -481,4 +489,7 @@ input[type="button"]{
color
:
#00c8d6
;
background-color
:
#1234a1
;
}
.selectCard
{
background-color
:
var
(
--card-background-select-color
)
!important
;
}
</
style
>
src/module/index/index.vue
View file @
58e314c8
...
...
@@ -76,6 +76,7 @@ export default {
margin
:
0.5%
;
border
:
none
;
font-size
:
12px
;
font-weight
:
bold
;
border-radius
:
25px
;
padding
:
0
10px
;
line-height
:
100%
;
...
...
@@ -83,4 +84,8 @@ export default {
background-color
:
#1234a1
;
margin
:
auto
;
}
.btn
:hover
{
color
:
#1234a1
!important
;
background-color
:
#00c8d6
!important
;
}
</
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