Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cxsfjx_project_echarts
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
cxsfjx_project_echarts
Commits
eb73949c
提交
eb73949c
authored
11月 30, 2021
作者:
Your Name
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(资源开放共享): UI优化
上级
528f6c9f
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
55 行增加
和
53 行删除
+55
-53
App.vue
src/App.vue
+2
-2
head.vue
src/layout/head.vue
+2
-2
index.vue
src/views/dataCenter/army/model/Person/index.vue
+0
-1
index.vue
src/views/dataCenter/resourceShare/index.vue
+5
-5
index.vue
src/views/dataCenter/resourceShare/model/Activity/index.vue
+14
-14
mock.js
src/views/dataCenter/resourceShare/model/Activity/mock.js
+5
-4
index.vue
...ews/dataCenter/resourceShare/model/TotalContrac/index.vue
+15
-13
mock.js
...views/dataCenter/resourceShare/model/TotalContrac/mock.js
+12
-12
没有找到文件。
src/App.vue
浏览文件 @
eb73949c
...
...
@@ -39,9 +39,9 @@ export default defineComponent({
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
padding
:
20px
30px
;
padding
:
20px
;
background
:
#f5f9fb
;
min-width
:
1920px
;
box-sizing
:
border-box
;
}
.main-warpper
{
...
...
src/layout/head.vue
浏览文件 @
eb73949c
...
...
@@ -41,7 +41,7 @@
<!-- 行动轨迹记录 -->
<el-row
v-if=
"curRouteHistoy.length > 0"
class=
"proceed-record"
>
<el-col
class=
"nav-history"
:span=
"1
8
"
>
<el-col
class=
"nav-history"
:span=
"1
7
"
>
<el-row
class=
"pointer"
@
click=
"$router.go(-1)"
align=
"middle"
>
<el-icon><ArrowLeftBold
/></el-icon>
返回
...
...
@@ -124,7 +124,7 @@ export default defineComponent({
value
:
"typeTwo"
,
},
{
label
:
"2021第三季度"
,
label
:
"2021
年
第三季度"
,
value
:
"typeThree"
,
},
],
...
...
src/views/dataCenter/army/model/Person/index.vue
浏览文件 @
eb73949c
...
...
@@ -125,7 +125,6 @@ export default defineComponent({
},
className
:
"person-echart"
,
formatter
:
(
params
)
=>
{
console
.
log
(
"-----sssssssss"
);
let
html
=
`<span class="name">
${
params
[
0
].
axisValue
}
</span>`
;
html
+=
`<div class="person-echart ">
...
...
src/views/dataCenter/resourceShare/index.vue
浏览文件 @
eb73949c
...
...
@@ -8,16 +8,16 @@
<el-col
:span=
"16"
>
<el-row
class=
"map-right card-item"
>
<el-col
:span=
"12"
>
<Activity
<TotalContrac
/>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
>
<Activity
echartsId=
"activityBar"
echartsTitle=
"军地需求对接活动情况"
echartsDesText=
"
活动分布情况
"
echartsDesText=
""
:cardItems=
"extendCardItems"
/>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
>
<TotalContrac
/>
</el-col>
</el-row>
</el-col>
</el-row>
...
...
src/views/dataCenter/resourceShare/model/Activity/index.vue
浏览文件 @
eb73949c
<
template
>
<MapTitle
:text=
"echartsTitle"
/>
<div
class=
"activity-describes"
>
<div
class=
"meeting"
>
<div>
军地需求对接活动数量
</div>
<div>
合同成交总额
</div>
<div
class=
"frequency"
>
{{
seriesData
[
0
].
count
||
"--"
}}
<span
class=
"second"
>
次
</span>
<span
class=
"second"
>
万元
</span>
</div>
</div>
<div
class=
"text"
>
{{
echartsDesText
}}
</div>
<div
class=
"text"
>
合同成交额分布情况
</div>
</div>
<div
:id=
"echartsId"
class=
"bar-echarts-line"
></div>
...
...
@@ -99,8 +98,10 @@ export default defineComponent({
optionBar
()
{
const
seriesBar
=
this
.
seriesData
.
map
((
item
)
=>
{
return
{
type
:
"bar"
,
type
:
"line"
,
lineStyle
:
{
type
:
"dashed"
,
},
itemStyle
:
{
color
:
"#4198ff"
,
},
...
...
@@ -118,16 +119,14 @@ export default defineComponent({
return
{
tooltip
:
{
trigger
:
"axis"
,
axisPointer
:
{
type
:
"shadow"
,
},
formatter
:
(
params
)
=>
{
let
html
=
``
;
html
+=
`<div class="activity-echart-tooltip ">
<span class=" title color_1">
${
params
[
0
].
axisValue
}
市</span>
<br />
<span class="text text-color_1">
${
params
[
0
].
data
.
value
}
</span>
次
<span class="text text-color_1">
${
params
[
0
].
data
.
value
}
</span>
万元
</div>
`
;
...
...
@@ -144,7 +143,7 @@ export default defineComponent({
},
yAxis
:
{
type
:
"value"
,
name
:
"
数量(次
)"
,
name
:
"
金额(万元
)"
,
},
xAxis
:
{
type
:
"category"
,
...
...
@@ -173,7 +172,7 @@ export default defineComponent({
</
script
>
<
style
>
.activity-echart-tooltip
{
width
:
6
0px
;
width
:
10
0px
;
}
.activity-echart-tooltip
.name
{
margin-bottom
:
15px
;
...
...
@@ -219,7 +218,8 @@ export default defineComponent({
box-sizing
:
border-box
;
}
.activity-describes
{
margin
:
0
10px
;
margin
:
35px
0
10px
0
;
height
:
100px
;
box-sizing
:
border-box
;
.meeting
{
...
...
@@ -237,7 +237,7 @@ export default defineComponent({
color
:
rgba
(
65
,
152
,
255
,
1
);
font-weight
:
500
;
}
.second
{
.second
{
color
:
#999
;
}
}
...
...
src/views/dataCenter/resourceShare/model/Activity/mock.js
浏览文件 @
eb73949c
export
default
{
"typeOne"
:
{
seriesData
:
[{
value
:
[
5204.49
,
6029.77
,
7633.65
,
3545.5
]
value
:
[]
}],
},
"typeThree"
:
{
seriesData
:
[{
count
:
0
,
count
:
0
,
value
:
[
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
]
}],
},
"typeTwo"
:
{
seriesData
:
[{
count
:
45
,
value
:
[
3
,
5
,
3
,
5
,
4
,
7
,
2
,
3
,
5
,
7
,
1
]
count
:
379027.7
,
value
:
[
14348.7
,
11374.5
,
500
,
11374.5
,
324830
,
7300
,
560
,
4306
,
600
,
500
,
3334
]
}],
},
}
\ No newline at end of file
src/views/dataCenter/resourceShare/model/TotalContrac/index.vue
浏览文件 @
eb73949c
<
template
>
<MapTitle
text=
"军地需求对接活动情况"
/>
<div
class=
"total-contrac-describes"
>
<div
class=
"meeting"
>
<div>
合同成交总额
</div>
<div>
军地需求对接活动情况
</div>
<div
class=
"frequency"
>
{{
count
||
"--"
}}
<span
class=
"second"
>
亿元
</span>
<span
class=
"second"
>
次
</span>
</div>
</div>
<div
class=
"text"
>
合同成交额
分布情况
</div>
<div
class=
"text"
>
活动
分布情况
</div>
</div>
<el-row
class=
"echart-foot"
>
...
...
@@ -32,7 +34,7 @@
<div
class=
"pie-value"
>
{{
item
.
value
||
"--"
}}
<span>
万元
</span>
<span>
次
</span>
</div>
</div>
</div>
...
...
@@ -99,10 +101,10 @@ export default defineComponent({
const
seriesBar
=
{
type
:
"pie"
,
radius
:
[
20
,
140
],
center
:
[
"25%"
,
"5
0%"
],
radius
:
[
"38%"
,
"9
0%"
],
roseType
:
"radius"
,
itemStyle
:
{
borderRadius
:
5
,
borderRadius
:
0
,
},
label
:
{
show
:
false
,
...
...
@@ -125,7 +127,7 @@ export default defineComponent({
<span class='title'>
${
valItem
.
label
}
</span>:
<br />
<div class="pie-text level_
${
index
+
1
}
">
<span>
${
valItem
.
value
}
</span>
万元
<span>
${
valItem
.
value
}
</span>
次
</div>
</div>`
,
},
...
...
@@ -172,7 +174,7 @@ export default defineComponent({
font-weight
:
bold
;
}
.resource-share-tooltip
.pie-text
{
padding-left
:
10px
;
/* padding-left: 10px; */
margin-top
:
5px
;
font-size
:
12px
;
display
:
flex
;
...
...
@@ -216,7 +218,7 @@ export default defineComponent({
.resource-share-tooltip
.pie-text
::before
{
position
:
absolute
;
top
:
8px
;
left
:
0
;
left
:
18px
;
content
:
" "
;
width
:
6px
;
height
:
6px
;
...
...
@@ -225,14 +227,14 @@ export default defineComponent({
}
.resource-share-tooltip
.pie-text
span
{
color
:
#4198ff
;
margin-right
:
5
px
;
margin-right
:
2
px
;
font-size
:
16px
;
}
</
style
>
<
style
lang=
"scss"
scoped
>
.total-contrac-describes
{
margin
:
35px
0
10px
0
;
margin
:
0
10px
;
height
:
100px
;
box-sizing
:
border-box
;
.meeting
{
...
...
@@ -268,7 +270,7 @@ export default defineComponent({
flex-wrap
:
wrap
;
.list-item
{
width
:
1
2
0px
;
width
:
1
3
0px
;
margin-bottom
:
15px
;
border-radius
:
5px
;
box-sizing
:
border-box
;
...
...
@@ -300,7 +302,7 @@ export default defineComponent({
}
.incom-distribution
{
height
:
335px
;
width
:
50
0px
;
width
:
32
0px
;
box-sizing
:
border-box
;
}
</
style
>
src/views/dataCenter/resourceShare/model/TotalContrac/mock.js
浏览文件 @
eb73949c
...
...
@@ -49,45 +49,45 @@ export default {
},
"typeTwo"
:
{
count
:
94.9312
,
count
:
45
,
seriesData
:
[{
label
:
"杭州市"
,
value
:
14348.7
value
:
3
},
{
label
:
"宁波市"
,
value
:
11374.
5
value
:
5
},
{
label
:
"温州市"
,
value
:
2500
value
:
3
},
{
label
:
"湖州市"
,
value
:
11374.
5
value
:
5
},
{
label
:
"嘉兴市"
,
value
:
3248
value
:
4
},
{
label
:
"绍兴市"
,
value
:
7
300
value
:
7
},
{
label
:
"金华市"
,
value
:
2
560
value
:
2
},
{
label
:
"衢州市"
,
value
:
4306
value
:
3
},
{
label
:
"舟山市"
,
value
:
2600
value
:
5
},
{
label
:
"台州市"
,
value
:
2500
value
:
7
},
{
label
:
"丽水市"
,
value
:
3334
value
:
1
},
]
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论