30 lines
690 B
Vue
30 lines
690 B
Vue
|
<template>
|
||
|
<DocPTViewer :docs="docs">
|
||
|
<ImageCompare style="width: 728px; height: 410px">
|
||
|
<template #left>
|
||
|
<img src="~/assets/images/island1.jpg" />
|
||
|
</template>
|
||
|
<template #right>
|
||
|
<img src="~/assets/images/island2.jpg" />
|
||
|
</template>
|
||
|
</ImageCompare>
|
||
|
</DocPTViewer>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { getPTOptions } from '@/components/doc/helpers';
|
||
|
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
docs: [
|
||
|
{
|
||
|
data: getPTOptions('ImageCompare'),
|
||
|
key: 'ImageCompare'
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
</script>
|