删除打印
This commit is contained in:
@@ -1121,7 +1121,7 @@ let moveImageList = (type) => {
|
|||||||
if (type === 'right' && imgScrollBottom()) return
|
if (type === 'right' && imgScrollBottom()) return
|
||||||
if ((type === 'left' && imgListTab.value === 0) || (imgListTab.value === imageLIstLeft.value.length - 1 && type === 'right')) return
|
if ((type === 'left' && imgListTab.value === 0) || (imgListTab.value === imageLIstLeft.value.length - 1 && type === 'right')) return
|
||||||
type === 'left' ? imgListTab.value-- : imgListTab.value++
|
type === 'left' ? imgListTab.value-- : imgListTab.value++
|
||||||
console.log(imageLIstLeft.value[imgListTab.value])
|
// console.log(imageLIstLeft.value[imgListTab.value])
|
||||||
setOffsetWidth(imageLIstLeft.value[imgListTab.value], type)
|
setOffsetWidth(imageLIstLeft.value[imgListTab.value], type)
|
||||||
}
|
}
|
||||||
//设置滚动
|
//设置滚动
|
||||||
@@ -1158,7 +1158,7 @@ let setImageWidth = (num) => {
|
|||||||
clientWidth.value = imageList.value.clientWidth
|
clientWidth.value = imageList.value.clientWidth
|
||||||
scrollWidth.value = imageList.value.scrollWidth
|
scrollWidth.value = imageList.value.scrollWidth
|
||||||
}
|
}
|
||||||
console.log(imageLIstLeft.value)
|
// console.log(imageLIstLeft.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
//学校地址数据
|
//学校地址数据
|
||||||
|
|||||||
Reference in New Issue
Block a user