mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
mobile style
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
<zan-icon name="gift"></zan-icon>
|
||||
<zan-icon name="search"></zan-icon>
|
||||
<zan-icon name="clear"></zan-icon>
|
||||
<zan-icon name="success"></zan-icon>
|
||||
<zan-icon name="fail"></zan-icon>
|
||||
|
||||
</example-block></section></template>
|
||||
<style>
|
||||
|
@@ -1,6 +1,8 @@
|
||||
<template><section class="demo-image-preview"><h1 class="demo-title">image-preview</h1><example-block title="">
|
||||
<zan-button @click="handleImagePreview">预览图片</zan-button>
|
||||
|
||||
|
||||
|
||||
</example-block></section></template>
|
||||
|
||||
<script>
|
||||
@@ -12,8 +14,7 @@ export default {
|
||||
handleImagePreview() {
|
||||
ImagePreview([
|
||||
'https://img.yzcdn.cn/upload_files/2017/03/14/FmTPs0SeyQaAOSK1rRe1sL8RcwSY.jpeg?imageView2/2/w/980/h/980/q/75/format/webp',
|
||||
'https://img.yzcdn.cn/upload_files/2017/03/15/FvexrWlG_WxtCE9Omo5l27n_mAG_.jpeg?imageView2/2/w/980/h/980/q/75/format/webp',
|
||||
'https://img.yzcdn.cn/upload_files/2017/03/15/FkubrzN7AgGwLlTeb1E89-T_ZjBg.png'
|
||||
'https://img.yzcdn.cn/upload_files/2017/03/15/FvexrWlG_WxtCE9Omo5l27n_mAG_.jpeg?imageView2/2/w/980/h/980/q/75/format/webp'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user