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
60 lines
1.1 KiB
<template>
|
|
<view v-if="modelValue" class="share-guide-mask" @click="closeGuide">
|
|
<view class="guide-content">
|
|
<image class="share-tips" src="https://des.dayunyuanjian.cn/epicSoul/share-tips.png" mode=""></image>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
value: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
modelValue: this.value
|
|
};
|
|
},
|
|
watch: {
|
|
value(newVal) {
|
|
this.modelValue = newVal;
|
|
}
|
|
},
|
|
methods: {
|
|
closeGuide() {
|
|
this.$emit('input', false);
|
|
this.$emit('close');
|
|
}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style>
|
|
.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;
|
|
}
|
|
.share-tips{
|
|
width: 450rpx;
|
|
}
|
|
</style>
|