location配置-底部数据及问答小人

This commit is contained in:
gaoyuanwei 2022-06-22 15:53:06 +08:00
parent 96993e040f
commit ddb93e3cd7
4 changed files with 107 additions and 51 deletions

View File

@ -6,43 +6,43 @@
* @FilePath: \qiantai\front\public\static\config\footerData.js * @FilePath: \qiantai\front\public\static\config\footerData.js
* @Description: 底部菜单数据配置配置 * @Description: 底部菜单数据配置配置
*/ */
const footerDataList = { // const footerDataList = {
// //
// company: { // company: {
// left: '', // left: '',
// right: '' // right: ''
// }, // },
// address: [ // address: [
// { // {
// name: 'IC00000000', // name: 'IC00000000',
// value: '3702000106', // value: '3702000106',
// }, // },
// { // {
// name: '', // name: '',
// value: '17', // value: '17',
// }, // },
// { // {
// name: '0532-8561234', // name: '0532-8561234',
// value: '0532-2145122', // value: '0532-2145122',
// }, // },
// ] // ]
// 西 // 西
company: { // company: {
left: '青岛西海岸新区大数据发展促进局建设', // left: '西',
right: 'v0.81' // right: 'v0.81'
}, // },
address: [ // address: [
{ // {
name: '鲁IC备00000000号', // name: 'IC00000000',
value: '政府标识码3702000106', // value: '3702000106',
}, // },
{ // {
name: '版权所有:青岛西海岸新区大数据发展促进局', // name: '西',
value: '地址青岛市西海岸新区长江中路369号', // value: '西369',
}, // },
{ // {
name: '电话0532-86986596', // name: '0532-86986596',
value: '传真0532-86986596', // value: '0532-86986596',
}, // },
] // ]
} // }

View File

@ -3,7 +3,7 @@
* @Date: 2020-07-07 16:03:23 * @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-04-01 10:51:45 * @LastEditTime: 2022-04-01 10:51:45
* @Description: 数据资源参数配置 * @Description: 三方参数配置
*/ */
// const newLocation = 'qingdao' // const newLocation = 'qingdao'
// const newLocation = 'baotou' // const newLocation = 'baotou'
@ -14,11 +14,11 @@ const whoShow = {}
const launchedDataNumObject = {} const launchedDataNumObject = {}
// //
const navListManagement = {} const navListManagement = {}
//
const footerDataList = {}
// qingdao // qingdao
if (newLocation === 'qingdao') { if (newLocation === 'qingdao') {
//
whoShow.itShowQingDao = true whoShow.itShowQingDao = true
//
navListManagement.navList = [ navListManagement.navList = [
{ name: '共享门户', key: 'home' }, { name: '共享门户', key: 'home' },
{ name: '能力集市', key: 'DetailsPageconetent' }, { name: '能力集市', key: 'DetailsPageconetent' },
@ -31,10 +31,29 @@ if (newLocation === 'qingdao') {
// { name: '', key: 'houtaiguanli' }, // { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' }, { name: '赋能案例', key: 'assignCase' },
] ]
footerDataList.footerList = {
company: {
left: '青岛市大数据发展管理局建设',
right: '海信网络科技股份有限公司',
},
address: [
{
name: '鲁IC备00000000号',
value: '政府标识码3702000106',
},
{
name: '版权所有:青岛市大数据发展管理局',
value: '地址山东省青岛市香港中路17号市级机关办公楼',
},
{
name: '电话0532-8561234',
value: '传真0532-2145122',
},
],
}
} }
// baotou // baotou
else if (newLocation === 'baotou') { else if (newLocation === 'baotou') {
//
whoShow.itShowBaoTou = true whoShow.itShowBaoTou = true
launchedDataNumObject.launchedDataNum = [ launchedDataNumObject.launchedDataNum = [
{ {
@ -47,7 +66,6 @@ else if (newLocation === 'baotou') {
num: 976, num: 976,
}, },
] ]
//
navListManagement.navList = [ navListManagement.navList = [
{ name: '共享门户', key: 'home' }, { name: '共享门户', key: 'home' },
{ name: '能力集市', key: 'DetailsPageconetent' }, { name: '能力集市', key: 'DetailsPageconetent' },
@ -60,12 +78,30 @@ else if (newLocation === 'baotou') {
// { name: '', key: 'houtaiguanli' }, // { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' }, { name: '赋能案例', key: 'assignCase' },
] ]
footerDataList.footerList = {
company: {
left: '青岛西海岸新区大数据发展促进局建设',
right: 'v0.81',
},
address: [
{
name: '鲁IC备00000000号',
value: '政府标识码3702000106',
},
{
name: '版权所有:青岛西海岸新区大数据发展促进局',
value: '地址青岛市西海岸新区长江中路369号',
},
{
name: '电话0532-86986596',
value: '传真0532-86986596',
},
],
}
} }
// xihaian // xihaian
else if (newLocation === 'xihaian') { else if (newLocation === 'xihaian') {
//
whoShow.itShowXiHaiAn = true whoShow.itShowXiHaiAn = true
//
navListManagement.navList = [ navListManagement.navList = [
{ name: '共享门户', key: 'home' }, { name: '共享门户', key: 'home' },
{ name: '能力集市', key: 'DetailsPageconetent' }, { name: '能力集市', key: 'DetailsPageconetent' },
@ -78,4 +114,24 @@ else if (newLocation === 'xihaian') {
// { name: '', key: 'houtaiguanli' }, // { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' }, { name: '赋能案例', key: 'assignCase' },
] ]
footerDataList.footerList = {
company: {
left: '青岛西海岸新区大数据发展促进局建设',
right: 'v0.81',
},
address: [
{
name: '鲁IC备00000000号',
value: '政府标识码3702000106',
},
{
name: '版权所有:青岛西海岸新区大数据发展促进局',
value: '地址青岛市西海岸新区长江中路369号',
},
{
name: '电话0532-86986596',
value: '传真0532-86986596',
},
],
}
} }

View File

@ -1053,12 +1053,12 @@
:resourceTotal="resourceTotal" :resourceTotal="resourceTotal"
></KnowledgeBase> ></KnowledgeBase>
</div> </div>
<div class="talk-monitor" @click="openMonitor"> <!--<div class="talk-monitor" @click="openMonitor">
<a-tooltip> <a-tooltip>
<template #title>问答机器人</template> <template #title>问答机器人</template>
<i></i> <i></i>
</a-tooltip> </a-tooltip>
</div> </div>-->
</div> </div>
<home-footer></home-footer> <home-footer></home-footer>
</template> </template>

View File

@ -26,10 +26,10 @@
<script setup> <script setup>
import { ref } from 'vue' import { ref } from 'vue'
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
console.log('footerDataList', footerDataList) console.log('footerDataList', footerDataList.footerList)
let dataList = ref({}) let dataList = ref({})
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
dataList.value = footerDataList dataList.value = footerDataList.footerList
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.footer { .footer {