Files
DinQuant/frontend/dist/js/785.6bf5da35.js
T

1 line
13 KiB
JavaScript
Raw Normal View History

"use strict";(self["webpackChunkvue_antd_pro"]=self["webpackChunkvue_antd_pro"]||[]).push([[785],{1785:function(t,s,i){i.r(s),i.d(s,{default:function(){return b}});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"billing-page",class:{"theme-dark":t.isDarkTheme}},[s("div",{staticClass:"page-header"},[s("h2",{staticClass:"page-title"},[s("a-icon",{attrs:{type:"wallet"}}),s("span",[t._v(t._s(t.$t("billing.title")))])],1),s("p",{staticClass:"page-desc"},[t._v(t._s(t.$t("billing.desc")))])]),s("a-card",{staticClass:"snapshot-card",attrs:{bordered:!1}},[s("div",{staticClass:"snapshot-row"},[s("div",{staticClass:"snap-item"},[s("div",{staticClass:"snap-label"},[t._v(t._s(t.$t("billing.snapshot.credits")))]),s("div",{staticClass:"snap-value"},[t._v(t._s(t.formatCredits(t.billing.credits)))])]),s("div",{staticClass:"snap-item"},[s("div",{staticClass:"snap-label"},[t._v(t._s(t.$t("billing.snapshot.vip")))]),s("div",{staticClass:"snap-value"},[t.billing.is_vip?s("a-tag",{attrs:{color:"gold"}},[s("a-icon",{attrs:{type:"crown"}}),t._v(" VIP ")],1):s("a-tag",[t._v(t._s(t.$t("billing.snapshot.notVip")))]),t.billing.vip_expires_at?s("span",{staticClass:"vip-exp"},[t._v(" "+t._s(t.$t("billing.snapshot.expires"))+": "+t._s(t.formatDate(t.billing.vip_expires_at))+" ")]):t._e()],1)])]),s("a-alert",{staticStyle:{"margin-top":"12px"},attrs:{type:"info","show-icon":"",message:t.$t("billing.vipRule.title"),description:t.$t("billing.vipRule.desc")}})],1),s("a-row",{staticStyle:{"margin-top":"16px"},attrs:{gutter:16}},[s("a-col",{attrs:{xs:24,md:8}},[s("a-card",{staticClass:"plan-card",attrs:{bordered:!1}},[s("div",{staticClass:"plan-title"},[t._v(t._s(t.$t("billing.plan.monthly")))]),s("div",{staticClass:"plan-price"},[t._v(" $"+t._s(t.plans.monthly.price_usd)+" "),s("span",{staticClass:"plan-unit"},[t._v("/ "+t._s(t.$t("billing.perMonth")))])]),s("div",{staticClass:"plan-benefit"},[t._v(" +"+t._s(t.plans.monthly.credits_once)+" "+t._s(t.$t("billing.credits"))+" ")]),s("a-button",{attrs:{type:"primary",block:"",loading:"monthly"===t.purchasing},on:{click:function(s){return t.buy("monthly")}}},[t._v(" "+t._s(t.$t("billing.buyNow"))+" ")])],1)],1),s("a-col",{attrs:{xs:24,md:8}},[s("a-card",{staticClass:"plan-card highlight",attrs:{bordered:!1}},[s("div",{staticClass:"plan-title"},[t._v(t._s(t.$t("billing.plan.yearly")))]),s("div",{staticClass:"plan-price"},[t._v(" $"+t._s(t.plans.yearly.price_usd)+" "),s("span",{staticClass:"plan-unit"},[t._v("/ "+t._s(t.$t("billing.perYear")))])]),s("div",{staticClass:"plan-benefit"},[t._v(" +"+t._s(t.plans.yearly.credits_once)+" "+t._s(t.$t("billing.credits"))+" ")]),s("a-button",{attrs:{type:"primary",block:"",loading:"yearly"===t.purchasing},on:{click:function(s){return t.buy("yearly")}}},[t._v(" "+t._s(t.$t("billing.buyNow"))+" ")])],1)],1),s("a-col",{attrs:{xs:24,md:8}},[s("a-card",{staticClass:"plan-card",attrs:{bordered:!1}},[s("div",{staticClass:"plan-title"},[t._v(t._s(t.$t("billing.plan.lifetime")))]),s("div",{staticClass:"plan-price"},[t._v(" $"+t._s(t.plans.lifetime.price_usd)+" "),s("span",{staticClass:"plan-unit"},[t._v(t._s(t.$t("billing.once")))])]),s("div",{staticClass:"plan-benefit"},[t._v(" "+t._s(t.$t("billing.lifetimeMonthly"))+" +"+t._s(t.plans.lifetime.credits_monthly)+" "+t._s(t.$t("billing.credits"))+" ")]),s("a-button",{attrs:{type:"primary",block:"",loading:"lifetime"===t.purchasing},on:{click:function(s){return t.buy("lifetime")}}},[t._v(" "+t._s(t.$t("billing.buyNow"))+" ")])],1)],1)],1),s("a-modal",{attrs:{title:null,footer:null,maskClosable:!1,closable:!1,wrapClassName:"usdt-pay-modal-wrap",width:"600px"},on:{cancel:t.closeUsdtModal},model:{value:t.usdtModalVisible,callback:function(s){t.usdtModalVisible=s},expression:"usdtModalVisible"}},[t.usdtOrder?s("div",{staticClass:"usdt-checkout"},[s("div",{staticClass:"checkout-header"},[s("div",{staticClass:"header-left"},[s("div",{staticClass:"usdt-logo"},[s("svg",{attrs:{viewBox:"0 0 32 32",width:"28",height:"28"}},[s("circle",{attrs:{cx:"16",cy:"16",r:"16",fill:"#26A17B"}}),s("path",{attrs:{d:"M17.9 17.9v-.003c-.1.