README.md 573 Bytes
Newer Older
Nature's avatar
Nature committed
1 2 3 4 5 6 7 8 9
showBigPicture查看大图 插件形式调用

```html
      <h-button class="button-class" type="primary" @click.native="showBigPicture">showBigPicture</h-button>

      showBigPicture() {
        hlsPopup.showBigPicture({
          imgUrl: 'http://hlsapp.hand-china.com/hls_file/2018/05/F1B6D85E409A4714A8540504B2D133AD'
        })
Nature's avatar
Nature committed
10 11 12 13 14 15 16 17 18
      },
      
      let list = [{imgUrl:'base64'},{imgUrl:'http://XXX'}]      
      showBigPicture() {
         ShowPicturePlugin.show({
            imgList: list,
            startPosition: 1,
         })
      },
Nature's avatar
Nature committed
19 20
                
```