shopro-share-guide.vue
815 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<template>
<view class="cu-modal" :class="[{ show: showModal }]" cathctouchmove @tap="hideModal">
<view class="cu-dialog cu-dialog1" @tap.stop style="background: none;overflow: visible;">
<image class="guide-img" src="http://shopro.7wpp.com/imgs/modal/share_guide.png" mode=""></image>
</view>
</view>
</template>
<script>
export default {
name: 'shoproShareGuide',
components: {},
data() {
return {};
},
props: {
value: {},
modalType: {
type: String,
default: ''
}
},
computed: {
showModal: {
get() {
return this.value;
},
set(val) {
this.$emit('input', val);
}
}
},
methods: {
hideModal() {
this.showModal = false;
}
}
};
</script>
<style lang="scss">
.guide-img {
width: 580rpx;
height: 430rpx;
}
.cu-dialog1 {
vertical-align: top;
}
</style>