瀑布流定位修改
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
//监听路由
|
||||
|
||||
Reference in New Issue
Block a user