vue画廊
维盖画廊 (vue-cover-gallery)
This is a vue 2 based modern gallery which can be used instead of a cover photo. First 5 images in the array will be displayed in the cover view; however, if the array has less than 5 images, first image will be displayed as the cover photo and other imgaes can be viewed by clicking on an image or invoking the 'View Photos' button.
这是一个基于vue 2的现代画廊,可以代替封面照片使用。 阵列中的前5张图像将显示在封面视图中; 但是,如果阵列中的图像少于5张,则将显示第一张图像作为封面照片,并且可以通过单击图像或调用“查看照片”按钮来查看其他图像。
入门 (Getting start)
$ npm i vue-cover-gallery --save
Then imprort gallery to a vue component.
然后将图库插入vue组件。