feat: 参考原型图 ui优化提交 企业端-企业中心 相关的页面

This commit is contained in:
zhanjunhao
2026-11-06 20:19:43 +08:00
parent 43048626a6
commit a075732cb4
147 changed files with 9816 additions and 8768 deletions
+15 -2
View File
@@ -27,6 +27,8 @@ import {
PayPalBrandIcon,
} from '../../components/common/icons/BrandIcons';
import { getCurrencyConfig } from '../../helpers/render';
import { CUSTOMER_SERVICE_OPEN_EVENT } from '../../components/customer-service';
import { showInfo } from '../../helpers';
import AmountCard from './AmountCard';
import { useMinimumLoadingTime } from '../../hooks/common/useMinimumLoadingTime';
@@ -40,7 +42,17 @@ const formatCny = (value) =>
export const InvoiceNote = ({ t }) => (
<p className='rc-invoice'>
{t('需要发票?')}
<span>{t('联系在线客服')}</span>
<button
type='button'
onClick={() => {
const handled = !window.dispatchEvent(
new CustomEvent(CUSTOMER_SERVICE_OPEN_EVENT, { cancelable: true }),
);
if (!handled) showInfo(t('暂无可用客服'));
}}
>
{t('联系在线客服')}
</button>
</p>
);
@@ -146,7 +158,8 @@ const RechargePanel = ({
Boolean(preset) &&
Boolean(selectedMethod) &&
!isMethodDisabled(selectedMethod) &&
Boolean(payable);
Boolean(payable) &&
!amountLoading;
if (statusLoading) {
return (