fix(消息中心): 修复消息中心点击跳转范围问题
--bug=1044164 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001044164
This commit is contained in:
parent
1572175a69
commit
edf4498960
|
@ -144,18 +144,20 @@
|
||||||
</div>
|
</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
|
|
||||||
<MsButton v-else @click="handleNameClick(item)">
|
<div v-else class="resource_template">
|
||||||
<a-tooltip :content="item.content.split(':')[0]" :mouse-enter-delay="300">
|
<a-tooltip :content="item.content.split(':')[0]" :mouse-enter-delay="300">
|
||||||
<div class="one-line-text max-w-[300px] text-[var(--color-text-2)]"
|
<div class="one-line-text max-w-[300px] text-[var(--color-text-2)]"
|
||||||
>{{ item.content.split(':')[0] }}:</div
|
>{{ item.content.split(':')[0] }}:</div
|
||||||
>
|
>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-tooltip :content="item.resourceName" :mouse-enter-delay="300">
|
<MsButton @click="handleNameClick(item)">
|
||||||
<div class="one-line-text max-w-[300px]">
|
<a-tooltip :content="item.resourceName" :mouse-enter-delay="300">
|
||||||
{{ item.resourceName }}
|
<div class="one-line-text max-w-[300px]">
|
||||||
</div>
|
{{ item.resourceName }}
|
||||||
</a-tooltip>
|
</div>
|
||||||
</MsButton>
|
</a-tooltip>
|
||||||
|
</MsButton>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center text-[var(--color-text-4)]">
|
<div class="flex items-center text-[var(--color-text-4)]">
|
||||||
{{ dayjs(item.createTime).format('YYYY-MM-DD HH:mm:ss') }}
|
{{ dayjs(item.createTime).format('YYYY-MM-DD HH:mm:ss') }}
|
||||||
|
@ -217,7 +219,7 @@
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const { openNewPage, openNewPageWidthSingleParam } = useOpenNewPage();
|
const { openNewPage } = useOpenNewPage();
|
||||||
|
|
||||||
const innerVisible = useVModel(props, 'visible', emit);
|
const innerVisible = useVModel(props, 'visible', emit);
|
||||||
const projectId = ref<string>(appStore.currentProjectId);
|
const projectId = ref<string>(appStore.currentProjectId);
|
||||||
|
@ -503,4 +505,7 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
line-height: 1.8715;
|
line-height: 1.8715;
|
||||||
}
|
}
|
||||||
|
.resource_template {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue