Compare commits

...

7 Commits

Author SHA1 Message Date
wuhongjian cd832f3f90 合并版本v0.8.7.2 2022-08-24 09:20:04 +08:00
wuhongjian d1a50bc25a 修复变形问题 2022-08-24 09:19:32 +08:00
gaoyuanwei 1c0be1ca6e 赋能案例标题忘改了 2022-08-23 19:29:45 +08:00
gaoyuanwei 17bc4877f2 bug修改 2022-08-23 18:02:00 +08:00
gaoyuanwei 0c4015cb5c 亿点点修改 2022-08-23 17:47:24 +08:00
a0049873 07198b8ebc 样式修改 2022-08-23 17:11:50 +08:00
a0049873 d1e6b9acd7 修改首页 选择数据类型样式 , 修改 全局搜索逻辑 2022-08-23 16:51:41 +08:00
18 changed files with 895 additions and 423 deletions

View File

@ -44,7 +44,7 @@
</p> </p>
<p> <p>
<span> <span>
应用背景<span> 需求依据<span>
{{ dataForm.content.applicationBackground || '--' }}</span {{ dataForm.content.applicationBackground || '--' }}</span
></span> ></span>
</p> </p>

View File

@ -38,8 +38,8 @@ if (newLocation === 'qingdao') {
// { name: '', key: 'personalCenter' }, // { name: '', key: 'personalCenter' },
{ name: '区市站点', key: 'mapTest' }, { name: '区市站点', key: 'mapTest' },
// { name: '', key: 'houtaiguanli' }, // { name: '', key: 'houtaiguanli' },
{ name: '赋能案例', key: 'assignCase' }, { name: '典型赋能案例', key: 'assignCase' },
{ name: '融合服务', key: 'integrationServices' }, // { name: '', key: 'integrationServices' },
{ name: 'CIM专区', key: 'cimSpecialArea' }, { name: 'CIM专区', key: 'cimSpecialArea' },
] ]
footerDataList.footerList = { footerDataList.footerList = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -4,7 +4,7 @@
<div class="banner"></div> <div class="banner"></div>
<div class="mainBox"> <div class="mainBox">
<div class="top"> <div class="top">
<h1>赋能案例</h1> <h1>典型赋能案例</h1>
<div></div> <div></div>
<!-- <h3>Enabling Cases</h3> --> <!-- <h3>Enabling Cases</h3> -->
</div> </div>

View File

@ -236,6 +236,8 @@
/> />
</a-list> </a-list>
</div> </div>
<!-- 关闭需求申请 -->
<div class="closeMain" @click="closeMain">X</div>
</div> </div>
</div> </div>
</template> </template>
@ -378,7 +380,9 @@
} }
} }
} }
const closeMain = () => {
window.history.go(-1)
}
onMounted(() => { onMounted(() => {
// const formData = computed(() => store.getters['home/demandDetailsData']) // const formData = computed(() => store.getters['home/demandDetailsData'])
// formName.value = formData.value // formName.value = formData.value
@ -410,6 +414,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
.main { .main {
position: relative;
width: 1550px; width: 1550px;
height: 100%; height: 100%;
padding-top: 30px; padding-top: 30px;
@ -476,6 +481,13 @@
} }
} }
} }
.closeMain {
position: absolute;
top: 40px;
right: 20px;
font-size: 0.2rem;
cursor: pointer;
}
} }
.form-container { .form-container {
padding: 20px 20px 30px 20px; padding: 20px 20px 30px 20px;

View File

@ -70,6 +70,13 @@
</template> </template>
</a-pagination> </a-pagination>
</div> </div>
<!-- 需求申请 -->
<div class="fixedmount">
<div @click="toView()">
<p></p>
<p>新需求</p>
</div>
</div>
</div> </div>
</div> </div>
</template> </template>
@ -166,6 +173,12 @@
}, },
}) })
} }
const newpage = router.resolve({
path: '/addApplication', //
})
const toView = () => {
window.open(newpage.href, '_blank')
}
onMounted(() => { onMounted(() => {
const params = { const params = {
@ -284,6 +297,41 @@
margin-top: 10px; margin-top: 10px;
} }
} }
.fixedmount {
height: 1.5rem;
display: flex;
position: fixed;
right: 2.6rem;
z-index: 10;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.fixedmount div {
width: 0.7rem;
height: 0.7rem;
border-radius: 0.04rem;
border: 0.01rem #94aac9 solid;
display: flex;
flex-direction: column;
// justify-content: center;
align-items: center;
padding-top: 0.13rem;
position: relative;
cursor: pointer;
background: #e3edfc;
p {
margin: 0;
}
}
.fixedmount div p:nth-child(1) {
height: 0.24rem;
width: 0.24rem;
background: url('~@/assets/home/shenqing.png') no-repeat;
background-size: contain;
background-position: center;
}
} }
} }
</style> </style>

View File

