GA for scroll container

This commit is contained in:
CPunisher 2020-07-01 22:59:37 +08:00
parent d2a9bfb86e
commit ef5c752be8
1 changed files with 1 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import {isPC} from "../../utils/navigatorUtils";
import {handleScroll} from "../../utils/GAHelper"; import {handleScroll} from "../../utils/GAHelper";
const pictures = [ const pictures = [
'https://7172-qrbtf-1d845d-1255694434.tcb.qcloud.la/QrbtfGallery/gallery04.jpg',
'https://7172-qrbtf-1d845d-1255694434.tcb.qcloud.la/QrbtfGallery/gallery02.jpg', 'https://7172-qrbtf-1d845d-1255694434.tcb.qcloud.la/QrbtfGallery/gallery02.jpg',
'https://7172-qrbtf-1d845d-1255694434.tcb.qcloud.la/QrbtfGallery/gallery01.jpg', 'https://7172-qrbtf-1d845d-1255694434.tcb.qcloud.la/QrbtfGallery/gallery01.jpg',
'https://7172-qrbtf-1d845d-1255694434.tcb.qcloud.la/QrbtfGallery/gallery03.jpg', 'https://7172-qrbtf-1d845d-1255694434.tcb.qcloud.la/QrbtfGallery/gallery03.jpg',
@ -103,7 +104,6 @@ const PartMore = () => {
const Gallery = ({ contents }) => { const Gallery = ({ contents }) => {
const zoom = React.useRef(mediumZoom()); const zoom = React.useRef(mediumZoom());
return ( return (
contents.map((url) => ( contents.map((url) => (
<LazyLoad offsetVertical={200}> <LazyLoad offsetVertical={200}>