|
@@ -30,21 +30,21 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!-- <CtDialog :visible="open" :widthType="1" :footer="false" titleClass="text-h6" title="开通会员" @close="open = false">
|
|
|
+ <CtDialog :visible="open" :widthType="1" :footer="false" titleClass="text-h6" title="开通会员" @close="open = false">
|
|
|
<initPay
|
|
|
v-if="itemInfo"
|
|
|
:info="itemInfo"
|
|
|
@stopInterval="null"
|
|
|
@paySuccess="null"
|
|
|
></initPay>
|
|
|
- </CtDialog> -->
|
|
|
+ </CtDialog>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
import { packData } from './packageList.js'
|
|
|
import { ref } from 'vue'
|
|
|
-import Snackbar from '@/plugins/snackbar'
|
|
|
-// import initPay from './initPay.vue'
|
|
|
+// import Snackbar from '@/plugins/snackbar'
|
|
|
+import initPay from '@/components/personalRecharge/initPay.vue'
|
|
|
defineOptions({name: 'purchasePackage-packageList'})
|
|
|
|
|
|
const active = ref(2)
|
|
@@ -52,11 +52,13 @@ const handleClickItem = (val, i) => {
|
|
|
active.value = i
|
|
|
}
|
|
|
|
|
|
-// const open = ref(false)
|
|
|
+const open = ref(false)
|
|
|
+
|
|
|
+const itemInfo = ref(null)
|
|
|
+
|
|
|
// 开通会员
|
|
|
-const handleOpenMembership = (val) => {
|
|
|
- console.log(1, val)
|
|
|
- Snackbar.success('还未开放此功能,敬请期待!')
|
|
|
+const handleOpenMembership = () => {
|
|
|
+ open.value = true
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|