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 {
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-skeleton avatar :title="false" :loading="!!item.loading" active>
<a-tooltip placement="topLeft" arrow-point-at-center mouseEnterDelay="1"
overlayClassName="tooltip-card">
overlayClassName="demandCenter-tooltip-card">
<template #title>
<div class="tooltip-desc">{{ item.demandDetails || '--' }}</div>
</template>
@ -334,7 +334,7 @@ html {
height: unset;
}
.tooltip-card {
.demandCenter-tooltip-card {
max-width: 900px !important;
min-width: 600px !important;
max-height: 600px !important;

View File

@ -45,7 +45,7 @@
<template #title>应用领域{{ applicationArea }}</template>
<div>应用领域{{ applicationArea }}</div>
</a-tooltip>
<a-tooltip placement="top">
<a-tooltip placement="top" overlayClassName="ApplicationTopDetails-tooltip-card">
<template #title>{{ props.dataList.description }}</template>
<div>
{{ props.dataList.description }}

View File

@ -36,7 +36,7 @@
<template #title>应用领域{{ applicationArea }}</template>
<div>应用领域{{ applicationArea }}</div>
</a-tooltip>
<a-tooltip placement="top">
<a-tooltip placement="top" overlayClassName="ApplicationTopDetails-tooltip-card">
<template #title>{{ props.dataList.description }}</template>
<div>
{{ props.dataList.description }}

View File

@ -495,8 +495,8 @@ export default defineComponent({
DETAIL_PAGE_CONTENT_DEFAULT_TAB
console.log('select------------>', select)
// selectSubType...
const selectSubType = router.currentRoute.value.query.type || ''
const queryName = ref('')
let selectSubType = router.currentRoute.value.query.type || ''
let queryName = ref('')
const str = router.currentRoute.value.query.str
const searchValue = ref(str)
const searchType = ref(str)
@ -818,16 +818,15 @@ export default defineComponent({
console.log('val.selectedTags---123--------->', val.selectedTags);
let _index = val.selectedTags.findIndex(v => v == selectSubType)
val.selectedTags.splice(_index, 1, selectSubType)
changeShrink(queryName.value)
// changeShrink(queryName.value)
// val.selectedTags &&
// val.selectedTags.splice(
// val.selectedTags.indexOf(selectSubType),
// 1
// )
}
} else {
if(val.name == '应用领域' && val.selectedTags.length > 0) {
changeShrink(val.name)
changeShrink(queryName.value)
}
}
})
@ -1457,6 +1456,9 @@ export default defineComponent({
router.currentRoute.value.query.appLiCation = ''
tecHnosphere = router.currentRoute.value.query.tecHnosphere
appLiCation = router.currentRoute.value.query.appLiCation
//
storageSearchInfo = null
selectSubType = ''
let newQuery = JSON.parse(
JSON.stringify(router.currentRoute.value.query)
)