fix:验证修改

pull/341/head
lihui_ocr 1 year ago
parent c185741aaa
commit 9920851ac1

@ -291,8 +291,12 @@ function updateComponent(key, e) {
if(tempobj.izupload){
props. contentRef.listData.map((item)=>{
const index = item.thumburl.lastIndexOf('/') + 1; // '/' 1
const result = item.thumburl.substring(index);
if(tempobj.izupload==result){
const afterSlash = item.thumburl.substring(index);
const dotIndex = afterSlash.indexOf('.');
const result = dotIndex !== -1 ? afterSlash.substring(0, dotIndex) : afterSlash;
const parts = tempobj.izupload.split('.');
const resulttwo = parts[0];
if(resulttwo==result){
tempobj.izupload=item.id
}
})

@ -2161,7 +2161,7 @@ function handleMouseLeave(){
.img-wrapper {
position: relative;
width: 217px;
width: 215px;
height: 130px;
overflow: hidden;
background-size:cover;

@ -973,7 +973,7 @@ defineExpose({
</div>
</div>
</div>
<div v-if="imgbigshow" class="wrapper-list">
<div v-if="imgbigshow" :class="'wrapper-list'" >
<div
v-for="(item, index) in listData"
:key="index"
@ -984,8 +984,9 @@ defineExpose({
@mouseleave="leaveTaskHandler"
>
<div
class="img-wrapper"
:style="{width:isFullScreen?'225px':'235px', backgroundImage: `url(${item.serverThumbnailUrl ? item.serverThumbnailUrl : item.imgUrl ? item.imgUrl : bgLoadingImg})` }"
:class="isFullScreen?'img-wrapper noall':'img-wrapper yesall'"
:style="{width:isFullScreen?'223px':'235px', backgroundImage: `url(${item.serverThumbnailUrl ? item.serverThumbnailUrl : item.imgUrl ? item.imgUrl : bgLoadingImg})` }"
/>
<div class="time-wrapper">
<div class="time">
@ -1614,12 +1615,18 @@ defineExpose({
}
@media (min-width: 1440px)and (max-width: 1700px) {
.wrapper-list .grid-item .img-wrapper{
width: 221px !important;
//width: 221px !important;
}
.yesall{
width: 230px !important;
}
}
@media (min-width: 1800px) {
.yesall{
width: 228px !important;
}
.wrapper-list .grid-item .img-wrapper{
width: 225px !important;
// width: 223px !important;
}
}
</style>

Loading…
Cancel
Save