Commit c1e308b4 by 李伟康

commit

1 parent c944cf11
......@@ -10,6 +10,11 @@ const pages = {
title: '渠道活码',
backgroundColor: '#F7F7F7'
}
},{
name:'detail',
meta:{
title:'渠道活码'
}
}],
customer: [{
name: 'index',
......
<template>
</template>
<script type='text/ecmascript-6'>
import { ImagePreview } from 'vant'
export default {
name: '',
data() {
return {}
},
mounted() {
let params = this.getParams()
ImagePreview({
...params,
onClose() {
window.vm.$router.back(-1)
}
})
},
methods: {}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file
......@@ -55,7 +55,7 @@
</template>
<script type='text/ecmascript-6'>
import { ImagePreview, Notify } from 'vant'
import { Notify } from 'vant'
import { entmicroApi } from '@/api'
export default {
name: '',
......@@ -104,9 +104,12 @@ export default {
previewImage(list, startPosition) {
let images = []
list.map(e => images.push(e.autoUrl))
ImagePreview({
images,
startPosition
this.$router.push({
name: 'attractCustomer.detail',
params: {
images,
startPosition
}
})
},
share(e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!