数据资源部分更改、导航栏修改、云图数据修改

This commit is contained in:
gaoyuanwei 2022-06-21 16:49:45 +08:00
parent 5514577c3f
commit fc84f8ed92
5 changed files with 114 additions and 32 deletions

View File

@ -44,10 +44,10 @@
// window.SITE_CONFIG['frontUrl'] = 'http://10.134.135.9:9796/document/#/devModelFile/'; // window.SITE_CONFIG['frontUrl'] = 'http://10.134.135.9:9796/document/#/devModelFile/';
// window.SITE_CONFIG['apiURL'] = 'http://10.134.135.9:8888/renren-admin'; // window.SITE_CONFIG['apiURL'] = 'http://10.134.135.9:8888/renren-admin';
// 开发 // 开发
window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797'; window.SITE_CONFIG['backUrl'] = 'http://15.2.21.239:9797';
window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796'; window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.239:9796';
window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/'; window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.239:9796/document/#/devModelFile/';
window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin'; window.SITE_CONFIG['apiURL'] = 'http://15.2.21.239:8888/renren-admin';
// 穿透版本 // 穿透版本
// window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797'; // window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797';
// window.SITE_CONFIG['previewUrl'] = 'http://124.222.94.39:9796/'; // window.SITE_CONFIG['previewUrl'] = 'http://124.222.94.39:9796/';
@ -66,7 +66,7 @@
<script type="text/javascript" src="./static/config/basicConfig.js"></script> <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/mapConfig.js"></script>
<script type="text/javascript" src="./static/config/footerData.js"></script> <script type="text/javascript" src="./static/config/footerData.js"></script>
<!-- 数据资源参数引用 --> <!-- 数据资源、导航栏参数引用 -->
<script type="text/javascript" src="./static/config/location.js"></script> <script type="text/javascript" src="./static/config/location.js"></script>
<!-- ==========地图相关配置========== --> <!-- ==========地图相关配置========== -->
<script type="text/javascript" src="./leaflet/libs/leaflet/1.3.1/leaflet.js"></script> <script type="text/javascript" src="./leaflet/libs/leaflet/1.3.1/leaflet.js"></script>

View File

@ -5,7 +5,46 @@
* @LastEditTime: 2022-04-01 10:51:45 * @LastEditTime: 2022-04-01 10:51:45
* @Description: 数据资源参数配置 * @Description: 数据资源参数配置
*/ */
const launchedDataNum = [ // const newLocation = 'qingdao'
const newLocation = 'baotou'
// const newLocation = 'xihaian'
//
const launchedDataNumObject = {}
//
const navListManagement = {}
// qingdao
if (newLocation === 'qingdao') {
//
launchedDataNumObject.launchedDataNum = [
{
num: 10374,
},
{
num: 1080,
},
{
num: 976,
},
]
//
navListManagement.navList = [
{ name: '共享门户', key: 'home' },
{ name: '能力集市', key: 'DetailsPageconetent' },
{ name: '能力云图', key: 'capabilityCloud' },
{ name: '能力统计', key: 'abilityStatistics' },
{ name: '开发指南', key: 'developmentGuide' },
{ name: '需求中心', key: 'demandCenter' },
// { name: '', key: 'personalCenter' },
{ name: '区市站点', key: 'mapTest' },
// { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' },
]
}
// baotou
else if (newLocation === 'baotou') {
//
launchedDataNumObject.launchedDataNum = [
{ {
num: 10373, num: 10373,
}, },
@ -15,4 +54,46 @@ const launchedDataNum = [
{ {
num: 976, num: 976,
}, },
] ]
//
navListManagement.navList = [
{ name: '共享门户', key: 'home' },
{ name: '能力集市', key: 'DetailsPageconetent' },
{ name: '能力云图', key: 'capabilityCloud' },
{ name: '能力统计', key: 'abilityStatistics' },
{ name: '开发指南', key: 'developmentGuide' },
{ name: '需求中心', key: 'demandCenter' },
// { name: '', key: 'personalCenter' },
// { name: '', key: 'mapTest' },
// { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' },
]
}
// xihaian
else if (newLocation === 'xihaian') {
//
launchedDataNumObject.launchedDataNum = [
{
num: 10372,
},
{
num: 1080,
},
{
num: 976,
},
]
//
navListManagement.navList = [
{ name: '共享门户', key: 'home' },
{ name: '能力集市', key: 'DetailsPageconetent' },
{ name: '能力云图', key: 'capabilityCloud' },
{ name: '能力统计', key: 'abilityStatistics' },
{ name: '开发指南', key: 'developmentGuide' },
{ name: '需求中心', key: 'demandCenter' },
// { name: '', key: 'personalCenter' },
// { name: '', key: 'mapTest' },
// { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' },
]
}

View File

@ -143,7 +143,7 @@
// //
assignRankings.value[i - 1].name = assignRankings.value[i - 1].name =
contentData.value.resourceTop5[i - 1].service_name || '' contentData.value.resourceTop5[i - 1].service_name || ''
assignRankings.value[i - 1].opacity = assignRankings.value[i - 1].operation =
contentData.value.resourceTop5[i - 1].count || ' ' contentData.value.resourceTop5[i - 1].count || ' '
} }
}) })

