<template>
|
<!-- <a-tabs :centered="true">
|
<a-tab-pane key="1" tab="片刻">
|
<videoList v-on="$listeners"></videoList>
|
</a-tab-pane>
|
<a-tab-pane key="2" tab="流影">
|
<a-tab-pane key="2" tab="谱库">
|
|
|
</a-tab-pane>
|
</a-tabs> -->
|
|
|
<div>
|
<!-- <viewer :options="options" :images="images" @inited="inited" class="viewer" ref="viewer">
|
<template scope="scope">
|
<img v-for="src in scope.images" :src="src" :key="src">
|
{{scope.options}}
|
</template>
|
</viewer>
|
<button type="button" @click="show">Show</button> -->
|
11
|
</div>
|
</template>
|
|
<script>
|
// import videoList from "../mini/box14-video.vue"
|
// import 'viewerjs/dist/viewer.css'
|
// // import Viewer from "v-viewer/src/component.vue"
|
// import Viewer from "v-viewer/dist/v-viewer.min.js"
|
|
export default {
|
// components: {
|
// videoList,
|
// Viewer
|
// },
|
// data() {
|
// images: ['1.jpg', '2.jpg']
|
// },
|
// methods: {
|
// inited(viewer) {
|
// this.$viewer = viewer
|
// },
|
// show() {
|
// //调用$viewer的show方法,默认显示第一张图片
|
// this.$viewer.show()
|
// //如果需要指定显示某一张图片使用view方法,index是指定的那张图片所在数组的位置索引
|
// //this.$viewer.view(index)
|
// }
|
// }
|
}
|
</script>
|
|
<style>
|
</style>
|