Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cxsfjx_project_echarts
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
cxsfjx_project_echarts
Commits
02c37964
提交
02c37964
authored
2月 18, 2022
作者:
胡园辉
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(首页样式修改)
上级
b486b986
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
63 行增加
和
65 行删除
+63
-65
content_bg.png
src/assets/img/content_bg.png
+0
-0
index.vue
src/components/mapTitle/index.vue
+9
-6
head.vue
src/layout/head.vue
+2
-2
navigation.tsx
src/route/navigation.tsx
+9
-9
index.vue
src/views/dataCenter/army/index.vue
+2
-2
index.vue
src/views/dataCenter/index.vue
+3
-0
index.vue
src/views/dataCenter/map/index.vue
+2
-1
common.css
src/views/dataCenter/map/model/CardList/common.css
+3
-3
index.vue
src/views/dataCenter/map/model/CardList/index.vue
+1
-1
industrial.vue
src/views/dataCenter/map/model/CardList/industrial.vue
+2
-1
strongArmy.vue
src/views/dataCenter/map/model/CardList/strongArmy.vue
+2
-1
systemConstruct.vue
src/views/dataCenter/map/model/CardList/systemConstruct.vue
+12
-28
index.vue
src/views/dataCenter/map/model/RankList/index.vue
+16
-11
没有找到文件。
src/assets/img/content_bg.png
0 → 100644
浏览文件 @
02c37964
差异被折叠。
点击展开。
src/components/mapTitle/index.vue
浏览文件 @
02c37964
<
template
>
<
template
>
<div
class=
"title"
>
<div
class=
"title"
>
{{
this
.
text
}}
{{
this
.
text
}}
<span
v-if=
"detailsHandle"
@
click=
"detailsHandle && detailsHandle()"
>
{{
textRight
||
"详情"
}}
</span>
<span
v-if=
"detailsHandle"
@
click=
"detailsHandle && detailsHandle()"
>
{{
textRight
||
"更多"
}}
</span>
</div>
</div>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
...
@@ -18,7 +21,7 @@ export default defineComponent({
...
@@ -18,7 +21,7 @@ export default defineComponent({
},
},
textRight
:
{
textRight
:
{
type
:
String
,
type
:
String
,
}
}
,
},
},
});
});
</
script
>
</
script
>
...
@@ -26,8 +29,8 @@ export default defineComponent({
...
@@ -26,8 +29,8 @@ export default defineComponent({
.title
{
.title
{
position
:
relative
;
position
:
relative
;
margin-left
:
8px
;
margin-left
:
8px
;
color
:
#
333
;
color
:
#
00daf6
;
font-weight
:
bold
;
//
font-weight: bold;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
...
@@ -40,14 +43,14 @@ export default defineComponent({
...
@@ -40,14 +43,14 @@ export default defineComponent({
left
:
-10px
;
left
:
-10px
;
width
:
5px
;
width
:
5px
;
height
:
80%
;
height
:
80%
;
background
:
#
4197
ff
;
background
:
#
19ec
ff
;
}
}
span
{
span
{
font-weight
:
400
;
font-weight
:
400
;
color
:
#666
;
color
:
#666
;
cursor
:
pointer
;
cursor
:
pointer
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#
4197
ff
;
color
:
#
19ec
ff
;
&
:hover
{
&
:hover
{
color
:
#62b3ef
;
color
:
#62b3ef
;
}
}
...
...
src/layout/head.vue
浏览文件 @
02c37964
...
@@ -288,13 +288,13 @@ export default defineComponent({
...
@@ -288,13 +288,13 @@ export default defineComponent({
.nav-history
{
.nav-history
{
padding-left
:
10px
;
padding-left
:
10px
;
width
:
100%
;
width
:
100%
;
background
:
#fff
;
background
:
rgba
(
25
,
125
,
237
,
10%
)
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
height
:
40px
;
height
:
40px
;
border-radius
:
5px
;
border-radius
:
5px
;
overflow
:
hidden
;
overflow
:
hidden
;
box-shadow
:
2px
2px
10px
#eee
;
//
box-shadow: 2px 2px 10px #eee;
.nav-history-item
{
.nav-history-item
{
display
:
flex
;
display
:
flex
;
height
:
100%
;
height
:
100%
;
...
...
src/route/navigation.tsx
浏览文件 @
02c37964
...
@@ -5,16 +5,17 @@ const whiteRoutes = ["/login", "/sso"]
...
@@ -5,16 +5,17 @@ const whiteRoutes = ["/login", "/sso"]
export
default
(
router
:
Router
)
=>
{
export
default
(
router
:
Router
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
const
token
=
localStorage
.
getItem
(
TOKEN_KEY
)
//
const token = localStorage.getItem(TOKEN_KEY)
if
(
whiteRoutes
.
includes
(
to
.
path
))
{
//
if (whiteRoutes.includes(to.path)) {
return
next
()
//
return next()
}
//
}
if
(
!
token
)
{
// if (!token) {
router
.
replace
(
BaseRouteRouter
.
LOGIN
);
// router.replace(BaseRouteRouter.LOGIN);
}
else
{
// } else {
// next()
// }
next
()
next
()
}
})
})
return
router
return
router
}
}
\ No newline at end of file
src/views/dataCenter/army/index.vue
浏览文件 @
02c37964
...
@@ -78,13 +78,13 @@ export default defineComponent({
...
@@ -78,13 +78,13 @@ export default defineComponent({
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.card-item
{
.card-item
{
background
:
#fff
;
background
:
rgba
(
25
,
125
,
237
,
10%
)
;
border-radius
:
5px
;
border-radius
:
5px
;
padding
:
15px
20px
;
padding
:
15px
20px
;
overflow
:
hidden
;
overflow
:
hidden
;
cursor
:
pointer
;
cursor
:
pointer
;
transition
:
all
0
.2s
;
transition
:
all
0
.2s
;
box-shadow
:
2px
2px
10px
#eee
;
//
box-shadow: 2px 2px 10px #eee;
flex
:
1
;
flex
:
1
;
height
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
src/views/dataCenter/index.vue
浏览文件 @
02c37964
...
@@ -25,5 +25,8 @@ export default defineComponent({
...
@@ -25,5 +25,8 @@ export default defineComponent({
flex
:
1
;
flex
:
1
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
20px
;
padding
:
20px
;
background-image
:
url(../../assets/img/content_bg.png)
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
}
}
</
style
>
</
style
>
src/views/dataCenter/map/index.vue
浏览文件 @
02c37964
...
@@ -86,7 +86,8 @@ export default defineComponent({
...
@@ -86,7 +86,8 @@ export default defineComponent({
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.card-item
{
.card-item
{
background
:
#fff
;
// background: #fff;
background-color
:
rgba
(
25
,
125
,
237
,
10%
);
border-radius
:
5px
;
border-radius
:
5px
;
padding
:
16px
;
padding
:
16px
;
overflow
:
hidden
;
overflow
:
hidden
;
...
...
src/views/dataCenter/map/model/CardList/common.css
浏览文件 @
02c37964
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
font-size
:
12px
;
font-size
:
12px
;
}
}
.color-999
{
.color-999
{
color
:
#
999
;
color
:
#
d4f7ff
;
}
}
.color-666
{
.color-666
{
color
:
#
666
;
color
:
#
d4f7ff
;
}
}
.color-pramiry
{
.color-pramiry
{
color
:
#4198ff
;
color
:
#4198ff
;
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
}
}
.item-bg
{
.item-bg
{
padding
:
8px
;
padding
:
8px
;
background
:
#f8f9fb
;
background
:
rgba
(
25
,
125
,
237
,
0.2
)
;
border-radius
:
5px
;
border-radius
:
5px
;
}
}
.flex-row
{
.flex-row
{
...
...
src/views/dataCenter/map/model/CardList/index.vue
浏览文件 @
02c37964
<
template
>
<
template
>
<MapTitle
:text=
"title"
textRight=
"
详情 >>
"
:detailsHandle=
"detailsHandle"
/>
<MapTitle
:text=
"title"
textRight=
"
更多
"
:detailsHandle=
"detailsHandle"
/>
<div
class=
"info"
>
<div
class=
"info"
>
<el-row
<el-row
...
...
src/views/dataCenter/map/model/CardList/industrial.vue
浏览文件 @
02c37964
<
template
>
<
template
>
<MapTitle
<MapTitle
text=
"产业融合发展"
text=
"产业融合发展"
textRight=
"
详情 >>
"
textRight=
"
更多
"
:detailsHandle=
"detailsHandle"
:detailsHandle=
"detailsHandle"
/>
/>
...
@@ -84,6 +84,7 @@ export default defineComponent({
...
@@ -84,6 +84,7 @@ export default defineComponent({
.year
{
.year
{
margin
:
10px
0
;
margin
:
10px
0
;
color
:
#ffffff
;
}
}
.item-row
{
.item-row
{
padding
:
3px
0
3px
0
;
padding
:
3px
0
3px
0
;
...
...
src/views/dataCenter/map/model/CardList/strongArmy.vue
浏览文件 @
02c37964
<
template
>
<
template
>
<MapTitle
<MapTitle
text=
"服务强军兴军"
text=
"服务强军兴军"
textRight=
"
详情 >>
"
textRight=
"
更多
"
:detailsHandle=
"detailsHandle"
:detailsHandle=
"detailsHandle"
/>
/>
<div
class=
"info"
>
<div
class=
"info"
>
...
@@ -111,6 +111,7 @@ export default defineComponent({
...
@@ -111,6 +111,7 @@ export default defineComponent({
@import
url("./common.css")
;
@import
url("./common.css")
;
.item-bg
{
.item-bg
{
padding
:
12px
8px
;
padding
:
12px
8px
;
background-color
:
rgba
(
25
,
125
,
237
,
20%
);
}
}
.info
{
.info
{
padding
:
10px
0
;
padding
:
10px
0
;
...
...
src/views/dataCenter/map/model/CardList/systemConstruct.vue
浏览文件 @
02c37964
<
template
>
<
template
>
<MapTitle
<MapTitle
text=
"五大体系建设"
textRight=
"更多"
:detailsHandle=
"detailsHandle"
/>
text=
"五大体系建设"
textRight=
"详情 >>"
:detailsHandle=
"detailsHandle"
/>
<div
class=
"info"
>
<div
class=
"info"
>
<el-row
class=
"year"
align=
"middle"
>
<el-row
class=
"year"
align=
"middle"
>
组织管理体系
</el-row>
组织管理体系
</el-row>
<el-row
<el-row
class=
"item-bg margin-bottom12"
align=
"middle"
justify=
"space-between"
>
class=
"item-bg margin-bottom12"
<el-col
class=
"item-text font-size14 color-666"
:span=
"16"
>
各地召开融委全体会议次数
</el-col>
align=
"middle"
justify=
"space-between"
>
<el-col
class=
"item-text font-size14 color-666"
:span=
"16"
>
各地召开融委全体会议次数
</el-col>
<el-col
class=
"jf-end flex-row font-size20 color-pramiry"
:span=
"5"
>
<el-col
class=
"jf-end flex-row font-size20 color-pramiry"
:span=
"5"
>
{{
pageData
.
meetingCount
||
"--"
}}
{{
pageData
.
meetingCount
||
"--"
}}
<span
class=
"margin-left5 font-size12 color-999"
>
次
</span>
<span
class=
"margin-left5 font-size12 color-999"
>
次
</span>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
<el-row
class=
"item-bg margin-bottom12 flex-one"
align=
"middle"
justify=
"space-between"
>
class=
"item-bg margin-bottom12 flex-one"
<el-col
class=
"item-text font-size14 color-666"
:span=
"18"
>
与当地军分区(警备区)建立并落实军地协作工作机制
</el-col>
align=
"middle"
justify=
"space-between"
>
<el-col
class=
"item-text font-size14 color-666"
:span=
"18"
>
与当地军分区(警备区)建立并落实军地协作工作机制
</el-col>
<el-col
class=
"jf-end flex-row font-size20 color-pramiry"
:span=
"5"
>
<el-col
class=
"jf-end flex-row font-size20 color-pramiry"
:span=
"5"
>
{{
pageData
.
workeCount
||
"--"
{{
pageData
.
workeCount
||
"--"
}}
<span
class=
"margin-left5 font-size12 color-999"
>
次
</span>
}}
<span
class=
"margin-left5 font-size12 color-999"
>
次
</span>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
class=
"info-item font-size14 color-666 item-bg margin-bottom12"
>
<el-row
class=
"info-item font-size14 color-666 item-bg margin-bottom12"
>
<el-row
class=
"item-text title"
>
各地军民融合办工作人员
</el-row>
<el-row
class=
"item-text title"
>
各地军民融合办工作人员
</el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-row
justify=
"space-between"
>
<el-row
justify=
"space-between"
>
...
@@ -111,6 +94,7 @@ export default defineComponent({
...
@@ -111,6 +94,7 @@ export default defineComponent({
.year
{
.year
{
margin
:
10px
0
;
margin
:
10px
0
;
color
:
#ffffff
;
}
}
.info-item
{
.info-item
{
...
@@ -121,7 +105,7 @@ export default defineComponent({
...
@@ -121,7 +105,7 @@ export default defineComponent({
}
}
.title
{
.title
{
margin-bottom
:
5px
;
margin-bottom
:
5px
;
color
:
#
333
;
color
:
#
d4f7ff
;
}
}
.item-row
{
.item-row
{
padding
:
0
20px
;
padding
:
0
20px
;
...
@@ -135,7 +119,7 @@ export default defineComponent({
...
@@ -135,7 +119,7 @@ export default defineComponent({
.item-text
{
.item-text
{
margin-left
:
15px
;
margin-left
:
15px
;
color
:
#
333
;
color
:
#
d4f7ff
;
}
}
.flex-one
{
.flex-one
{
flex-wrap
:
nowrap
;
flex-wrap
:
nowrap
;
...
...
src/views/dataCenter/map/model/RankList/index.vue
浏览文件 @
02c37964
...
@@ -17,18 +17,14 @@
...
@@ -17,18 +17,14 @@
v-else
v-else
class=
"tab-index"
class=
"tab-index"
:style=
"
{ background: `${colors[scope.$index + 1]}` }"
:style=
"
{ background: `${colors[scope.$index + 1]}` }"
>
>
{{
scope
.
$index
+
1
}}
</div>
{{
scope
.
$index
+
1
}}
</div>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"name"
label=
"地区"
align=
"center"
/>
<el-table-column
prop=
"name"
label=
"地区"
align=
"center"
/>
<el-table-column
prop=
"score"
label=
"分数"
width=
"120"
align=
"center"
>
<el-table-column
prop=
"score"
label=
"分数"
width=
"120"
align=
"center"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<div>
<div>
{{
scope
.
row
.
score
}}
</div>
{{
scope
.
row
.
score
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -38,7 +34,7 @@
...
@@ -38,7 +34,7 @@
import
{
defineComponent
}
from
"vue"
;
import
{
defineComponent
}
from
"vue"
;
import
MapTitle
from
"@/components/mapTitle/index.vue"
;
import
MapTitle
from
"@/components/mapTitle/index.vue"
;
import
{
Bottom
,
Top
}
from
"@element-plus/icons"
;
import
{
Bottom
,
Top
}
from
"@element-plus/icons"
;
import
Mock
from
"./mock"
import
Mock
from
"./mock"
;
import
{
mapState
}
from
"vuex"
;
import
{
mapState
}
from
"vuex"
;
export
default
defineComponent
({
export
default
defineComponent
({
...
@@ -48,12 +44,12 @@ export default defineComponent({
...
@@ -48,12 +44,12 @@ export default defineComponent({
Top
,
Top
,
},
},
setup
()
{},
setup
()
{},
computed
:{
computed
:
{
...
mapState
({
...
mapState
({
curDataType
:
(
state
)
=>
state
.
curDataType
,
curDataType
:
(
state
)
=>
state
.
curDataType
,
}),
}),
tableData
()
{
tableData
()
{
return
Mock
[
this
.
curDataType
]
return
Mock
[
this
.
curDataType
]
;
},
},
},
},
data
()
{
data
()
{
...
@@ -74,11 +70,20 @@ export default defineComponent({
...
@@ -74,11 +70,20 @@ export default defineComponent({
.tabs-header
{
.tabs-header
{
}
}
.tabs-header
.el-table__cell
{
.tabs-header
.el-table__cell
{
background-color
:
#
e3f0ff
!important
;
background-color
:
#
0e4780
!important
;
color
:
#
333
;
color
:
#
d4f7ff
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.el-table
tr
{
background
:
#0e4780
!important
;
}
.el-table
td
.el-table__cell
,
.el-table
th
.el-table__cell.is-leaf
{
border-bottom
:
1px
dashed
#197ded
;
}
.el-table
.cell
{
color
:
#d4f7ff
;
}
</
style
>
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.el-scrollbar
{
.el-scrollbar
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论