From 85b82bfe47e99aaecbb2b8e00da469f341e3e2b8 Mon Sep 17 00:00:00 2001 From: chenxi Date: Sun, 25 Oct 2026 23:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=BE=85=E6=A0=B8=E9=AA=8C?= =?UTF-8?q?=E6=88=90=E6=9C=AC=E6=9F=A5=E7=9C=8B=E6=98=8E=E7=BB=86=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=20(#571)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整待核验成本查看明细颜色 (#571) --- .../pages/financial-operations/product-costs.blade.php | 4 ++++ tests/Feature/Business/ProductCostPageLayoutTest.php | 1 + 2 files changed, 5 insertions(+) diff --git a/resources/views/business/pages/financial-operations/product-costs.blade.php b/resources/views/business/pages/financial-operations/product-costs.blade.php index 1741ad53..8c40081e 100644 --- a/resources/views/business/pages/financial-operations/product-costs.blade.php +++ b/resources/views/business/pages/financial-operations/product-costs.blade.php @@ -278,6 +278,10 @@ outline-offset: 2px; } + .product-cost-metric.is-warn .product-cost-metric__action--button { + color: var(--vip-content-ink, #171717); + } + .product-cost-metric.is-summary { grid-template-rows: auto 1fr auto; } diff --git a/tests/Feature/Business/ProductCostPageLayoutTest.php b/tests/Feature/Business/ProductCostPageLayoutTest.php index bddb757e..00c63215 100644 --- a/tests/Feature/Business/ProductCostPageLayoutTest.php +++ b/tests/Feature/Business/ProductCostPageLayoutTest.php @@ -56,6 +56,7 @@ class ProductCostPageLayoutTest extends TestCase $this->assertStringContainsString('成本指标', $html); $this->assertStringContainsString('口径说明', $html); $this->assertStringContainsString('grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr))', $html); + $this->assertStringContainsString('.product-cost-metric.is-warn .product-cost-metric__action--button', $html); $this->assertStringContainsString('商品成本合计', $html); $this->assertStringContainsString('待核验成本', $html); $this->assertStringContainsString('data-product-cost-metric-card="cost-summary"', $html);