Commit c1e308b4 by 李伟康

commit

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