zym2525
2025-02-23 797fa07355a312a06541ca105a00928e95dbded6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<template>
  <ContentScrollView>
    <SelectPayTypeView style="margin-top: 40px" @paySuccess="handePaySuccess" />
  </ContentScrollView>
</template>
 
<script setup lang="ts">
import { SelectPayTypeView, LifeRechargeConstants } from '@life-payment/components';
import Taro from '@tarojs/taro';
 
defineOptions({
  name: 'selectPayType',
});
 
function handePaySuccess(
  orderNo: string,
  lifePayOrderType: LifeRechargeConstants.LifePayOrderTypeEnum
) {
  Taro.navigateTo({
    url: `${RouterPath.rechargeResult}?orderNo=${orderNo}&lifePayOrderType=${lifePayOrderType}`,
  });
}
</script>