Compare commits
4 Commits
45b6b64216
...
ece77758fe
Author | SHA1 | Date |
---|---|---|
guoyue | ece77758fe | |
guoyue | 799749ecdc | |
guoyue | 023f11c03a | |
guoyue | 99f962c74f |
|
@ -109,3 +109,9 @@
|
||||||
.ant-popover-inner-content .ant-popover-buttons {
|
.ant-popover-inner-content .ant-popover-buttons {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.ApplicationTopDetails-tooltip-card {
|
||||||
|
max-width: 9rem !important;
|
||||||
|
min-width: 6rem !important;
|
||||||
|
max-height: 6rem !important;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
|
@ -20,7 +20,7 @@
|
||||||
<a-list-item>
|
<a-list-item>
|
||||||
<a-skeleton avatar :title="false" :loading="!!item.loading" active>
|
<a-skeleton avatar :title="false" :loading="!!item.loading" active>
|
||||||
<a-tooltip placement="topLeft" arrow-point-at-center mouseEnterDelay="1"
|
<a-tooltip placement="topLeft" arrow-point-at-center mouseEnterDelay="1"
|
||||||
overlayClassName="tooltip-card">
|
overlayClassName="demandCenter-tooltip-card">
|
||||||
<template #title>
|
<template #title>
|
||||||
<div class="tooltip-desc">{{ item.demandDetails || '--' }}</div>
|
<div class="tooltip-desc">{{ item.demandDetails || '--' }}</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -334,7 +334,7 @@ html {
|
||||||
height: unset;
|
height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip-card {
|
.demandCenter-tooltip-card {
|
||||||
max-width: 900px !important;
|
max-width: 900px !important;
|
||||||
min-width: 600px !important;
|
min-width: 600px !important;
|
||||||
max-height: 600px !important;
|
max-height: 600px !important;
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
<template #title>应用领域:{{ applicationArea }}</template>
|
<template #title>应用领域:{{ applicationArea }}</template>
|
||||||
<div>应用领域:{{ applicationArea }}</div>
|
<div>应用领域:{{ applicationArea }}</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip placement="top">
|
<a-tooltip placement="top" overlayClassName="ApplicationTopDetails-tooltip-card">
|
||||||
<template #title>{{ props.dataList.description }}</template>
|
<template #title>{{ props.dataList.description }}</template>
|
||||||
<div>
|
<div>
|
||||||
{{ props.dataList.description }}
|
{{ props.dataList.description }}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<template #title>应用领域:{{ applicationArea }}</template>
|
<template #title>应用领域:{{ applicationArea }}</template>
|
||||||
<div>应用领域:{{ applicationArea }}</div>
|
<div>应用领域:{{ applicationArea }}</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip placement="top">
|
<a-tooltip placement="top" overlayClassName="ApplicationTopDetails-tooltip-card">
|
||||||
<template #title>{{ props.dataList.description }}</template>
|
<template #title>{{ props.dataList.description }}</template>
|
||||||
<div>
|
<div>
|
||||||
{{ props.dataList.description }}
|
{{ props.dataList.description }}
|
||||||
|
|
|
@ -495,8 +495,8 @@ export default defineComponent({
|
||||||
DETAIL_PAGE_CONTENT_DEFAULT_TAB
|
DETAIL_PAGE_CONTENT_DEFAULT_TAB
|
||||||
console.log('select------------>', select)
|
console.log('select------------>', select)
|
||||||
// 例如:组件服务是大类型,selectSubType是组件服务的智能算法或图层服务等...
|
// 例如:组件服务是大类型,selectSubType是组件服务的智能算法或图层服务等...
|
||||||
const selectSubType = router.currentRoute.value.query.type || ''
|
let selectSubType = router.currentRoute.value.query.type || ''
|
||||||
const queryName = ref('')
|
let queryName = ref('')
|
||||||
const str = router.currentRoute.value.query.str
|
const str = router.currentRoute.value.query.str
|
||||||
const searchValue = ref(str)
|
const searchValue = ref(str)
|
||||||
const searchType = ref(str)
|
const searchType = ref(str)
|
||||||
|
@ -818,17 +818,16 @@ export default defineComponent({
|
||||||
console.log('val.selectedTags---123--------->', val.selectedTags);
|
console.log('val.selectedTags---123--------->', val.selectedTags);
|
||||||
let _index = val.selectedTags.findIndex(v => v == selectSubType)
|
let _index = val.selectedTags.findIndex(v => v == selectSubType)
|
||||||
val.selectedTags.splice(_index, 1, selectSubType)
|
val.selectedTags.splice(_index, 1, selectSubType)
|
||||||
changeShrink(queryName.value)
|
// changeShrink(queryName.value)
|
||||||
// val.selectedTags &&
|
// val.selectedTags &&
|
||||||
// val.selectedTags.splice(
|
// val.selectedTags.splice(
|
||||||
// val.selectedTags.indexOf(selectSubType),
|
// val.selectedTags.indexOf(selectSubType),
|
||||||
// 1
|
// 1
|
||||||
// )
|
// )
|
||||||
}
|
}
|
||||||
} else {
|
if(val.name == '应用领域' && val.selectedTags.length > 0) {
|
||||||
if (val.name == '应用领域' && val.selectedTags.length > 0) {
|
changeShrink(queryName.value)
|
||||||
changeShrink(val.name)
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -1457,6 +1456,9 @@ export default defineComponent({
|
||||||
router.currentRoute.value.query.appLiCation = ''
|
router.currentRoute.value.query.appLiCation = ''
|
||||||
tecHnosphere = router.currentRoute.value.query.tecHnosphere
|
tecHnosphere = router.currentRoute.value.query.tecHnosphere
|
||||||
appLiCation = router.currentRoute.value.query.appLiCation
|
appLiCation = router.currentRoute.value.query.appLiCation
|
||||||
|
// 清空
|
||||||
|
storageSearchInfo = null
|
||||||
|
selectSubType = ''
|
||||||
let newQuery = JSON.parse(
|
let newQuery = JSON.parse(
|
||||||
JSON.stringify(router.currentRoute.value.query)
|
JSON.stringify(router.currentRoute.value.query)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue