|
@@ -4,8 +4,8 @@
|
|
|
mask-background-color="rgba(255, 255, 255, 0.6);">
|
|
|
<view class="ezy-svip-dialog">
|
|
|
<view class="tip-content-box">
|
|
|
- <!-- :class="'svip-img'+id" -->
|
|
|
- <icon class="svip-img svip-img1"></icon>
|
|
|
+
|
|
|
+ <icon :class="'svip-img'+cardId"></icon>
|
|
|
<view class="tip-content">开通SVIP会员解锁学习关卡</view>
|
|
|
<view class="tip-btn-box">
|
|
|
<view class="not-confirm-btn" @click="handleClose"></view>
|
|
@@ -17,7 +17,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
- import { ref } from 'vue';
|
|
|
+ import { ref } from 'vue';
|
|
|
+ import cacheManager from "@/utils/cacheManager.js";
|
|
|
const props = defineProps({
|
|
|
title: {
|
|
|
type: String,
|
|
@@ -28,7 +29,8 @@
|
|
|
require: true,
|
|
|
default: ''
|
|
|
},
|
|
|
- });
|
|
|
+ });
|
|
|
+ const cardId =cacheManager.get('auth').cardId
|
|
|
const svipPopup = ref(null); // 索引
|
|
|
const $emit = defineEmits(['confirm-btn'])
|
|
|
// 打开弹窗
|