数据资源参数外引
This commit is contained in:
parent
db6bd47bd9
commit
a118461845
|
@ -61,6 +61,8 @@
|
|||
|
||||
<script type="text/javascript" src="./static/config/basicConfig.js"></script>
|
||||
<script type="text/javascript" src="./static/config/mapConfig.js"></script>
|
||||
<!-- 数据资源参数引用 -->
|
||||
<script type="text/javascript" src="./static/config/dataResource.js"></script>
|
||||
<!-- ==========地图相关配置========== -->
|
||||
<script type="text/javascript" src="./leaflet/libs/leaflet/1.3.1/leaflet.js"></script>
|
||||
<script type="text/javascript" src="./static/js/jquery-3.6.0.min.js"></script>
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* @Author: hisense.wuhongjian
|
||||
* @Date: 2020-07-07 16:03:23
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-04-01 10:51:45
|
||||
* @Description: 数据资源参数配置
|
||||
*/
|
||||
const launchedDataNum = [
|
||||
{
|
||||
num: 10372,
|
||||
},
|
||||
{
|
||||
num: 1080,
|
||||
},
|
||||
{
|
||||
num: 976,
|
||||
},
|
||||
]
|
|
@ -32,17 +32,17 @@
|
|||
const launchedData = ref([
|
||||
{
|
||||
title: '已上线目录',
|
||||
num: 10372,
|
||||
num: launchedDataNum[0].num,
|
||||
img: require('@/assets/home/pageResource/catalogue-icon.png'),
|
||||
},
|
||||
{
|
||||
title: '已发布服务',
|
||||
num: 1080,
|
||||
num: launchedDataNum[1].num,
|
||||
img: require('@/assets/home/pageResource/service-icon.png'),
|
||||
},
|
||||
{
|
||||
title: '已发布接口',
|
||||
num: 976,
|
||||
num: launchedDataNum[2].num,
|
||||
img: require('@/assets/home/pageResource/port-icon.png'),
|
||||
},
|
||||
])
|
||||
|
|
Loading…
Reference in New Issue