feat: add SeamlessScroll component

This commit is contained in:
xiaoxian521
2021-04-15 16:16:55 +08:00
parent db237d2f51
commit e09ed0fb47
7 changed files with 683 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div style="margin: 10px">
<div class="cropper-container">
<Cropper ref="refCropper" :width="'45vw'" :src="img" />
<Cropper ref="refCropper" :width="'40vw'" :src="img" />
<img :src="cropperImg" class="croppered" v-if="cropperImg" />
</div>
<el-button type="primary" @click="onCropper">裁剪</el-button>