mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
image preview component
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
<template>
|
||||
<div class="page-image-pewview">
|
||||
<h1 class="page-title">Image Preview</h1>
|
||||
</div>
|
||||
</template>
|
18
docs/examples/image-preview.vue
Normal file
18
docs/examples/image-preview.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<div class="page-image-pewview">
|
||||
<h1 class="page-title">Image Preview</h1>
|
||||
|
||||
<h2 class="page-sub-title">基础用法</h2>
|
||||
<zan-image-preview v-model="preview"></zan-image-preview>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
preview: true
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Reference in New Issue
Block a user