1.0.7 • Published 2 years ago
98xy-zoom v1.0.7
Vue3.2+-ZoomGlass
安装 & 使用
npm
$ npm install xy-zoom
局部引入
<script setup>
import Zoom from '98xy-zoom'
</script>
<template>
<Zoom
class="zoom"
imgSrc="图片地址"
/>
</template>
<style scoped>
.zoom {
width: 100px;
height: 100px;
}
</style>