2022-06-14 09:32:49 +08:00
|
|
|
|
<template>
|
|
|
|
|
<div class="capability-convergence">
|
|
|
|
|
<div class="main">
|
|
|
|
|
<div class="top">
|
2022-09-29 11:37:08 +08:00
|
|
|
|
能力分类
|
2022-06-14 09:32:49 +08:00
|
|
|
|
<span class="line"></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottom">
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="zj">组件服务</div>
|
2022-10-02 16:42:34 +08:00
|
|
|
|
<div
|
|
|
|
|
class="name"
|
2022-10-04 13:14:15 +08:00
|
|
|
|
v-for="(item, index) in zjList.slice(0, 5)"
|
2022-10-02 16:42:34 +08:00
|
|
|
|
:key="item.name"
|
|
|
|
|
:class="index == 4 ? 'name-last' : ''"
|
|
|
|
|
@click="selectOne1(item.name)"
|
|
|
|
|
>
|
|
|
|
|
{{ item.name + '-' + item.num + '项' }}
|
2022-06-14 09:32:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="btn" @click="jumpPage('组件服务')">查看更多</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="yy">应用资源</div>
|
2022-10-04 13:14:15 +08:00
|
|
|
|
<div
|
2022-09-29 11:37:08 +08:00
|
|
|
|
class="name"
|
2022-10-04 13:14:15 +08:00
|
|
|
|
v-for="(item, index) in yyList.slice(0, 5)"
|
|
|
|
|
:key="item.name"
|
2022-09-29 11:37:08 +08:00
|
|
|
|
:class="index == 4 ? 'name-last' : ''"
|
2022-10-04 13:14:15 +08:00
|
|
|
|
@click="selectOne11(item.name)"
|
2022-09-29 11:37:08 +08:00
|
|
|
|
>
|
2022-10-04 13:14:15 +08:00
|
|
|
|
{{ item.name + '-' + item.num + '项' }}
|
2022-06-14 09:32:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="btn" @click="jumpPage('应用资源')">查看更多</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="jc">基础设施</div>
|
2022-09-29 11:37:08 +08:00
|
|
|
|
<div
|
|
|
|
|
class="name"
|
2022-10-04 13:14:15 +08:00
|
|
|
|
v-for="(item, index) in jcList.slice(0, 5)"
|
2022-09-29 11:37:08 +08:00
|
|
|
|
:key="item.name"
|
|
|
|
|
:class="index == 2 ? 'name-last' : ''"
|
|
|
|
|
@click="selectOne2(item.name)"
|
|
|
|
|
>
|
2022-06-30 18:26:39 +08:00
|
|
|
|
{{ item.name + '-' + item.num + '项' }}
|
2022-06-23 14:17:04 +08:00
|
|
|
|
</div>
|
2022-06-14 09:32:49 +08:00
|
|
|
|
<div class="btn" @click="jumpPage('基础设施')">查看更多</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="sj">数据资源</div>
|
2022-09-29 11:37:08 +08:00
|
|
|
|
<div
|
|
|
|
|
class="name"
|
|
|
|
|
v-for="(item, index) in sjList"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:class="index == 4 ? 'name-last' : ''"
|
|
|
|
|
@click="selectOne3(item.name)"
|
|
|
|
|
>
|
2022-06-23 14:17:04 +08:00
|
|
|
|
{{ index + 1 }}-{{ item.name }}
|
2022-06-14 09:32:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="btn" @click="jumpPage('数据资源')">查看更多</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div class="zs">知识库</div>
|
2022-09-29 11:37:08 +08:00
|
|
|
|
<div
|
|
|
|
|
class="name"
|
|
|
|
|
v-for="(item, index) in zsList"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:class="index == 4 ? 'name-last' : ''"
|
|
|
|
|
@click="openHref(item)"
|
|
|
|
|
>
|
2022-06-22 16:36:04 +08:00
|
|
|
|
{{ index + 1 }}-{{ item.name }}
|
2022-06-14 09:32:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="btn" @click="jumpPage('知识库')">查看更多</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script setup>
|
2022-09-29 11:37:08 +08:00
|
|
|
|
import {
|
|
|
|
|
pageWithAttrs,
|
|
|
|
|
getDataResource,
|
|
|
|
|
selectInfrastructureList,
|
2022-10-04 13:14:15 +08:00
|
|
|
|
selectCollectComponentList,
|
|
|
|
|
selectCollectResourceList
|
2022-09-29 11:37:08 +08:00
|
|
|
|
} from '@/api/home.js'
|
|
|
|
|
import { ref, reactive } from 'vue'
|
|
|
|
|
import { useRouter } from 'vue-router'
|
|
|
|
|
import { useStore } from 'vuex'
|
|
|
|
|
import { updateVisits, browsingInsert, getSoldierList } from '@/api/home'
|
|
|
|
|
import { message, Upload } from 'ant-design-vue'
|
|
|
|
|
import mybus from '@/myplugins/mybus'
|
|
|
|
|
const store = useStore()
|
|
|
|
|
const router = useRouter()
|
|
|
|
|
const zjList = ref([])
|
|
|
|
|
const jcList = ref([])
|
|
|
|
|
const sjList = ref([])
|
|
|
|
|
const yyList = ref([])
|
|
|
|
|
// 知识库模块数据
|
|
|
|
|
const zsList = ref([])
|
|
|
|
|
// const jcList = ref([])
|
|
|
|
|
const paramsGetResources = {
|
|
|
|
|
districtId: '',
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 5,
|
|
|
|
|
type: '',
|
|
|
|
|
name: '',
|
|
|
|
|
infoList: [],
|
|
|
|
|
orderField: 'total', // total 综合 visits 访问量 applyCount 申请量 score 评分 collectCount 收藏量
|
|
|
|
|
orderType: 'DESC', // ASC 升序 DESC 降序
|
|
|
|
|
}
|
|
|
|
|
console.log('dataShowdev==========================>', whoShow)
|
|
|
|
|
// eslint-disable-next-line no-undef
|
|
|
|
|
const whoShow1 = ref(whoShow)
|
|
|
|
|
const interfaceSuccess = ref(0)
|
|
|
|
|
const object = reactive({
|
|
|
|
|
yyNum: '',
|
|
|
|
|
zjNum: '',
|
|
|
|
|
jcNum: '',
|
|
|
|
|
sjNum: '',
|
|
|
|
|
zsNum: '',
|
|
|
|
|
})
|
|
|
|
|
const getAppResources = (type, obj) => {
|
|
|
|
|
paramsGetResources.type = type
|
|
|
|
|
if (type === '数据资源' && !whoShow1.value.itShowBaoTou) {
|
|
|
|
|
getDataResource({
|
|
|
|
|
serviceName: paramsGetResources.name || '', //资源名称
|
|
|
|
|
orderField: whoShow1.value.itShowQingDao ? 'fbrq' : 'createTime', //排序字段
|
|
|
|
|
orderType: paramsGetResources.orderType.toLowerCase(), //排序方式:desc,asc
|
|
|
|
|
pageNum: paramsGetResources.pageNum, //页码
|
|
|
|
|
pageSize: paramsGetResources.pageSize, //分页大小
|
|
|
|
|
}).then((res) => {
|
|
|
|
|
console.log('数据资源==================>', res.data.data)
|
|
|
|
|
if (whoShow1.value.itShowQingDao) {
|
|
|
|
|
res.data.data.data.forEach((val) => {
|
|
|
|
|
val.id = val.guid // id
|
|
|
|
|
val.name = val.zyname // 名字
|
|
|
|
|
val.sjlCount = val.sjcczl // 数据量
|
|
|
|
|
val.applyCount = val.syqk // 申请量
|
|
|
|
|
val.deptName = val.TGBM // 部门
|
|
|
|
|
val.createDate = val.fbrq // 发布时间
|
|
|
|
|
val.description = val.xgxt // 描述
|
|
|
|
|
})
|
|
|
|
|
obj.value = res.data.data.data || []
|
|
|
|
|
object.sjNum = res.data.data.rows
|
|
|
|
|
} else if (whoShow1.value.itShowXiHaiAn) {
|
|
|
|
|
res.data.data.list.forEach((val) => {
|
|
|
|
|
val.id = val.serviceId // id
|
|
|
|
|
val.name = val.serviceName // 名字
|
|
|
|
|
val.sjlCount = val.requestQuantity // 数据量
|
|
|
|
|
val.applyCount = val.requestCount // 申请量
|
|
|
|
|
val.deptName = val.departmentName // 部门
|
|
|
|
|
val.createTime = val.createTime.split('.')[0]
|
|
|
|
|
val.createDate = val.createTime // 发布时间
|
|
|
|
|
})
|
|
|
|
|
obj.value = res.data.data.list || []
|
|
|
|
|
object.sjNum = res.data.data.total
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
let type = paramsGetResources.type
|
2022-10-04 13:14:15 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
if (type == '基础设施') {
|
|
|
|
|
jcList.value = []
|
|
|
|
|
selectInfrastructureList().then((res) => {
|
|
|
|
|
console.log('基础设施==========>', res.data.data)
|
|
|
|
|
for (const key in res.data.data) {
|
|
|
|
|
if (whoShow1.value.itShowXiHaiAn) {
|
|
|
|
|
if (key === '视频资源') {
|
|
|
|
|
jcList.value.push({
|
|
|
|
|
name: key,
|
|
|
|
|
num: res.data.data[key],
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
} else {
|
2022-09-21 22:26:56 +08:00
|
|
|
|
jcList.value.push({
|
|
|
|
|
name: key,
|
|
|
|
|
num: res.data.data[key],
|
|
|
|
|
})
|
|
|
|
|
}
|
2022-06-30 18:18:10 +08:00
|
|
|
|
}
|
2022-09-29 11:37:08 +08:00
|
|
|
|
// 西海岸-单兵设备、无人机 获取数量
|
|
|
|
|
if (whoShow1.value.itShowXiHaiAn) {
|
|
|
|
|
getSoldierData('无人机')
|
|
|
|
|
.then((res) => {
|
|
|
|
|
let { total = 0 } = res.data.data
|
|
|
|
|
jcList.value.push({
|
|
|
|
|
name: '无人机',
|
|
|
|
|
num: total,
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
.catch((err) => {
|
|
|
|
|
console.log('err--无人机---------->', err)
|
|
|
|
|
})
|
|
|
|
|
getSoldierData('单兵设备')
|
|
|
|
|
.then((res) => {
|
|
|
|
|
let { total = 0 } = res.data.data
|
|
|
|
|
jcList.value.push({
|
|
|
|
|
name: '单兵设备',
|
|
|
|
|
num: total,
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
.catch((err) => {
|
|
|
|
|
console.log('err--单兵设备---------->', err)
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
2022-10-02 16:42:34 +08:00
|
|
|
|
}
|
|
|
|
|
else if (type == '组件服务') {
|
|
|
|
|
zjList.value = []
|
|
|
|
|
selectCollectComponentList().then((res) => {
|
|
|
|
|
for (const key in res.data.data) {
|
|
|
|
|
if (whoShow1.value.itShowXiHaiAn) {
|
|
|
|
|
if (key === '视频资源') {
|
|
|
|
|
zjList.value.push({
|
|
|
|
|
name: key,
|
|
|
|
|
num: res.data.data[key],
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
zjList.value.push({
|
|
|
|
|
name: key,
|
|
|
|
|
num: res.data.data[key],
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
2022-10-04 13:14:15 +08:00
|
|
|
|
}
|
|
|
|
|
else if (type == '应用资源') {
|
|
|
|
|
yyList.value = []
|
|
|
|
|
selectCollectResourceList().then((res) => {
|
|
|
|
|
for (const key in res.data.data) {
|
|
|
|
|
if (whoShow1.value.itShowXiHaiAn) {
|
|
|
|
|
if (key === '视频资源') {
|
|
|
|
|
yyList.value.push({
|
|
|
|
|
name: key,
|
|
|
|
|
num: res.data.data[key],
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
yyList.value.push({
|
|
|
|
|
name: key,
|
|
|
|
|
num: res.data.data[key],
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
else {
|
2022-09-29 11:37:08 +08:00
|
|
|
|
pageWithAttrs(paramsGetResources).then((res) => {
|
|
|
|
|
console.log('object个数======>', type)
|
|
|
|
|
obj.value = res.data.data.records
|
|
|
|
|
switch (type) {
|
|
|
|
|
case '组件服务':
|
|
|
|
|
assignmentMethod('zjNum', res)
|
|
|
|
|
break
|
|
|
|
|
case '应用资源':
|
|
|
|
|
assignmentMethod('yyNum', res)
|
|
|
|
|
break
|
|
|
|
|
case '基础设施':
|
|
|
|
|
assignmentMethod('jcNum', res)
|
|
|
|
|
break
|
|
|
|
|
case '知识库':
|
|
|
|
|
assignmentMethod('zsNum', res)
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-22 09:24:17 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
// todo 获取无人机、单兵设备
|
|
|
|
|
const getSoldierData = (name) => {
|
|
|
|
|
let _params = {
|
|
|
|
|
type: name,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
}
|
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
|
getSoldierList(_params)
|
|
|
|
|
.then((res) => {
|
|
|
|
|
resolve(res)
|
|
|
|
|
console.log('res---获取无人机、单兵设备--------->', res)
|
|
|
|
|
if (res.data.code !== 0) {
|
|
|
|
|
return message.error(res.data.msg)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch((err) => {
|
|
|
|
|
reject(err)
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
2022-09-22 09:24:17 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
const openHref = (item) => {
|
|
|
|
|
console.log(item.id, 'wowowo')
|
|
|
|
|
console.log(item.visits, 'wowowo')
|
|
|
|
|
browsingInsert({ resourceId: item.id }).then((res) => {
|
|
|
|
|
// console.log(res)
|
|
|
|
|
})
|
|
|
|
|
const arrList = ref([])
|
|
|
|
|
arrList.value = JSON.parse(window.sessionStorage.getItem('visits'))
|
|
|
|
|
if (arrList.value.indexOf(item.id) === -1) {
|
|
|
|
|
arrList.value.push(item.id)
|
|
|
|
|
updateVisits({
|
|
|
|
|
id: item.id,
|
|
|
|
|
visits: item.visits || '0',
|
|
|
|
|
}).then(() => {
|
|
|
|
|
window.sessionStorage.setItem('visits', JSON.stringify(arrList.value))
|
2022-07-26 09:51:47 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
2022-09-29 11:37:08 +08:00
|
|
|
|
window.open(item.link)
|
|
|
|
|
// window.open(
|
|
|
|
|
// window.SITE_CONFIG.previewUrl +
|
|
|
|
|
// 'hisense_office/onlinePreview?url=' +
|
|
|
|
|
// btoa(encodeURI(item.fileHref))
|
|
|
|
|
// )
|
|
|
|
|
}
|
|
|
|
|
const assignmentMethod = (type, res) => {
|
|
|
|
|
object[type] = res.data.data.total
|
|
|
|
|
// interfaceSuccess.value++
|
|
|
|
|
// console.log('object个数======>', object, interfaceSuccess.value, type)
|
|
|
|
|
// if (interfaceSuccess.value >= 4) {
|
|
|
|
|
// mybus.emit('chagneNum', object)
|
|
|
|
|
// }
|
2022-06-24 19:47:00 +08:00
|
|
|
|
}
|
2022-09-29 11:37:08 +08:00
|
|
|
|
getAppResources('组件服务', zjList)
|
|
|
|
|
getAppResources('应用资源', yyList)
|
|
|
|
|
getAppResources('基础设施', jcList)
|
|
|
|
|
getAppResources('数据资源', sjList)
|
|
|
|
|
getAppResources('知识库', zsList)
|
2022-06-14 09:32:49 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
function jumpPage(type) {
|
|
|
|
|
// 点击内存入store
|
|
|
|
|
store.commit('home/selectCardsData', {
|
|
|
|
|
selectCardsnum: type,
|
|
|
|
|
})
|
|
|
|
|
console.log(
|
|
|
|
|
'选中===================>',
|
|
|
|
|
store.getters['home/selectCardsnum']
|
|
|
|
|
)
|
|
|
|
|
// router.push({ path: '/DetailsPageconetent' })
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/DetailsPageconetent',
|
|
|
|
|
query: {
|
|
|
|
|
select: type,
|
|
|
|
|
},
|
|
|
|
|
})
|
2022-06-14 09:32:49 +08:00
|
|
|
|
}
|
2022-09-29 11:37:08 +08:00
|
|
|
|
const selectOne = (id) => {
|
|
|
|
|
console.log('点击===============》', id)
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/details',
|
|
|
|
|
query: {
|
|
|
|
|
id: id,
|
|
|
|
|
},
|
2022-07-01 10:50:29 +08:00
|
|
|
|
})
|
2022-09-29 11:37:08 +08:00
|
|
|
|
}
|
2022-10-02 16:42:34 +08:00
|
|
|
|
const selectOne1 = (name) => {
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/DetailsPageconetent',
|
|
|
|
|
query: {
|
|
|
|
|
type: name,
|
|
|
|
|
select: '组件服务',
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
}
|
2022-10-04 13:14:15 +08:00
|
|
|
|
const selectOne11 = (name) => {
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/DetailsPageconetent',
|
|
|
|
|
query: {
|
|
|
|
|
type: name,
|
|
|
|
|
select: '应用资源',
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
}
|
2022-09-29 11:37:08 +08:00
|
|
|
|
const selectOne2 = (name) => {
|
|
|
|
|
console.log('点击===============》', name)
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/DetailsPageconetent',
|
|
|
|
|
query: {
|
|
|
|
|
type: name,
|
|
|
|
|
select: '基础设施',
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const selectOne3 = (name) => {
|
|
|
|
|
console.log('点击===============》', name)
|
|
|
|
|
router.push({
|
|
|
|
|
path: '/DetailsPageconetent',
|
|
|
|
|
query: {
|
|
|
|
|
str: name,
|
|
|
|
|
select: '数据资源',
|
|
|
|
|
},
|
2022-07-09 15:22:20 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
2022-06-14 09:32:49 +08:00
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.capability-convergence {
|
|
|
|
|
height: 7.2rem;
|
|
|
|
|
background: url('~@/assets/newHome/Convergence-bg.png') no-repeat;
|
|
|
|
|
background-size: 100%;
|
2022-06-14 09:32:49 +08:00
|
|
|
|
display: flex;
|
2022-09-29 11:37:08 +08:00
|
|
|
|
justify-content: center;
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.main {
|
|
|
|
|
width: 13rem;
|
|
|
|
|
margin-top: 1.8rem;
|
2022-06-14 09:32:49 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-wrap: wrap;
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.top {
|
|
|
|
|
font-size: 0.3rem;
|
|
|
|
|
color: #212121;
|
|
|
|
|
text-align: center;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.line {
|
|
|
|
|
width: 0.34rem;
|
|
|
|
|
height: 0.03rem;
|
|
|
|
|
background-color: #0058e1;
|
|
|
|
|
margin-top: 0.08rem;
|
|
|
|
|
}
|
2022-06-14 09:32:49 +08:00
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.bottom {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-top: 0.4rem;
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.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;
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
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%;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.jc {
|
|
|
|
|
background: url('~@/assets/newHome/Convergence-jc.png') no-repeat;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.sj {
|
|
|
|
|
background: url('~@/assets/newHome/Convergence-sj.png') no-repeat;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.zj {
|
|
|
|
|
background: url('~@/assets/newHome/Convergence-zj.png') no-repeat;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.yy {
|
|
|
|
|
background: url('~@/assets/newHome/Convergence-yy.png') no-repeat;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.zs {
|
|
|
|
|
background: url('~@/assets/newHome/Convergence-zs.png') no-repeat;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.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;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.name:hover {
|
|
|
|
|
color: #0058e1;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.name-last {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.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;
|
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.btn:hover {
|
|
|
|
|
background: rgba(0, 88, 225, 0.3);
|
|
|
|
|
color: #000;
|
|
|
|
|
}
|
2022-06-14 09:32:49 +08:00
|
|
|
|
}
|
2022-09-21 22:26:56 +08:00
|
|
|
|
|
2022-09-29 11:37:08 +08:00
|
|
|
|
.item:hover {
|
|
|
|
|
border-radius: 0.02rem;
|
|
|
|
|
border: 0.01rem solid #0058e1;
|
|
|
|
|
box-shadow: 0rem 0.08rem 0.2rem rgba(0, 88, 225, 0.3);
|
|
|
|
|
}
|
2022-08-23 16:51:41 +08:00
|
|
|
|
}
|
2022-06-14 09:32:49 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|