Gallery用于实现上传图片的展示或幻灯片播放

  1. <div class="weui-gallery">
  2. <span class="weui-gallery__img" style="background-image: url(./images/pic_article.png);"></span>
  3. <div class="weui-gallery__opr">
  4. <a href="javascript:" class="weui-gallery__del">
  5. <i class="weui-icon-delete weui-icon_gallery-delete"></i>
  6. </a>
  7. </div>
  8. </div>

原文: https://github.com/Tencent/weui/wiki/Gallery