View File

@ -32,17 +32,17 @@
const launchedData = ref([ const launchedData = ref([
{ {
title: '已上线目录', title: '已上线目录',
num: launchedDataNum[0].num, num: launchedDataNumObject.launchedDataNum[0].num,
img: require('@/assets/home/pageResource/catalogue-icon.png'), img: require('@/assets/home/pageResource/catalogue-icon.png'),
}, },
{ {
title: '已发布服务', title: '已发布服务',
num: launchedDataNum[1].num, num: launchedDataNumObject.launchedDataNum[1].num,
img: require('@/assets/home/pageResource/service-icon.png'), img: require('@/assets/home/pageResource/service-icon.png'),
}, },
{ {
title: '已发布接口', title: '已发布接口',
num: launchedDataNum[2].num, num: launchedDataNumObject.launchedDataNum[2].num,
img: require('@/assets/home/pageResource/port-icon.png'), img: require('@/assets/home/pageResource/port-icon.png'),
}, },
]) ])

View File

@ -120,22 +120,23 @@
const store = useStore() const store = useStore()
const router = useRouter() const router = useRouter()
const route = useRoute() const route = useRoute()
const navList = ref([ // const navListManagement = ref([
{ name: '共享门户', key: 'home' }, // { name: '', key: 'home' },
{ name: '能力集市', key: 'DetailsPageconetent' }, // { name: '', key: 'DetailsPageconetent' },
{ name: '能力云图', key: 'capabilityCloud' }, // { name: '', key: 'capabilityCloud' },
{ name: '能力统计', key: 'abilityStatistics' }, // { name: '', key: 'abilityStatistics' },
{ name: '开发指南', key: 'developmentGuide' }, // { name: '', key: 'developmentGuide' },
{ name: '需求中心', key: 'demandCenter' }, // { name: '', key: 'demandCenter' },
// { name: '', key: 'personalCenter' }, // // { name: '', key: 'personalCenter' },
{ name: '区市站点', key: 'mapTest' }, // { name: '', key: 'mapTest' },
// { name: '', key: 'houtaiguanli' }, // // { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' }, // { name: '', key: 'assignCase' },
]) // ])
const user = ref({}) const user = ref({})
const select = ref(router.currentRoute.value.name) const select = ref(router.currentRoute.value.name)
const mynoticeFlag = ref(false) const mynoticeFlag = ref(false)
const mynoticeData = ref([]) const mynoticeData = ref([])
const navList = ref(navListManagement.navList)
const props = defineProps({ const props = defineProps({
showView: { type: String, default: '' }, showView: { type: String, default: '' },
}) })