zhengyiming
2025-03-13 13172e75446452388f0e4a0c4aac7e696e1b21da
apps/taro/src/pages/home/index.vue
@@ -4,18 +4,19 @@
      <RechargeGrid
        @phoneBillRecharge="goPhoneBillRecharge"
        @electricityBillRecharge="goElectricityBillRecharge"
        @gasBillRecharge="goGasBillRecharge"
      />
    </ContentView>
  </PageLayoutWithBg>
</template>
<script setup lang="ts">
import { useUser, useAccessLogin } from '@/hooks';
import { useAccessLogin } from '@/hooks';
import { useUserStore } from '@/stores/modules/user';
import Taro from '@tarojs/taro';
import IconLogo from '@/assets/home/icon-logo.png';
import { OrderInputType } from '@life-payment/constants';
import { RechargeGrid } from '@life-payment/components';
import CustomTabBar from '../../custom-tab-bar/index';
const userStore = useUserStore();
@@ -31,6 +32,11 @@
    url: `${RouterPath.electricBillRecharge}`,
  });
});
const goGasBillRecharge = useAccessLogin(() => {
  Taro.navigateTo({
    url: `${RouterPath.gasBillRecharge}`,
  });
});
</script>
<style lang="scss">