fix:换logo及提示

pull/345/head
lihui_ocr 1 year ago
parent c7e7384dd6
commit edbf9d687c

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

@ -55,6 +55,7 @@ import {
import bgLoading from '@/assets/images/bg-loading.png'
const show=ref(false)
const listData = ref<any[]>([])
const timer = ref()
const showClose = ref(false)
@ -785,6 +786,14 @@ function previewImageUrl(img1, img2) {
nodes.next,
]
};
function handleMouseEnter(){
show.value=true
}
function handleMouseLeave(){
show.value=false
}
defineExpose({
showLoginSuccessModal,
closeLoginSuccessModal,listData
@ -1068,11 +1077,20 @@ defineExpose({
<div class="img-name">
<n-tooltip trigger="hover">
<template #trigger>
<span>{{ item.imgName }}</span>
<div style="postion:relative">
<div class="pppp" v-if="item.imgName.length>15">{{ item.imgName }}</div>
<div class="img-name"
>{{ item.imgName }}</div>
<div></div>
</div>
</template>
<span
style="font-size: 12px; margin-top: 4px; margin-bottom: 16px"
>{{ item.imgName }}</span>
</n-tooltip>
</div>
<div
@ -1426,6 +1444,22 @@ defineExpose({
grid-gap: 10px 15px;
}
}
.pppp{
display: none;
}
.img-name:hover{
.pppp{
display: block;
position: absolute;
background: #252525;
padding: 7px;
top: -26px;
left: 0;
font-size: 12px;
margin: auto 0;
z-index: 110;
}
}
/*::v-deep(.n-image-preview-toolbar .n-base-icon:nth-last-child(2)){
display: none;
}*/

@ -136,7 +136,7 @@ function close() {
.img-logo {
width: 7.5625rem;
height: 2.1875rem;
}
.img-ai {

Loading…
Cancel
Save