feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面
This commit is contained in:
@@ -28,7 +28,7 @@ import {
|
||||
SplitButtonGroup,
|
||||
Tag,
|
||||
Tooltip,
|
||||
} from '@douyinfe/semi-ui';
|
||||
} from '@/components/ui';
|
||||
import {
|
||||
API,
|
||||
timestamp2string,
|
||||
@@ -42,7 +42,7 @@ import {
|
||||
hoverOrClickTrigger,
|
||||
} from '../../../helpers';
|
||||
import { CHANNEL_OPTIONS } from '../../../constants';
|
||||
import { IconTreeTriangleDown, IconMore } from '@douyinfe/semi-icons';
|
||||
import { IconTreeTriangleDown, IconMore } from '@/components/ui/icons';
|
||||
import { ShuffleBrandIcon } from '../../common/icons/BrandIcons';
|
||||
|
||||
// 删除单个渠道的确认文案:若该渠道被其他渠道列为兜底,追加影响说明。
|
||||
@@ -261,13 +261,13 @@ const renderDailyQuota = (record, dailyQuotaInfo, t) => {
|
||||
const percent = info.usage_percent || 0;
|
||||
const isExceeded = info.limit_exceeded;
|
||||
|
||||
let strokeColor = 'var(--semi-color-success)';
|
||||
let strokeColor = 'var(--ui-color-success)';
|
||||
if (percent >= 100) {
|
||||
strokeColor = 'var(--semi-color-danger)';
|
||||
strokeColor = 'var(--ui-color-danger)';
|
||||
} else if (percent >= 80) {
|
||||
strokeColor = 'var(--semi-color-warning)';
|
||||
strokeColor = 'var(--ui-color-warning)';
|
||||
} else if (percent >= 50) {
|
||||
strokeColor = 'var(--semi-color-primary)';
|
||||
strokeColor = 'var(--ui-color-primary)';
|
||||
}
|
||||
|
||||
return (
|
||||
@@ -284,7 +284,7 @@ const renderDailyQuota = (record, dailyQuotaInfo, t) => {
|
||||
{t('使用率')}: {percent}%
|
||||
</div>
|
||||
{isExceeded && (
|
||||
<div style={{ color: 'var(--semi-color-danger)' }}>
|
||||
<div style={{ color: 'var(--ui-color-danger)' }}>
|
||||
{t('已达限额,今日不再调度')}
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user