diff --git a/src/views/home/aside/Aside.vue b/src/views/home/aside/Aside.vue index f147537..aae288a 100644 --- a/src/views/home/aside/Aside.vue +++ b/src/views/home/aside/Aside.vue @@ -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 } }) diff --git a/src/views/task/content/Content.vue b/src/views/task/content/Content.vue index a98f51f..18abb43 100644 --- a/src/views/task/content/Content.vue +++ b/src/views/task/content/Content.vue @@ -2161,7 +2161,7 @@ function handleMouseLeave(){ .img-wrapper { position: relative; - width: 217px; + width: 215px; height: 130px; overflow: hidden; background-size:cover; diff --git a/src/views/worksheet/content/Content.vue b/src/views/worksheet/content/Content.vue index 90b96e0..0e10191 100644 --- a/src/views/worksheet/content/Content.vue +++ b/src/views/worksheet/content/Content.vue @@ -973,7 +973,7 @@ defineExpose({ -
+
@@ -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; } }