Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
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 316e8ebb
authored
Jul 12, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
6ee0d41f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
78 additions
and
90 deletions
src/components/BarLineOptions.js
src/components/BarOptions.js
src/components/DetailTitle.vue
src/components/ViewTitle.vue
src/views/home/pages/ViewCrowdfunding.vue
src/views/home/pages/ViewEquity.vue
src/views/home/pages/ViewInterior.vue
src/views/home/pages/ViewOperational.vue
src/components/BarLineOptions.js
View file @
316e8eb
...
@@ -105,6 +105,7 @@ function getBarLineOptions(obj) {
...
@@ -105,6 +105,7 @@ function getBarLineOptions(obj) {
name
:
'bar2'
,
name
:
'bar2'
,
type
:
'bar'
,
type
:
'bar'
,
stack
:
'one'
,
stack
:
'one'
,
min
:
100
,
label
:
{
label
:
{
show
:
true
,
show
:
true
,
position
:
'top'
,
position
:
'top'
,
...
...
src/components/BarOptions.js
View file @
316e8eb
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-07 14:04:52
* @Date: 2023-07-07 14:04:52
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-1
0 15:33:57
* @LastEditTime: 2023-07-1
1 16:04:06
*/
*/
import
*
as
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
function
getBarLineOptions
(
obj
)
{
function
getBarLineOptions
(
obj
)
{
...
@@ -95,65 +95,66 @@ function getBarLineOptions(obj) {
...
@@ -95,65 +95,66 @@ function getBarLineOptions(obj) {
)
)
}
}
}
}
},
{
name
:
'bar3'
,
type
:
'bar'
,
label
:
{
show
:
true
,
position
:
'top'
,
color
:
'#fff'
},
data
:
[],
itemStyle
:
{
barBorderRadius
:
[
2
,
2
,
0
,
0
],
// 柱体圆角
color
:
function
(
params
)
{
return
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[{
// 代表渐变色从正上方开始
offset
:
0
,
// offset范围是0~1,用于表示位置,0是指0%处的颜色
color
:
'#FFC200'
},
// 柱图渐变色
{
offset
:
0.5
,
// 指100%处的颜色
color
:
'#F2C101'
},
{
offset
:
1
,
// 指100%处的颜色
color
:
'#061422'
}]
)
}
}
},
{
name
:
'bar4'
,
type
:
'bar'
,
label
:
{
show
:
true
,
position
:
'top'
,
color
:
'#fff'
},
data
:
[],
itemStyle
:
{
barBorderRadius
:
[
2
,
2
,
0
,
0
],
// 柱体圆角
color
:
function
(
params
)
{
return
new
echarts
.
graphic
.
LinearGradient
(
0
,
0
,
0
,
1
,
[{
// 代表渐变色从正上方开始
offset
:
0
,
// offset范围是0~1,用于表示位置,0是指0%处的颜色
color
:
'#E65C01'
},
// 柱图渐变色
{
offset
:
0.5
,
// 指100%处的颜色
color
:
'#E65C17'
},
{
offset
:
1
,
// 指100%处的颜色
color
:
'#061422'
}]
)
}
}
}
}
// {
// name: 'bar3',
// type: 'bar',
// label: {
// show: true,
// position: 'top',
// color: '#fff'
// },
// data: [],
// show: false,
// itemStyle: {
// barBorderRadius: [2, 2, 0, 0], // 柱体圆角
// color: function(params) {
// return new echarts.graphic.LinearGradient(
// 0, 0, 0, 1, [{ // 代表渐变色从正上方开始
// offset: 0, // offset范围是0~1,用于表示位置,0是指0%处的颜色
// color: '#FFC200'
// }, // 柱图渐变色
// {
// offset: 0.5, // 指100%处的颜色
// color: '#F2C101'
// },
// {
// offset: 1, // 指100%处的颜色
// color: '#061422'
// }]
// )
// }
// }
// },
// {
// name: 'bar4',
// type: 'bar',
// label: {
// show: true,
// position: 'top',
// color: '#fff'
// },
// data: [],
// itemStyle: {
// barBorderRadius: [2, 2, 0, 0], // 柱体圆角
// color: function(params) {
// return new echarts.graphic.LinearGradient(
// 0, 0, 0, 1, [{ // 代表渐变色从正上方开始
// offset: 0, // offset范围是0~1,用于表示位置,0是指0%处的颜色
// color: '#E65C01'
// }, // 柱图渐变色
// {
// offset: 0.5, // 指100%处的颜色
// color: '#E65C17'
// },
// {
// offset: 1, // 指100%处的颜色
// color: '#061422'
// }]
// )
// }
// }
// }
]
]
}
}
return
barLineOption
return
barLineOption
...
...
src/components/DetailTitle.vue
View file @
316e8eb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-11 15:
47:34
* @LastEditTime: 2023-07-11 15:
58:32
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件
* @Description: 页面头部组件
-->
-->
...
@@ -142,7 +142,8 @@ export default {
...
@@ -142,7 +142,8 @@ export default {
&-item
{
&-item
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
//
justify-content
:
center
;
padding-left
:
1.39vw
;
height
:
4.44vh
;
height
:
4.44vh
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-right
:
0.56vw
;
margin-right
:
0.56vw
;
...
@@ -160,6 +161,7 @@ export default {
...
@@ -160,6 +161,7 @@ export default {
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-align
:
left
;
}
}
&
.active
{
&
.active
{
background-image
:
url('../assets/images/first-tab-bg.png')
;
background-image
:
url('../assets/images/first-tab-bg.png')
;
...
...
src/components/ViewTitle.vue
View file @
316e8eb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-11 15:5
1:08
* @LastEditTime: 2023-07-11 15:5
5:27
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件
* @Description: 页面头部组件
-->
-->
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<img
style=
"height: 2.89vh"
src=
"@/assets/images/logo.png"
alt=
"logo"
/>
<img
style=
"height: 2.89vh"
src=
"@/assets/images/logo.png"
alt=
"logo"
/>
</div>
</div>
<div
class=
"tab"
>
<div
class=
"tab"
>
<div
class=
"tab-item first-tab"
:class=
"currentMenu == 'home' ? 'active' : ''"
@
click
.
self
=
"jump('home')"
>
<div
class=
"tab-item first-tab"
:class=
"currentMenu == 'home' ? 'active' : ''"
@
click
.
prevent
=
"jump('home')"
>
<div
class=
"tab-title"
>
{{
firstTab
.
label
}}
</div>
<div
class=
"tab-title"
>
{{
firstTab
.
label
}}
</div>
<img
class=
"arrow-down"
@
click
.
stop=
"openSelect"
src=
"@/assets/images/title-arrow.png"
alt=
""
>
<img
class=
"arrow-down"
@
click
.
stop=
"openSelect"
src=
"@/assets/images/title-arrow.png"
alt=
""
>
<SelectBox
:isShow=
"isShow"
:dataList=
"dataList"
:boxWidth=
"'17.1vw'"
isObject
@
selectVal=
"selectVal"
></SelectBox>
<SelectBox
:isShow=
"isShow"
:dataList=
"dataList"
:boxWidth=
"'17.1vw'"
isObject
@
selectVal=
"selectVal"
></SelectBox>
...
@@ -130,6 +130,8 @@ export default {
...
@@ -130,6 +130,8 @@ export default {
position
:
relative
;
position
:
relative
;
width
:
16.94vw
;
width
:
16.94vw
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
justify-content
:
flex-start
;
padding-left
:
1.39vw
;
&.active
{
&.active
{
background-image
:
url('../assets/images/first-tab-bg.png')
;
background-image
:
url('../assets/images/first-tab-bg.png')
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
...
@@ -138,10 +140,9 @@ export default {
...
@@ -138,10 +140,9 @@ export default {
}
}
.arrow-down
{
.arrow-down
{
position
:
absolute
;
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
top
:
50%
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
right
:
0.
9vw
;
right
:
1.3
9vw
;
margin-left
:
0.28vw
;
margin-left
:
0.28vw
;
width
:
1.39vw
;
width
:
1.39vw
;
height
:
2.22vh
;
height
:
2.22vh
;
...
...
src/views/home/pages/ViewCrowdfunding.vue
View file @
316e8eb
...
@@ -6,12 +6,7 @@
...
@@ -6,12 +6,7 @@
* @LastEditTime: 2023-07-06 10:10:40
* @LastEditTime: 2023-07-06 10:10:40
-->
-->
<
template
>
<
template
>
<div
class=
"layout"
>
<div
class=
"layout"
>
顶顶顶顶顶
<view-container>
<template
#
content
>
众筹
</
template
>
</view-container>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/home/pages/ViewEquity.vue
View file @
316e8eb
...
@@ -7,11 +7,7 @@
...
@@ -7,11 +7,7 @@
-->
-->
<
template
>
<
template
>
<div
class=
"layout"
>
<div
class=
"layout"
>
<view-container>
阿斯顿发射点
<template
#
content
>
<Charts></Charts>
</
template
>
</view-container>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/home/pages/ViewInterior.vue
View file @
316e8eb
...
@@ -3,15 +3,11 @@
...
@@ -3,15 +3,11 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-
06 12:05:18
* @LastEditTime: 2023-07-
11 16:18:46
-->
-->
<
template
>
<
template
>
<div
class=
"layout"
>
<div>
<view-container>
内部数据
<template
#
content
>
内部数据
</
template
>
</view-container>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/home/pages/ViewOperational.vue
View file @
316e8eb
...
@@ -3,15 +3,11 @@
...
@@ -3,15 +3,11 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2023-07-
06 12:04:55
* @LastEditTime: 2023-07-
11 16:18:22
-->
-->
<
template
>
<
template
>
<div
class=
"layout"
>
<div>
<view-container>
<ViewDate></ViewDate>
<template
#
content
>
运营数据c
</
template
>
</view-container>
</div>
</div>
</
template
>
</
template
>
...
...
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