diff options
| author | Frank <[email protected]> | 2026-03-13 03:24:31 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2026-03-13 03:24:33 -0400 |
| commit | 9fafa5756282ff9f82c185af576e3e1a38f02384 (patch) | |
| tree | 38dfb82cbc710ba96cf12cfc9fe211e954a312a9 /packages/console/app/src/routes | |
| parent | f8475649da1cd7a6d49f8f30ee2fad374c2f4fcc (diff) | |
| download | opencode-9fafa5756282ff9f82c185af576e3e1a38f02384.tar.gz opencode-9fafa5756282ff9f82c185af576e3e1a38f02384.zip | |
go: upi pay
Diffstat (limited to 'packages/console/app/src/routes')
| -rw-r--r-- | packages/console/app/src/routes/workspace/[id]/billing/billing-section.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/console/app/src/routes/workspace/[id]/billing/billing-section.tsx b/packages/console/app/src/routes/workspace/[id]/billing/billing-section.tsx index d966f38d3..50e30585b 100644 --- a/packages/console/app/src/routes/workspace/[id]/billing/billing-section.tsx +++ b/packages/console/app/src/routes/workspace/[id]/billing/billing-section.tsx @@ -3,7 +3,7 @@ import { createMemo, Match, Show, Switch, createEffect } from "solid-js" import { createStore } from "solid-js/store" import { Billing } from "@opencode-ai/console-core/billing.js" import { withActor } from "~/context/auth.withActor" -import { IconAlipay, IconCreditCard, IconStripe } from "~/component/icon" +import { IconAlipay, IconCreditCard, IconStripe, IconWechat } from "~/component/icon" import styles from "./billing-section.module.css" import { createCheckoutUrl, formatBalance, queryBillingInfo } from "../../common" import { useI18n } from "~/context/i18n" @@ -208,6 +208,9 @@ export function BillingSection() { <Match when={billingInfo()?.paymentMethodType === "alipay"}> <IconAlipay style={{ width: "24px", height: "24px" }} /> </Match> + <Match when={billingInfo()?.paymentMethodType === "wechat_pay"}> + <IconWechat style={{ width: "24px", height: "24px" }} /> + </Match> </Switch> </div> <div data-slot="card-details"> @@ -224,6 +227,9 @@ export function BillingSection() { <Match when={billingInfo()?.paymentMethodType === "alipay"}> <span data-slot="type">{i18n.t("workspace.billing.alipay")}</span> </Match> + <Match when={billingInfo()?.paymentMethodType === "wechat_pay"}> + <span data-slot="type">{i18n.t("workspace.billing.wechat")}</span> + </Match> </Switch> </div> <button |
