|
@@ -1,12 +1,12 @@
|
|
|
<template>
|
|
|
- <div class="page">
|
|
|
+ <div class="page" @touchstart.prevent='imgTouchStart($event, index)'>
|
|
|
<Loading :loading="loading" />
|
|
|
<div v-show="!loading">
|
|
|
<van-image-preview class="preview" v-model="vshowList" :images="detailData.imageFiles" :start-position='0' @change="onChange"
|
|
|
@scale='onScale' @close='onClose' ref='imagePreview'>
|
|
|
<template v-slot:index>
|
|
|
<div>
|
|
|
- 第{{curPage}}页v7
|
|
|
+ 第{{curPage}}页v9
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-slot:cover v-if="showBottom">
|
|
@@ -97,6 +97,7 @@ export default {
|
|
|
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
destroyed() {
|
|
|
this.clearTimeCount();
|
|
|
},
|
|
@@ -112,6 +113,9 @@ export default {
|
|
|
this.$refs.canvas.start();
|
|
|
});
|
|
|
},
|
|
|
+ imgTouchStart (e, index) {
|
|
|
+
|
|
|
+ },
|
|
|
// 获取详情
|
|
|
getDetail() {
|
|
|
let self = this;
|