issue图片放大功能

This commit is contained in:
caishi 2021-09-07 13:53:35 +08:00
parent 22ccc3c974
commit 030c779103
1 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,9 @@ import DetailBanner from './sub/DetailBanner';
import '../css/index.scss'
import './list.css';
import { ImageLayerOfCommentHOC } from "../../modules/page/layers/ImageLayerOfCommentHOC";
import Loadable from 'react-loadable';
import Loading from '../../Loading';
@ -780,4 +783,7 @@ class Detail extends Component {
}
}
export default Detail;
export default ImageLayerOfCommentHOC({
imgSelector: ".imageLayerParent img, .imageLayerParent .imageTarget",
parentSelector: ".newContainer",
})(Detail);