You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.1 KiB

4 months ago
<template>
3 months ago
<view v-if="modelValue" class="share-guide-mask" @click="closeGuide">
4 months ago
<view class="guide-content">
<image class="share-tips" src="https://des.dayunyuanjian.cn/epicSoul/share-tips.png" mode=""></image>
4 months ago
</view>
</view>
</template>
<script>
export default {
props: {
value: {
type: Boolean,
default: false
}
},
3 months ago
data() {
return {
modelValue: this.value
};
},
watch: {
value(newVal) {
this.modelValue = newVal;
4 months ago
}
},
methods: {
closeGuide() {
3 months ago
this.$emit('input', false);
4 months ago
this.$emit('close');
}
}
3 months ago
};
4 months ago
</script>
3 months ago
<style>
4 months ago
.share-guide-mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.7);
z-index: 9999;
display: flex;
justify-content: flex-end;
align-items: flex-start;
}
.guide-content {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 100rpx;
padding-right: 60rpx;
}
3 months ago
.share-tips{
width: 450rpx;
4 months ago
}
</style>