wupengfei
2025-02-21 6ab8060d51e7eda0006943057f1d983d0d44abea
packages/components/src/views/PhoneBillRecharge/PhoneBillRecharge.vue
@@ -4,7 +4,7 @@
    ref="formRef"
    :rules="rules"
    label-position="top"
    class="phone-bill-recharge"
    class="order-bill-recharge phone"
  >
    <FormItem label="选择运营商:" class="bole-form-item" prop="ispCode" required>
      <RadioGroup v-model="form.ispCode" direction="horizontal">
@@ -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>