Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
rd-data-screen
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 eadbc3db
authored
Jun 05, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新样式 逻辑
1 parent
8577d8fc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
14 deletions
src/components/Legend.vue
src/components/ViewTitle.vue
src/views/equity/components/ProductRank.vue
src/views/equity/components/RankContent.vue
src/views/equity/components/ThisYearRank.vue
src/views/equity/components/TotalNumRank.vue
src/views/equity/components/VehicleType.vue
src/components/Legend.vue
View file @
eadbc3d
...
...
@@ -44,12 +44,12 @@ export default {
display
:
flex
;
align-items
:
center
;
flex-wrap
:
wrap
;
width
:
1
1
vw
;
width
:
1
4
vw
;
height
:
8.54vh
;
margin-left
:
0.42vw
;
.legend-item
{
width
:
5vw
;
width
:
6.
5vw
;
height
:
2.44vh
;
background
:
#0d133b
;
align-items
:
center
;
...
...
@@ -60,7 +60,7 @@ export default {
white-space
:
nowrap
;
.item-content
{
width
:
4.2
vw
;
width
:
5.5
vw
;
overflow
:
hidden
;
}
...
...
src/components/ViewTitle.vue
View file @
eadbc3d
...
...
@@ -51,13 +51,9 @@
<
script
type=
'text/ecmascript-6'
>
import
FeedBack
from
'components/FeedBack'
import
data
from
'utils/data'
// import FeedBack from 'plugins/FeedBack'
export
default
{
name
:
'ViewTitle'
,
components
:
{
FeedBack
},
props
:
{
title
:
{
type
:
String
,
...
...
@@ -90,6 +86,8 @@ export default {
})
},
changeTitles
()
{
console
.
log
(
'???????'
)
console
.
log
(
!
this
.
titleClick
)
this
.
titleClick
=
!
this
.
titleClick
},
goPage
(
val
)
{
...
...
@@ -222,11 +220,12 @@ export default {
.float-drag-wrap
{
position
:
absolute
;
//
position
:
relative
;
right
:
0
;
top
:
18%
;
z-index
:
6666
;
opacity
:
1
;
width
:
1.5%
;
.float-drag-object
{
text-align
:
center
;
font-size
:
1vw
;
...
...
src/views/equity/components/ProductRank.vue
View file @
eadbc3d
...
...
@@ -2,7 +2,7 @@
<div
class=
'product'
>
<div
class=
'title title-icon'
>
<span
class=
'icon'
></span>
<span>
产品排名前
5
</span>
<span>
产品排名前
10
</span>
</div>
<div
class=
'container flex'
>
<pie-chart
height=
'12vh'
:id=
"'glproduct'"
:list=
'productData'
:keys=
'chart.keys'
></pie-chart>
...
...
@@ -54,6 +54,7 @@ export default {
.product
{
background
:
#0b0e31
;
width
:
20vw
;
height
:
21vh
;
.container{
margin-top
:
3vh
;
}
...
...
src/views/equity/components/RankContent.vue
View file @
eadbc3d
...
...
@@ -29,7 +29,7 @@ export default {
<
style
lang=
'scss'
scoped
>
.rank
{
margin
:
3
vh
0
;
margin
:
5
vh
0
;
width
:
100%
;
height
:
15vh
;
display
:
flex
;
...
...
src/views/equity/components/ThisYearRank.vue
View file @
eadbc3d
...
...
@@ -46,6 +46,7 @@ export default {
.product
{
background
:
#0b0e31
;
width
:
20vw
;
height
:
21vh
;
.container{
margin-top
:
3vh
;
}
...
...
src/views/equity/components/TotalNumRank.vue
View file @
eadbc3d
...
...
@@ -47,6 +47,7 @@ export default {
.product
{
background
:
#0b0e31
;
width
:
20vw
;
height
:
21vh
;
.container{
margin-top
:
3vh
;
}
...
...
src/views/equity/components/VehicleType.vue
View file @
eadbc3d
...
...
@@ -2,11 +2,11 @@
<div
class=
'vehicle'
>
<div
class=
'title title-icon'
>
<span
class=
'icon'
></span>
<span>
车型排名前
5
</span>
<span>
车型排名前
10
</span>
</div>
<div
class=
'container flex'
>
<pie-chart
height=
'1
2
vh'
:id=
"'vehicle'"
:list=
'vehicleData'
:keys=
'chart.keys'
></pie-chart>
<pie-chart
height=
'1
4
vh'
:id=
"'vehicle'"
:list=
'vehicleData'
:keys=
'chart.keys'
></pie-chart>
<Legend
:list=
'vehicleData'
:showName=
"'vehicleBrand'"
></Legend>
<!--
<template
v-if=
"showType=='gl'"
>
-->
<!--
<pie-chart
height=
'12vh'
:id=
"'glvehicle'"
:list=
'glvehicleData'
:keys=
'chart.keys'
></pie-chart>
-->
...
...
@@ -56,9 +56,10 @@ export default {
.vehicle
{
background
:
#0b0e31
;
width
:
20vw
;
//
height
:
18vh
;
height
:
21vh
;
//
height
:
20vh
;
.container{
margin-top
:
3
vh
;
margin-top
:
2
vh
;
}
}
</
style
>
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