zhengyiming
2025-02-21 db9a1cb8638d0159e5bce586c0e6a0610bc2b625
packages/components/src/views/PhoneBillRecharge/PhoneBillRecharge.vue
@@ -51,7 +51,7 @@
      </nut-button>
      <RechargeTipsView :tips="tips" />
    </div>
    <ConfirmDialog v-model:visible="confirmDialogVisible">
    <ConfirmDialog v-model:visible="confirmDialogVisible" @ok="goPay">
      <template #info>
        <ConfirmDialogInfoItem label="充值账号" content="18858418480" />
        <ConfirmDialogInfoItem label="充值金额" :content="`¥${form.parValue}`" danger />
@@ -76,6 +76,10 @@
defineOptions({
  name: 'PhoneBillRecharge',
});
const emit = defineEmits<{
  (e: 'goPay'): void;
}>();
const form = reactive({
  ispCode: IspCode.yidong,
@@ -118,4 +122,8 @@
function recharge() {
  confirmDialogVisible.value = true;
}
function goPay() {
  emit('goPay');
}
</script>