diff --git a/web/src/components/table/model-pricing/layout/header/PricingVendorIntro.jsx b/web/src/components/table/model-pricing/layout/header/PricingVendorIntro.jsx index ee7695fe..deb618b1 100644 --- a/web/src/components/table/model-pricing/layout/header/PricingVendorIntro.jsx +++ b/web/src/components/table/model-pricing/layout/header/PricingVendorIntro.jsx @@ -252,11 +252,11 @@ const PricingVendorIntro = memo(({ >
-
+

{title}

- + {t('共 {{count}} 个模型', { count })}
diff --git a/web/src/components/table/model-pricing/layout/header/PricingVendorIntroSkeleton.jsx b/web/src/components/table/model-pricing/layout/header/PricingVendorIntroSkeleton.jsx index 411b8642..c0bf25e3 100644 --- a/web/src/components/table/model-pricing/layout/header/PricingVendorIntroSkeleton.jsx +++ b/web/src/components/table/model-pricing/layout/header/PricingVendorIntroSkeleton.jsx @@ -84,9 +84,9 @@ const SKELETON_STYLES = { border: `1px solid ${THEME_COLORS.neutral.border}` }, button: { - backgroundColor: THEME_COLORS.allVendors.background, + backgroundColor: THEME_COLORS.neutral.background, borderRadius: 8, - border: `1px solid ${THEME_COLORS.allVendors.border}` + border: `1px solid ${THEME_COLORS.neutral.border}` } }; @@ -95,7 +95,8 @@ const createSkeletonRect = (style = {}, key = null) => ( ); const PricingVendorIntroSkeleton = memo(({ - isAllVendors = false + isAllVendors = false, + isMobile = false }) => { const placeholder = ( @@ -107,7 +108,7 @@ const PricingVendorIntroSkeleton = memo(({ >
-
+
{createSkeletonRect({ ...SKELETON_STYLES.title, width: isAllVendors ? SIZES.title.width.all : SIZES.title.width.specific, @@ -158,7 +159,13 @@ const PricingVendorIntroSkeleton = memo(({ ...SKELETON_STYLES.button, width: SIZES.button.width, height: SIZES.button.height - }, 'button')} + }, 'copy-button')} + + {isMobile && createSkeletonRect({ + ...SKELETON_STYLES.button, + width: SIZES.button.width, + height: SIZES.button.height + }, 'filter-button')}
); diff --git a/web/src/components/table/model-pricing/layout/header/PricingVendorIntroWithSkeleton.jsx b/web/src/components/table/model-pricing/layout/header/PricingVendorIntroWithSkeleton.jsx index 15b3392b..0a64416b 100644 --- a/web/src/components/table/model-pricing/layout/header/PricingVendorIntroWithSkeleton.jsx +++ b/web/src/components/table/model-pricing/layout/header/PricingVendorIntroWithSkeleton.jsx @@ -33,6 +33,7 @@ const PricingVendorIntroWithSkeleton = memo(({ return ( ); }