瀑布流定位修改

This commit is contained in:
2023-08-09 15:00:02 +08:00
parent 497b50f7c8
commit a503d2e292
6 changed files with 7 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ moduleData.data = props.data
<style scoped lang="less">
.list-item:hover{
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2) !important;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2) ;
}
.list-item {
width: 291px;

View File

@@ -169,10 +169,8 @@ watchEffect(() => {
let listId = props.listId
let imgRef = null
let loadFinish = () => {
console.log(123)
return
let height = imgRef.ctx.$refs && imgRef.ctx.$refs.list && imgRef.ctx.$refs.list.offsetHeight
props.imgLoad(data.id, listId, height)
// let height = imgRef.ctx.$refs && imgRef.ctx.$refs.list && imgRef.ctx.$refs.list.offsetHeight
// props.imgLoad(data.id, listId, height)
}
//监听路由