@ -7,120 +7,252 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div class="content" v-for="item in dataFrom.content" :key="item.title"> <!-- 青岛市局 -->
<div class="content-left" v-if="item.titleType === '调用接口'"> <div v-if="whoShow1 && whoShow1.itShowQingDao">
<div class="left"> <div
<div class="content-left-title"> class="content"
<span>{{ item.title }}{{ item.titleType }}</span> v-for="item in dataFrom.content"
:key="item.title"
v-show="approveStatus == '通过'"
>
<div class="content-left" v-if="item.titleType === '调用接口'">
<div class="left">
<div class="content-left-title">
<span>{{ item.title }}{{ item.titleType }}</span>
</div>
<div class="content-left-content">
<p>
<span>{{ item.link.name }}</span>
<a-tooltip>
<template #title>{{ item.link.value }}</template>
<span>{{ item.link.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.postMethod.name }}</span>
<span>{{ item.postMethod.value }}</span>
</p>
</div>
</div> </div>
<div class="content-left-content"> <div class="right">
<p> <div @click="technical()">技术文档</div>
<span>{{ item.link.name }}</span> <!-- <div @click="technicalNew()">新手指引</div> -->
<a-tooltip> <!-- <div @click="SDKClick()">SDK安装包</div> -->
<template #title>{{ item.link.value }}</template>
<span>{{ item.link.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.postMethod.name }}</span>
<span>{{ item.postMethod.value }}</span>
</p>
</div> </div>
</div> </div>
<div class="right"> <div class="content-left" v-else-if="item.titleType === '平台对接'">
<div @click="technical()">技术文档</div> <div class="left">
<!-- <div @click="technicalNew()">新手指引</div> --> <div class="content-left-title">
<!-- <div @click="SDKClick()">SDK安装包</div> --> <span>{{ item.title }}{{ item.titleType }}</span>
</div>
<div class="content-left-content">
<p>
<span>{{ item.linkPlatform.name }}</span>
<a-tooltip v-if="approveStatus == '通过'">
<template #title>{{ item.linkPlatform.value }}</template>
<span>{{ item.linkPlatform.value }}</span>
</a-tooltip>
<a-tooltip v-else>
<template #title>请申请后查看平台地址</template>
<span>****************</span>
</a-tooltip>
</p>
</div>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<!-- <div @click="technicalNew()">新手指引</div> -->
<!-- <div @click="SDKClick()">SDK安装包</div> -->
</div>
</div>
<div class="content-left" v-else-if="item.titleType === 'SDK'">
<div class="left">
<div class="content-left-title">
<span>{{ item.title }}{{ item.titleType }}</span>
</div>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<!-- <div @click="technicalNew()">新手指引</div> -->
<div @click="SDKClick()">SDK安装包</div>
</div>
</div>
<div class="content-right">
<div class="content-right-left">
<div class="content-right-title">{{ item.contact }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator.value }}</template>
<span>{{ item.facilitator.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people.name }}</span>
<a-tooltip>
<template #title>{{ item.people.value }}</template>
<span>{{ item.people.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator2.value }}</template>
<span>{{ item.facilitator2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people2.name }}</span>
<a-tooltip>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div>
</div> </div>
</div> </div>
<div class="content-left" v-else-if="item.titleType === '平台对接'"> <div v-show="approveStatus !== '通过'" class="contentOther">
<div class="left"> 请申请后查看
<div class="content-left-title">
<span>{{ item.title }}{{ item.titleType }}</span>
</div>
<div class="content-left-content">
<p>
<span>{{ item.linkPlatform.name }}</span>
<a-tooltip v-if="approveStatus == '通过'">
<template #title>{{ item.linkPlatform.value }}</template>
<span>{{ item.linkPlatform.value }}</span>
</a-tooltip>
<a-tooltip v-else>
<template #title>请申请后查看平台地址</template>
<span>****************</span>
</a-tooltip>
</p>
</div>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<!-- <div @click="technicalNew()">新手指引</div> -->
<!-- <div @click="SDKClick()">SDK安装包</div> -->
</div>
</div> </div>
<div class="content-left" v-else-if="item.titleType === 'SDK'"> </div>
<div class="left"> <!-- 其他 -->
<div class="content-left-title"> <div v-else>
<span>{{ item.title }}{{ item.titleType }}</span> <div class="content" v-for="item in dataFrom.content" :key="item.title">
<div class="content-left" v-if="item.titleType === '调用接口'">
<div class="left">
<div class="content-left-title">
<span>{{ item.title }}{{ item.titleType }}</span>
</div>
<div class="content-left-content">
<p>
<span>{{ item.link.name }}</span>
<a-tooltip>
<template #title>{{ item.link.value }}</template>
<span>{{ item.link.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.postMethod.name }}</span>
<span>{{ item.postMethod.value }}</span>
</p>
</div>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<!-- <div @click="technicalNew()">新手指引</div> -->
<!-- <div @click="SDKClick()">SDK安装包</div> -->
</div> </div>
</div> </div>
<div class="right"> <div class="content-left" v-else-if="item.titleType === '平台对接'">
<div @click="technical()">技术文档</div> <div class="left">
<!-- <div @click="technicalNew()">新手指引</div> --> <div class="content-left-title">
<div @click="SDKClick()">SDK安装包</div> <span>{{ item.title }}{{ item.titleType }}</span>
</div> </div>
</div> <div class="content-left-content">
<div class="content-right"> <p>
<div class="content-right-left"> <span>{{ item.linkPlatform.name }}</span>
<div class="content-right-title">{{ item.contact }}</div> <a-tooltip v-if="approveStatus == '通过'">
<div class="content-right-content"> <template #title>{{ item.linkPlatform.value }}</template>
<p> <span>{{ item.linkPlatform.value }}</span>
<span>{{ item.facilitator.name }}</span> </a-tooltip>
<a-tooltip> <a-tooltip v-else>
<template #title>{{ item.facilitator.value }}</template> <template #title>请申请后查看平台地址</template>
<span>{{ item.facilitator.value }}</span> <span>****************</span>
</a-tooltip> </a-tooltip>
</p> </p>
<p> </div>
<span>{{ item.people.name }}</span> </div>
<a-tooltip> <div class="right">
<template #title>{{ item.people.value }}</template> <div @click="technical()">技术文档</div>
<span>{{ item.people.value }}</span> <!-- <div @click="technicalNew()">新手指引</div> -->
</a-tooltip> <!-- <div @click="SDKClick()">SDK安装包</div> -->
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div> </div>
</div> </div>
<div class="content-right-right"> <div class="content-left" v-else-if="item.titleType === 'SDK'">
<div class="content-right-title">{{ item.contact2 }}</div> <div class="left">
<div class="content-right-content"> <div class="content-left-title">
<p> <span>{{ item.title }}{{ item.titleType }}</span>
<span>{{ item.facilitator2.name }}</span> </div>
<a-tooltip> </div>
<template #title>{{ item.facilitator2.value }}</template> <div class="right">
<span>{{ item.facilitator2.value }}</span> <div @click="technical()">技术文档</div>
</a-tooltip> <!-- <div @click="technicalNew()">新手指引</div> -->
</p> <div @click="SDKClick()">SDK安装包</div>
<p> </div>
<span>{{ item.people2.name }}</span> </div>
<a-tooltip> <div class="content-right">
<template #title>{{ item.people2.value }}</template> <div class="content-right-left">
<span>{{ item.people2.value }}</span> <div class="content-right-title">{{ item.contact }}</div>
</a-tooltip> <div class="content-right-content">
</p> <p>
<p> <span>{{ item.facilitator.name }}</span>
<span>{{ item.phone2.name }}</span> <a-tooltip>
<a-tooltip> <template #title>{{ item.facilitator.value }}</template>
<template #title>{{ item.phone2.value }}</template> <span>{{ item.facilitator.value }}</span>
<span>{{ item.phone2.value }}</span> </a-tooltip>
</a-tooltip> </p>
</p> <p>
<span>{{ item.people.name }}</span>
<a-tooltip>
<template #title>{{ item.people.value }}</template>
<span>{{ item.people.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator2.value }}</template>
<span>{{ item.facilitator2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people2.name }}</span>
<a-tooltip>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -133,7 +265,8 @@
import { pinyin } from 'pinyin-pro' import { pinyin } from 'pinyin-pro'
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
import { message } from 'ant-design-vue' import { message } from 'ant-design-vue'
const approveStatus = ref('') const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let dataFrom = ref({ let dataFrom = ref({
title: '使用方式', title: '使用方式',
englishTitle: 'USAGE', englishTitle: 'USAGE',
@ -188,7 +321,7 @@
dataFrom.value.content[0].people.value = props.dataList.deptContacts dataFrom.value.content[0].people.value = props.dataList.deptContacts
dataFrom.value.content[0].phone.value = props.dataList.deptPhone dataFrom.value.content[0].phone.value = props.dataList.deptPhone
dataFrom.value.content[0].postMethod.value = props.dataList.apiMethodType dataFrom.value.content[0].postMethod.value = props.dataList.apiMethodType
approveStatus.value = props.dataList.approveStatus // approveStatus.value = props.dataList.approveStatus
console.log('dataList', props.dataList) console.log('dataList', props.dataList)
props.dataList.infoList.map((item) => { props.dataList.infoList.map((item) => {
if (item.attrType === '组件地址') { if (item.attrType === '组件地址') {
@ -449,5 +582,10 @@
} }
} }
} }
.contentOther {
width: 100%;
height: 0.3rem;
background: pink;
}
} }
</style> </style>

View File

@ -7,21 +7,46 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div class="content"> <div v-if="whoShow1 && whoShow1.itShowQingDao">
<div <div class="content" v-show="approveStatus == '通过'">
v-for="(item, index) in dataFrom.content" <div
:key="index" v-for="(item, index) in dataFrom.content"
class="content-card" :key="index"
> class="content-card"
<div class="card-title">{{ item.childrenTitle }}</div> >
<div class="card-content"> <div class="card-title">{{ item.childrenTitle }}</div>
<div v-for="carditem in item.childrenContent" :key="carditem"> <div class="card-content">
<div style="display: flex"> <div v-for="carditem in item.childrenContent" :key="carditem">
<span>{{ carditem.attrType }}</span> <div style="display: flex">
<a-tooltip> <span>{{ carditem.attrType }}</span>
<template #title>{{ carditem.attrValue }}</template> <a-tooltip>
<span>{{ carditem.attrValue }}</span> <template #title>{{ carditem.attrValue }}</template>
</a-tooltip> <span>{{ carditem.attrValue }}</span>
</a-tooltip>
</div>
</div>
</div>
</div>
</div>
<div v-show="approveStatus !== '通过'">请申请后查看</div>
</div>
<div v-else>
<div class="content">
<div
v-for="(item, index) in dataFrom.content"
:key="index"
class="content-card"
>
<div class="card-title">{{ item.childrenTitle }}</div>
<div class="card-content">
<div v-for="carditem in item.childrenContent" :key="carditem">
<div style="display: flex">
<span>{{ carditem.attrType }}</span>
<a-tooltip>
<template #title>{{ carditem.attrValue }}</template>
<span>{{ carditem.attrValue }}</span>
</a-tooltip>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -33,6 +58,8 @@
<script setup> <script setup>
import DetalsTitle from '@/views/detailsAll/components/DetalsTitle' import DetalsTitle from '@/views/detailsAll/components/DetalsTitle'
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let dataFrom = ref({ let dataFrom = ref({
title: '归属部门与服务商', title: '归属部门与服务商',
englishTitle: 'DEPARTMENT&ERVICE', englishTitle: 'DEPARTMENT&ERVICE',
@ -105,6 +132,7 @@
() => props.dataList, () => props.dataList,
(val) => { (val) => {
if (val) { if (val) {
approveStatus.value = val.approveStatus
// dataFrom.value.content[0].childrenContent = [] // dataFrom.value.content[0].childrenContent = []
// dataFrom.value.content[1].childrenContent = [] // dataFrom.value.content[1].childrenContent = []
let obj = { let obj = {

View File

@ -7,78 +7,164 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div class="content" v-for="item in dataFrom.content" :key="item.title"> <div v-if="whoShow1 && whoShow1.itShowQingDao">
<div class="content-left"> <div
<div class="left"> class="content"
<div class="content-left-title"> v-for="item in dataFrom.content"
<span>{{ item.title }}</span> :key="item.title"
v-show="approveStatus == '通过'"
>
<div class="content-left">
<div class="left">
<div class="content-left-title">
<span>{{ item.title }}</span>
</div>
<div class="content-left-content">
<p>
<span>{{ item.link.name }}</span>
<a-tooltip>
<template #title>{{ item.linkValue }}</template>
<span>{{ item.linkValue }}</span>
</a-tooltip>
</p>
</div>
</div> </div>
<div class="content-left-content"> <div class="right">
<p> <div @click="technical()">技术文档</div>
<span>{{ item.link.name }}</span> <div @click="technicalNew()">新手指引</div>
<a-tooltip>
<template #title>{{ item.linkValue }}</template>
<span>{{ item.linkValue }}</span>
</a-tooltip>
</p>
</div> </div>
</div> </div>
<div class="right"> <div class="content-right">
<div @click="technical()">技术文档</div> <div class="content-right-left">
<div @click="technicalNew()">新手指引</div> <div class="content-right-title">{{ item.contact }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator.value }}</template>
<span>{{ item.facilitator.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people.name }}</span>
<a-tooltip>
<template #title>{{ item.people.value }}</template>
<span>{{ item.people.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator2.value }}</template>
<span>{{ item.facilitator2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people2.name }}</span>
<a-tooltip>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div>
</div> </div>
</div> </div>
<div class="content-right"> <div v-show="approveStatus !== '通过'">请申请后查看</div>
<div class="content-right-left"> </div>
<div class="content-right-title">{{ item.contact }}</div> <div v-else>
<div class="content-right-content"> <div class="content" v-for="item in dataFrom.content" :key="item.title">
<p> <div class="content-left">
<span>{{ item.facilitator.name }}</span> <div class="left">
<a-tooltip> <div class="content-left-title">
<template #title>{{ item.facilitator.value }}</template> <span>{{ item.title }}</span>
<span>{{ item.facilitator.value }}</span> </div>
</a-tooltip> <div class="content-left-content">
</p> <p>
<p> <span>{{ item.link.name }}</span>
<span>{{ item.people.name }}</span> <a-tooltip>
<a-tooltip> <template #title>{{ item.linkValue }}</template>
<template #title>{{ item.people.value }}</template> <span>{{ item.linkValue }}</span>
<span>{{ item.people.value }}</span> </a-tooltip>
</a-tooltip> </p>
</p> </div>
<p> </div>
<span>{{ item.phone.name }}</span> <div class="right">
<a-tooltip> <div @click="technical()">技术文档</div>
<template #title>{{ item.phone.value }}</template> <div @click="technicalNew()">新手指引</div>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div> </div>
</div> </div>
<div class="content-right-right"> <div class="content-right">
<div class="content-right-title">{{ item.contact2 }}</div> <div class="content-right-left">
<div class="content-right-content"> <div class="content-right-title">{{ item.contact }}</div>
<p> <div class="content-right-content">
<span>{{ item.facilitator2.name }}</span> <p>
<a-tooltip> <span>{{ item.facilitator.name }}</span>
<template #title>{{ item.facilitator2.value }}</template> <a-tooltip>
<span>{{ item.facilitator2.value }}</span> <template #title>{{ item.facilitator.value }}</template>
</a-tooltip> <span>{{ item.facilitator.value }}</span>
</p> </a-tooltip>
<p> </p>
<span>{{ item.people2.name }}</span> <p>
<a-tooltip> <span>{{ item.people.name }}</span>
<template #title>{{ item.people2.value }}</template> <a-tooltip>
<span>{{ item.people2.value }}</span> <template #title>{{ item.people.value }}</template>
</a-tooltip> <span>{{ item.people.value }}</span>
</p> </a-tooltip>
<p> </p>
<span>{{ item.phone2.name }}</span> <p>
<a-tooltip> <span>{{ item.phone.name }}</span>
<template #title>{{ item.phone2.value }}</template> <a-tooltip>
<span>{{ item.phone2.value }}</span> <template #title>{{ item.phone.value }}</template>
</a-tooltip> <span>{{ item.phone.value }}</span>
</p> </a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator2.value }}</template>
<span>{{ item.facilitator2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people2.name }}</span>
<a-tooltip>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -91,6 +177,8 @@
import { pinyin } from 'pinyin-pro' import { pinyin } from 'pinyin-pro'
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
import { message } from 'ant-design-vue' import { message } from 'ant-design-vue'
const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let dataFrom = ref({ let dataFrom = ref({
title: '使用方式', title: '使用方式',
englishTitle: 'USAGE', englishTitle: 'USAGE',
@ -157,6 +245,7 @@
if (!obj) { if (!obj) {
flag.value = false flag.value = false
} else { } else {
approveStatus.value = val.approveStatus
dataFrom.value.content[0].link.value = val.apiUrl || '--' dataFrom.value.content[0].link.value = val.apiUrl || '--'
dataFrom.value.content[0].facilitator.value = val.deptName || '--' dataFrom.value.content[0].facilitator.value = val.deptName || '--'
dataFrom.value.content[0].people.value = val.deptContacts || '--' dataFrom.value.content[0].people.value = val.deptContacts || '--'

View File

@ -7,33 +7,71 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div class="content"> <div v-if="whoShow1 && whoShow1.itShowQingDao">
<div class="content-card"> <div class="content" v-show="approveStatus == '通过'">
<div class="left"> <div class="content-card">
<p>{{ dataFrom.linkName }}</p> <div class="left">
<a-tooltip> <p>{{ dataFrom.linkName }}</p>
<template #title>{{ dataFrom.link }}</template> <a-tooltip>
<p>{{ dataFrom.link }}</p> <template #title>{{ dataFrom.link }}</template>
</a-tooltip> <p>{{ dataFrom.link }}</p>
</a-tooltip>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<div @click="technicaltow()">新手指引</div>
</div>
</div> </div>
<div class="right"> <div class="content-card">
<div @click="technical()">技术文档</div> <div v-for="(item, index) in dataFrom.content" :key="index">
<div @click="technicaltow()">新手指引</div> <div class="card-title">
{{ item.childrenTitle }}
</div>
<div class="card-content">
<div v-for="carditem in item.childrenContent" :key="carditem">
<div>
<span>{{ carditem.attrType }}</span>
<a-tooltip>
<template #title>{{ carditem.attrValue }}</template>
<span>{{ carditem.attrValue }}</span>
</a-tooltip>
</div>
</div>
</div>
</div>
</div> </div>
</div> </div>
<div class="content-card"> <div v-show="approveStatus !== '通过'">请申请后查看</div>
<div v-for="(item, index) in dataFrom.content" :key="index"> </div>
<div class="card-title"> <div v-else>
{{ item.childrenTitle }} <div class="content">
<div class="content-card">
<div class="left">
<p>{{ dataFrom.linkName }}</p>
<a-tooltip>
<template #title>{{ dataFrom.link }}</template>
<p>{{ dataFrom.link }}</p>
</a-tooltip>
</div> </div>
<div class="card-content"> <div class="right">
<div v-for="carditem in item.childrenContent" :key="carditem"> <div @click="technical()">技术文档</div>
<div> <div @click="technicaltow()">新手指引</div>
<span>{{ carditem.attrType }}</span> </div>
<a-tooltip> </div>
<template #title>{{ carditem.attrValue }}</template> <div class="content-card">
<span>{{ carditem.attrValue }}</span> <div v-for="(item, index) in dataFrom.content" :key="index">
</a-tooltip> <div class="card-title">
{{ item.childrenTitle }}
</div>
<div class="card-content">
<div v-for="carditem in item.childrenContent" :key="carditem">
<div>
<span>{{ carditem.attrType }}</span>
<a-tooltip>
<template #title>{{ carditem.attrValue }}</template>
<span>{{ carditem.attrValue }}</span>
</a-tooltip>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -48,7 +86,8 @@
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
import { pinyin } from 'pinyin-pro' import { pinyin } from 'pinyin-pro'
import { message } from 'ant-design-vue' import { message } from 'ant-design-vue'
const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let flag = ref(true) let flag = ref(true)
let dataFrom = ref({ let dataFrom = ref({
title: '使用方式', title: '使用方式',
@ -180,6 +219,7 @@
() => props.dataList, () => props.dataList,
(val) => { (val) => {
if (val) { if (val) {
approveStatus.value = val.approveStatus
let obj = val.infoList.filter((item) => item.attrType === '组件地址')[0] let obj = val.infoList.filter((item) => item.attrType === '组件地址')[0]
dataFrom.value.content[0].childrenContent[1].attrValue = dataFrom.value.content[0].childrenContent[1].attrValue =
props.dataList.deptContacts || '--' props.dataList.deptContacts || '--'

View File

@ -39,7 +39,7 @@
flag.value = false flag.value = false
} else { } else {
props.dataList.infoList.map((item) => { props.dataList.infoList.map((item) => {
if (item.attrType === '预览服务地址') { if (item.attrType === '图层服务地址') {
img.value = item.attrValue.replace(/amp;/g, '') || '--' img.value = item.attrValue.replace(/amp;/g, '') || '--'
} }
}) })
@ -56,7 +56,7 @@
flag.value = false flag.value = false
} else { } else {
val.infoList.map((item) => { val.infoList.map((item) => {
if (item.attrType === '预览服务地址') { if (item.attrType === '图层服务地址') {
img.value = item.attrValue.replace(/amp;/g, '') || '--' img.value = item.attrValue.replace(/amp;/g, '') || '--'
} }
}) })

View File

@ -7,80 +7,168 @@
:type="dataFrom.englishTitle" :type="dataFrom.englishTitle"
></DetalsTitle> ></DetalsTitle>
</div> </div>
<div class="content" v-for="item in dataFrom.content" :key="item.title"> <div v-if="whoShow1 && whoShow1.itShowQingDao">
<div class="content-left"> <div
<div class="left"> class="content"
<a-tooltip> v-for="item in dataFrom.content"
<template #title>{{ item.linkValue }}</template> :key="item.title"
<p @click="ServiceAddressFunction(item.linkValue)"> v-show="approveStatus == '通过'"
服务地址 >
{{ item.linkValue }} <div class="content-left">
</p> <div class="left">
</a-tooltip> <a-tooltip>
<a-tooltip> <template #title>{{ item.linkValue }}</template>
<template #title>{{ item.csslinkValue }}</template> <p @click="ServiceAddressFunction(item.linkValue)">
<p @click="ServiceAddressFunction(item.csslinkValue)"> 服务地址
样式服务地址 {{ item.linkValue }}
{{ item.csslinkValue }} </p>
</p> </a-tooltip>
</a-tooltip> <a-tooltip>
</div> <template #title>{{ item.csslinkValue }}</template>
<div class="right"> <p @click="ServiceAddressFunction(item.csslinkValue)">
<div @click="technical()">技术文档</div> 样式服务地址
<div @click="technicalNew()">新手指引</div> {{ item.csslinkValue }}
</div> </p>
</div> </a-tooltip>
<div class="content-right"> </div>
<div class="content-right-left"> <div class="right">
<div class="content-right-title">{{ item.contact }}</div> <div @click="technical()">技术文档</div>
<div class="content-right-content"> <div @click="technicalNew()">新手指引</div>
<p>
<span>{{ item.facilitator.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator.value }}</template>
<span>{{ item.facilitator.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people.name }}</span>
<a-tooltip>
<template #title>{{ item.people.value }}</template>
<span>{{ item.people.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div> </div>
</div> </div>
<div class="content-right-right"> <div class="content-right">
<div class="content-right-title">{{ item.contact2 }}</div> <div class="content-right-left">
<div class="content-right-content"> <div class="content-right-title">{{ item.contact }}</div>
<p> <div class="content-right-content">
<span>{{ item.facilitator2.name }}</span> <p>
<a-tooltip> <span>{{ item.facilitator.name }}</span>
<template #title>{{ item.facilitator2.value }}</template> <a-tooltip>
<span>{{ item.facilitator2.value }}</span> <template #title>{{ item.facilitator.value }}</template>
</a-tooltip> <span>{{ item.facilitator.value }}</span>
</p> </a-tooltip>
<p> </p>
<span>{{ item.people2.name }}</span> <p>
<a-tooltip> <span>{{ item.people.name }}</span>
<template #title>{{ item.people2.value }}</template> <a-tooltip>
<span>{{ item.people2.value }}</span> <template #title>{{ item.people.value }}</template>
</a-tooltip> <span>{{ item.people.value }}</span>
</p> </a-tooltip>
<p> </p>
<span>{{ item.phone2.name }}</span> <p>
<a-tooltip> <span>{{ item.phone.name }}</span>
<template #title>{{ item.phone2.value }}</template> <a-tooltip>
<span>{{ item.phone2.value }}</span> <template #title>{{ item.phone.value }}</template>
</a-tooltip> <span>{{ item.phone.value }}</span>
</p> </a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator2.value }}</template>
<span>{{ item.facilitator2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people2.name }}</span>
<a-tooltip>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div>
</div>
</div>
<div v-show="approveStatus !== '通过'">请申请后查看</div>
</div>
<div v-else>
<div class="content" v-for="item in dataFrom.content" :key="item.title">
<div class="content-left">
<div class="left">
<a-tooltip>
<template #title>{{ item.linkValue }}</template>
<p @click="ServiceAddressFunction(item.linkValue)">
服务地址
{{ item.linkValue }}
</p>
</a-tooltip>
<a-tooltip>
<template #title>{{ item.csslinkValue }}</template>
<p @click="ServiceAddressFunction(item.csslinkValue)">
样式服务地址
{{ item.csslinkValue }}
</p>
</a-tooltip>
</div>
<div class="right">
<div @click="technical()">技术文档</div>
<div @click="technicalNew()">新手指引</div>
</div>
</div>
<div class="content-right">
<div class="content-right-left">
<div class="content-right-title">{{ item.contact }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator.value }}</template>
<span>{{ item.facilitator.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people.name }}</span>
<a-tooltip>
<template #title>{{ item.people.value }}</template>
<span>{{ item.people.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone.name }}</span>
<a-tooltip>
<template #title>{{ item.phone.value }}</template>
<span>{{ item.phone.value }}</span>
</a-tooltip>
</p>
</div>
</div>
<div class="content-right-right">
<div class="content-right-title">{{ item.contact2 }}</div>
<div class="content-right-content">
<p>
<span>{{ item.facilitator2.name }}</span>
<a-tooltip>
<template #title>{{ item.facilitator2.value }}</template>
<span>{{ item.facilitator2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.people2.name }}</span>
<a-tooltip>
<template #title>{{ item.people2.value }}</template>
<span>{{ item.people2.value }}</span>
</a-tooltip>
</p>
<p>
<span>{{ item.phone2.name }}</span>
<a-tooltip>
<template #title>{{ item.phone2.value }}</template>
<span>{{ item.phone2.value }}</span>
</a-tooltip>
</p>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -93,6 +181,8 @@
import { message } from 'ant-design-vue' import { message } from 'ant-design-vue'
import { pinyin } from 'pinyin-pro' import { pinyin } from 'pinyin-pro'
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
const approveStatus = ref('通过')
const whoShow1 = ref(whoShow)
let dataFrom = ref({ let dataFrom = ref({
link: '', link: '',
title: '使用方式', title: '使用方式',
@ -163,6 +253,7 @@
if (!obj) { if (!obj) {
flag.value = false flag.value = false
} else { } else {
approveStatus.value = val.approveStatus
dataFrom.value.content[0].link.value = val.apiUrl || '--' dataFrom.value.content[0].link.value = val.apiUrl || '--'
dataFrom.value.content[0].facilitator.value = val.deptName || '--' dataFrom.value.content[0].facilitator.value = val.deptName || '--'
dataFrom.value.content[0].people.value = val.deptContacts || '--' dataFrom.value.content[0].people.value = val.deptContacts || '--'

View File

@ -1100,6 +1100,16 @@
getCountByFuzzyQuery(searchValue.value || '').then((res) => { getCountByFuzzyQuery(searchValue.value || '').then((res) => {
console.log('全局搜索==========》', res.data.data) console.log('全局搜索==========》', res.data.data)
globalData.data = res.data.data globalData.data = res.data.data
let mapFlag = true
res.data.data.map((val) => {
if (mapFlag && val.count != 0) {
mapFlag = false
changeCards(val.type)
}
})
if (!mapFlag) {
return
}
if (paramsGetResources.type == '基础设施') { if (paramsGetResources.type == '基础设施') {
console.log('camera1', camera.value) console.log('camera1', camera.value)
camera.value.getCamera(true, searchValue.value) camera.value.getCamera(true, searchValue.value)
@ -1238,6 +1248,7 @@
val.applyCount = val.syqk // val.applyCount = val.syqk //
val.deptName = val.TGBM // val.deptName = val.TGBM //
val.createDate = val.fbrq // val.createDate = val.fbrq //
val.description = val.xgxt //
}) })
resourceList.data = res.data.data.data || [] resourceList.data = res.data.data.data || []
resourceTotal.value = res.data.data.rows || '' resourceTotal.value = res.data.data.rows || ''
@ -1334,6 +1345,7 @@
val.applyCount = val.syqk // val.applyCount = val.syqk //
val.deptName = val.TGBM // val.deptName = val.TGBM //
val.createDate = val.fbrq // val.createDate = val.fbrq //
val.description = val.xgxt //
}) })
resourceList.data = res.data.data.data || [] resourceList.data = res.data.data.data || []
resourceTotal.value = res.data.data.rows || '' resourceTotal.value = res.data.data.rows || ''

View File

@ -112,15 +112,15 @@
</div> </div>
<div> <div>
<a-form-item <a-form-item
label="应用背景" label="需求依据"
name="applicationBackground" name="applicationBackground"
:rules="[ :rules="[
{ required: true, message: '请输入应用背景' }, { required: true, message: '请输入需求依据' },
{ min: 50, message: '应用背景最少为50个字' }, { min: 50, message: '需求依据最少为50个字' },
]" ]"
> >
<a-textarea <a-textarea
placeholder="请输入应用背景" placeholder="请输入需求依据"
v-model:value="formName.applicationBackground" v-model:value="formName.applicationBackground"
:rows="4" :rows="4"
/> />

View File

@ -247,6 +247,11 @@
path: '/assignCase', path: '/assignCase',
}) })
break break
case '典型赋能案例':
router.push({
path: '/assignCase',
})
break
case '融合服务': case '融合服务':
router.push({ router.push({
path: '/integrationServices', path: '/integrationServices',
@ -437,7 +442,7 @@
font-size: 0.16rem; font-size: 0.16rem;
} }
.name { .name {
max-width: 3.3rem; max-width: 2.3rem;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;

View File

@ -840,7 +840,7 @@
const tabList = ref([ const tabList = ref([
{ {
title: '设施类型', title: '设施类型',
content: ['视频资源', '云资源', '感知资源', '会议室'], content: ['视频资源', '云资源', '感知资源', '城市云脑会客厅'],
}, },
{ {
title: '视频标签', title: '视频标签',
@ -971,7 +971,7 @@
} }
// //
const disabledStartMinutes = (selectedHour) => { const disabledStartMinutes = (selectedHour) => {
if (roomEndTime) { if (roomEndTime.value) {
let minutes = [] let minutes = []
let hour = moment().hour() let hour = moment().hour()
let minute = moment().minute() let minute = moment().minute()
@ -985,7 +985,7 @@
} }
// //
const disabledStartSeconds = (selectedHour, selectedMinute) => { const disabledStartSeconds = (selectedHour, selectedMinute) => {
if (roomEndTime) { if (roomEndTime.value) {
let seconds = [] let seconds = []
let hour = moment().hour() let hour = moment().hour()
let minute = moment().minute() let minute = moment().minute()
@ -1011,7 +1011,7 @@
} }
// //
const disabledEndMinutes = (selectedHour) => { const disabledEndMinutes = (selectedHour) => {
if (roomCreateTime) { if (roomCreateTime.value) {
let minutes = [] let minutes = []
let hour = moment().hour() let hour = moment().hour()
let minute = moment().minute() let minute = moment().minute()
@ -1025,7 +1025,7 @@
} }
// //
const disabledEndSeconds = (selectedHour, selectedMinute) => { const disabledEndSeconds = (selectedHour, selectedMinute) => {
if (roomCreateTime) { if (roomCreateTime.value) {
let seconds = [] let seconds = []
let hour = moment().hour() let hour = moment().hour()
let minute = moment().minute() let minute = moment().minute()
@ -1262,7 +1262,7 @@
dataSource.value = [] dataSource.value = []
dataSource2.value = [] dataSource2.value = []
pagination.value.total = 0 pagination.value.total = 0
} else if (name == '会议室') { } else if (name == '城市云脑会客厅') {
// room.value = false // room.value = false
// wrjFlag.value = true // wrjFlag.value = true
// showMap.value = false // showMap.value = false
@ -1380,7 +1380,7 @@
}) })
}) })
wrjFlag.value = true wrjFlag.value = true
} else if (name == '会议室') { } else if (name == '城市云脑会客厅') {
showMap.value = false showMap.value = false
dataSource.value = [] dataSource.value = []
dataSource2.value = [] dataSource2.value = []

View File

@ -135,6 +135,7 @@
val.applyCount = val.syqk // val.applyCount = val.syqk //
val.deptName = val.TGBM // val.deptName = val.TGBM //
val.createDate = val.fbrq // val.createDate = val.fbrq //
val.description = val.xgxt //
}) })
obj.value = res.data.data.data || [] obj.value = res.data.data.data || []
object.sjNum = res.data.data.rows object.sjNum = res.data.data.rows
@ -291,113 +292,113 @@
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.capability-convergence { .capability-convergence {
height: 7.2rem; height: 7.2rem;
background: url('~@/assets/newHome/Convergence-bg.png') no-repeat; background: url('~@/assets/newHome/Convergence-bg.png') no-repeat;
background-size: 100%; background-size: 100%;
display: flex;
justify-content: center;
.main {
width: 13rem;
margin-top: 1.8rem;
display: flex; display: flex;
justify-content: center; flex-direction: column;
.main { flex-wrap: wrap;
width: 13rem; .top {
margin-top: 1.8rem; font-size: 0.3rem;
color: #212121;
text-align: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-wrap: wrap; flex-wrap: wrap;
.top { justify-content: center;
font-size: 0.3rem; align-items: center;
color: #212121; .line {
text-align: center; width: 0.34rem;
display: flex; height: 0.03rem;
flex-direction: column; background-color: #0058e1;
flex-wrap: wrap; margin-top: 0.08rem;
justify-content: center; }
align-items: center; }
.line { .bottom {
width: 0.34rem; display: flex;
height: 0.03rem; justify-content: space-between;
background-color: #0058e1; margin-top: 0.4rem;
margin-top: 0.08rem; .item {
width: 2.44rem;
height: 3.91rem;
font-size: 0.16rem;
background-color: #fff;
border-radius: 0.02rem;
box-shadow: 0 0.05rem 0.2rem #ccc;
position: relative;
div:nth-of-type(1) {
height: 1.02rem;
line-height: 1.02rem;
font-size: 0.2rem;
color: #fff;
padding-left: 0.15rem;
background-size: 100%;
}
.jc {
background: url('~@/assets/newHome/Convergence-jc.png') no-repeat;
}
.sj {
background: url('~@/assets/newHome/Convergence-sj.png') no-repeat;
}
.zj {
background: url('~@/assets/newHome/Convergence-zj.png') no-repeat;
}
.yy {
background: url('~@/assets/newHome/Convergence-yy.png') no-repeat;
}
.zs {
background: url('~@/assets/newHome/Convergence-zs.png') no-repeat;
}
.name {
height: 0.47rem;
line-height: 0.47rem;
margin: 0 0.16rem;
border-bottom: 0.01rem solid #e9e9e9;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
word-break: break-all;
}
.name:hover {
color: #0058e1;
cursor: pointer;
}
.name-last {
border-bottom: none;
}
.btn {
cursor: pointer;
width: 0.8rem;
height: 0.24rem;
border: 0.01rem solid #0058e1;
font-size: 0.14rem;
color: #0058e1;
border-radius: 0.02rem;
text-align: center;
margin-top: 0.1rem;
margin-left: 0.85rem;
position: absolute;
bottom: 0.2rem;
}
.btn:hover {
background: rgba(0, 88, 225, 0.3);
color: #000;
} }
} }
.bottom { .item:hover {
display: flex; border-radius: 0.02rem;
justify-content: space-between; border: 0.01rem solid #0058e1;
margin-top: 0.4rem; box-shadow: 0rem 0.08rem 0.2rem rgba(0, 88, 225, 0.3);
.item {
width: 2.44rem;
height: 3.91rem;
font-size: 0.16rem;
background-color: #fff;
border-radius: 0.02rem;
box-shadow: 0 0.05rem 0.2rem #ccc;
position: relative;
div:nth-of-type(1) {
height: 1.02rem;
line-height: 1.02rem;
font-size: 0.2rem;
color: #fff;
padding-left: 0.15rem;
background-size: 100%;
}
.jc {
background: url('~@/assets/newHome/Convergence-jc.png') no-repeat;
}
.sj {
background: url('~@/assets/newHome/Convergence-sj.png') no-repeat;
}
.zj {
background: url('~@/assets/newHome/Convergence-zj.png') no-repeat;
}
.yy {
background: url('~@/assets/newHome/Convergence-yy.png') no-repeat;
}
.zs {
background: url('~@/assets/newHome/Convergence-zs.png') no-repeat;
}
.name {
height: 0.47rem;
line-height: 0.47rem;
margin: 0 0.16rem;
border-bottom: 0.01rem solid #e9e9e9;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
word-break: break-all;
}
.name:hover {
color: #0058e1;
cursor: pointer;
}
.name-last {
border-bottom: none;
}
.btn {
cursor: pointer;
width: 0.8rem;
height: 0.24rem;
border: 0.01rem solid #0058e1;
font-size: 0.14rem;
color: #0058e1;
border-radius: 0.02rem;
text-align: center;
margin-top: 0.1rem;
margin-left: 0.85rem;
position: absolute;
bottom: 0.2rem;
}
.btn:hover {
background: rgba(0, 88, 225, 0.3);
color: #000;
}
}
.item:hover {
border-radius: 0.02rem;
border: 0.01rem solid #0058e1;
box-shadow: 0rem 0.08rem 0.2rem rgba(0, 88, 225, 0.3);
}
} }
} }
} }
}
</style> </style>

View File

@ -167,7 +167,7 @@
'数据资源', '数据资源',
'知识库', '知识库',
]) ])
const select = ref('组件服务') const select = ref(whoShow.itShowQingDao ? '' : '组件服务')
let applicationDataList = ref([]) let applicationDataList = ref([])
let technosphereDataList = ref([]) let technosphereDataList = ref([])
const fabubumen = ref([ const fabubumen = ref([
@ -312,7 +312,7 @@
.main { .main {
width: 8.8rem; width: 8.8rem;
height: 1.48rem; height: 1.48rem;
background: rgba(255, 255, 255, 0.18); // background: rgba(255, 255, 255, 0.18);
padding: 0.2rem 0.4rem; padding: 0.2rem 0.4rem;
border-radius: 0.02rem; border-radius: 0.02rem;
margin-top: 1.36rem; margin-top: 1.36rem;
@ -321,36 +321,44 @@
justify-content: flex-start; justify-content: flex-start;
span { span {
cursor: pointer; cursor: pointer;
padding: 0.05rem 0; padding: 0.1rem 0;
width: 1.2rem; width: 1.2rem;
text-align: center; text-align: center;
margin: 0 0.1rem; margin: 0 0.1rem;
font-size: 0.18rem; font-size: 0.18rem;
background: linear-gradient( // background: linear-gradient(
to right, // to right,
rgba(68, 107, 164, 0.4) 0%, // rgba(68, 107, 164, 0.4) 0%,
rgba(68, 107, 164, 0) 100% // rgba(68, 107, 164, 0) 100%
); // );
color: white; color: white;
border-left: 0.02rem solid rgb(108, 147, 204); // border-left: 0.02rem solid rgb(108, 147, 204);
} }
span:nth-of-type(1) { span:nth-of-type(1) {
margin-left: 0; margin-left: 0;
} }
span:hover { // span:hover {
background: linear-gradient( // background: linear-gradient(
to right, // to right,
rgba(68, 107, 164, 0.5) 0%, // rgba(68, 107, 164, 0.5) 0%,
rgba(68, 107, 164, 0.1) 100% // rgba(68, 107, 164, 0.1) 100%
); // );
} // }
.select { .select {
background: linear-gradient( // background: linear-gradient(
to right, // to bottom,
rgba(68, 107, 164, 0.8) 0%, // rgba(255, 255, 255, 0.6) 0%,
rgba(68, 107, 164, 0.4) 100% // rgba(31, 116, 243, 0.8) 20%,
) !important; // rgba(0, 102, 255, 0.8) 50%,
border-left: 0.02rem solid #fff; // rgba(61, 122, 214, 0.8) 80%,
// rgba(255, 255, 255, 0.6) 100%
// ) !important;
background: url('~@/assets/home/top-select.png') no-repeat;
background-size: 95%;
background-position: 50% 40%;
// border-radius: 0.5rem;
font-weight: 600;
// border-left: 0.02rem solid #fff;
} }
} }
.bottom { .bottom {