Compare commits

...

4 Commits

5 changed files with 21 additions and 13 deletions

View File

@ -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;
}

View File

@ -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;

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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)
) )