From 14368e8a09c4b5793d0975f85e36a4c1d410ca36 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 16 五月 2025 17:27:24 +0800 Subject: [PATCH] feat: UI --- packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue b/packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue index e863bf0..32828f1 100644 --- a/packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue +++ b/packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue @@ -2,10 +2,10 @@ <NutForm label-position="top" class="order-bill-recharge gas-bill-recharge-wrapper phone"> <NutFormItem class="bole-form-item"> <GasOrgTypeCard - :title="item" - v-for="(item, gasOrgCodeEnum) in BlLifeRecharge.constants.GasOrgCodeEnumText" - :key="item" - @click="goNext(gasOrgCodeEnum)" + :title="item.gasOrgName" + v-for="item in gasParValueList" + :key="item.gasOrgCode" + @click="goNext(item.gasOrgCode)" ></GasOrgTypeCard> </NutFormItem> <div class="common-content"> @@ -23,6 +23,7 @@ import GasOrgTypeCard from './GasOrgTypeCard.vue'; import { BlLifeRecharge, LifeRechargeConstants } from '@life-payment/core-vue'; import { useGasBillRechargeContext } from './context'; +import { useGetGasParValue } from '../../hooks'; defineOptions({ name: 'GasBillRechargeStep1', @@ -30,7 +31,9 @@ const { preSetForm, goToNext, goTo } = useGasBillRechargeContext(); -function goNext(gasOrgType: LifeRechargeConstants.GasOrgCodeEnum) { +const { gasParValueList } = useGetGasParValue(); + +function goNext(gasOrgType: string) { preSetForm.gasOrgType = gasOrgType; goToNext(); } -- Gitblit v1.9.1