Files
yshopb2c-uniapp/components/ShareInfo.vue

41 lines
734 B
Vue
Raw Normal View History

2020-03-15 13:59:43 +08:00
<template>
<view v-if="shareInfoStatus" class="poster-first">
<view class="mask-share">
2020-05-11 09:41:33 +08:00
<image src="@/static/images/s/share-info.png" @click="shareInfoClose" />
</view>
</view>
2020-03-15 13:59:43 +08:00
</template>
<style scoped lang="less">
2020-03-15 13:59:43 +08:00
.poster-first {
overscroll-behavior: contain;
}
.mask-share {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999;
}
.mask-share image{
2020-03-15 13:59:43 +08:00
width: 100%;
}
</style>
<script>
export default {
name: "ShareInfo",
props: {
shareInfoStatus: Boolean
},
data: function() {
return {};
},
mounted: function() {},
methods: {
shareInfoClose: function() {
this.$emit("setShareInfoStatus");
}
}
};
</script>