commit | author | age
|
6461f5
|
1 |
<template> |
I |
2 |
<!-- <a-tabs :centered="true"> |
eeef9f
|
3 |
<a-tab-pane key="1" tab="片刻"> |
6461f5
|
4 |
<videoList v-on="$listeners"></videoList> |
I |
5 |
</a-tab-pane> |
eeef9f
|
6 |
<a-tab-pane key="2" tab="流影"> |
I |
7 |
<a-tab-pane key="2" tab="谱库"> |
6461f5
|
8 |
|
I |
9 |
|
|
10 |
</a-tab-pane> |
|
11 |
</a-tabs> --> |
|
12 |
|
|
13 |
|
|
14 |
<div> |
|
15 |
<!-- <viewer :options="options" :images="images" @inited="inited" class="viewer" ref="viewer"> |
|
16 |
<template scope="scope"> |
|
17 |
<img v-for="src in scope.images" :src="src" :key="src"> |
|
18 |
{{scope.options}} |
|
19 |
</template> |
|
20 |
</viewer> |
|
21 |
<button type="button" @click="show">Show</button> --> |
|
22 |
11 |
|
23 |
</div> |
|
24 |
</template> |
|
25 |
|
|
26 |
<script> |
|
27 |
// import videoList from "../mini/box14-video.vue" |
|
28 |
// import 'viewerjs/dist/viewer.css' |
|
29 |
// // import Viewer from "v-viewer/src/component.vue" |
|
30 |
// import Viewer from "v-viewer/dist/v-viewer.min.js" |
|
31 |
|
|
32 |
export default { |
|
33 |
// components: { |
|
34 |
// videoList, |
|
35 |
// Viewer |
|
36 |
// }, |
|
37 |
// data() { |
|
38 |
// images: ['1.jpg', '2.jpg'] |
|
39 |
// }, |
|
40 |
// methods: { |
|
41 |
// inited(viewer) { |
|
42 |
// this.$viewer = viewer |
|
43 |
// }, |
|
44 |
// show() { |
|
45 |
// //调用$viewer的show方法,默认显示第一张图片 |
|
46 |
// this.$viewer.show() |
|
47 |
// //如果需要指定显示某一张图片使用view方法,index是指定的那张图片所在数组的位置索引 |
|
48 |
// //this.$viewer.view(index) |
|
49 |
// } |
|
50 |
// } |
|
51 |
} |
|
52 |
</script> |
|
53 |
|
|
54 |
<style> |
|
55 |
</style> |