issue图片放大功能
This commit is contained in:
parent
22ccc3c974
commit
030c779103
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue