|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <van-image :width="width" :height="height" :src="this_window + src" @click="onClickShow(src)" />
|
|
|
- <van-overlay :show="show" @click="onClickHide">
|
|
|
+ <van-image :width="width" :height="height" :src="this_window + src" @click.stop="onClickShow(src)" />
|
|
|
+ <van-overlay :show="show" @click.stop="onClickHide">
|
|
|
<div class="imgsty">
|
|
|
<van-swipe ref="swipe" v-show="list && list.length > 0">
|
|
|
<van-swipe-item v-for="item in list" :key="item"
|
|
|
@@ -13,8 +13,13 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+import { number } from 'echarts/lib/export'
|
|
|
export default {
|
|
|
props: {
|
|
|
+ zIndex: {
|
|
|
+ type: Number,
|
|
|
+ default: 1
|
|
|
+ },
|
|
|
width: {
|
|
|
type: String,
|
|
|
default: '100'
|
|
|
@@ -69,5 +74,11 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
-
|
|
|
+ .imgsty {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ height: 100%;
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
</style>
|