修改详情页面图片显示问题

This commit is contained in:
A1300399510
2024-09-28 18:42:44 +08:00
parent 3399d6507b
commit e6cb3e3c3b
44 changed files with 4229 additions and 4226 deletions

View File

@@ -836,6 +836,8 @@ let scrollWidth = ref(null)
let scrollMove = false
//点击方向按钮
let moveImageList = type => {
console.log("type",type,imgListTab.value,imageLIstLeft);
if (type === "right" && imgScrollBottom()) return
if ((type === "left" && imgListTab.value === 0) || (imgListTab.value === imageLIstLeft.value.length - 1 && type === "right")) return
type === "left" ? imgListTab.value-- : imgListTab.value++
@@ -2277,10 +2279,10 @@ img {
.list-box {
overflow-x: scroll;
scrollbar-color: transparent transparent;
scrollbar-track-color: transparent;
-ms-scrollbar-track-color: transparent;
-ms-overflow-style: none; // 微软
// scrollbar-color: transparent transparent;
// scrollbar-track-color: transparent;
// -ms-scrollbar-track-color: transparent;
// -ms-overflow-style: none; // 微软
height: 120px;
color: #fff;
@@ -2307,6 +2309,7 @@ img {
margin-right: 10px;
flex-shrink: 0;
position: relative;
object-fit: fill;
}
.img:hover {