原生popover弹出层查看图片演示页面
展示

代码
-
HTML:
<button class="button" popovertarget="imgPopover">点击我</button> <div popover id="imgPopover"> <img src="/assets/example.jpg" /> </div>
<button class="button" popovertarget="imgPopover">点击我</button> <div popover id="imgPopover"> <img src="/assets/example.jpg" /> </div>