mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[Improvement] more component use bem mixin (#924)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
v-show="value"
|
||||
class="van-image-preview"
|
||||
:class="b()"
|
||||
@touchstart="onTouchStart"
|
||||
@touchmove.prevent="touchMove"
|
||||
@touchend="onTouchEnd"
|
||||
@@ -9,7 +9,7 @@
|
||||
>
|
||||
<swipe :initial-swipe="startPosition">
|
||||
<swipe-item v-for="(item, index) in images" :key="index">
|
||||
<img class="van-image-preview__image" :src="item" >
|
||||
<img :class="b('image')" :src="item" >
|
||||
</swipe-item>
|
||||
</swipe>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user