---
layout: templateLayout
---
```vue
<template>
    <Wb-button v-zoom="zoomOption" type="primary">点击查看图片</Wb-button>
</template>
<script>
import png from "../../images/framework.jpg"
export default {
    data(){
        return {
            zoomOption: {
                src: png,
                minWidth: 200,
                maxWidth: 500
            }
        }
    }
}
</script>
```