| | |
| | | v-bind="props" |
| | | @go-pay="emit('goPay', $event)" |
| | | @paySuccess="emit('paySuccess', $event)" |
| | | @missName="emit('missName', $event)" |
| | | /> |
| | | </template> |
| | | |
| | |
| | | const stepperInfo = useStepper(['step1', 'step2'], 'step2'); |
| | | const current = computed(() => stepperInfo.current.value); |
| | | |
| | | const outCurrent = defineModel<'step1' | 'step2'>({ |
| | | set(value) { |
| | | stepperInfo.goTo(value); |
| | | }, |
| | | get() { |
| | | return stepperInfo.current.value; |
| | | }, |
| | | }); |
| | | |
| | | const emit = defineEmits<{ |
| | | (e: 'goPay', orderNo: string): void; |
| | | (e: 'paySuccess', orderNo: string): void; |
| | | (e: 'missName', userAccountId: string): void; |
| | | }>(); |
| | | |
| | | provide(PhoneBillRechargeContextKey, { |