Merge branch 'feature/code_review'

This commit is contained in:
cookfront
2017-04-01 11:43:47 +08:00
3 changed files with 10 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<template>
<transition name="image-fade">
<div class="zan-image-preview" ref="previewContainer" v-show="value" @click="handlePreviewClick">
<zan-swipe>
<zan-swipe :show-indicators="false">
<zan-swipe-item v-for="item in images">
<img class="zan-image-preview__image" :src="item" alt="" :class="{
'zan-image-preview__image--center': true

View File

@@ -1,3 +1,5 @@
@import './swipe.css';
@component-namespace zan {
@b image-preview {
position: fixed;
@@ -23,6 +25,11 @@
.zan-swipe {
height: 100%;
overflow: visible;
}
.zan-swipe__items {
overflow: visible;
}
}
}