feat: 完善安装费卡片构成项单位 #613

Merged
qiuxiang merged 1 commits from feature/qiuxiang-installation-fee-card-package-units into main 2026-10-26 16:51:10 +08:00
2 changed files with 12 additions and 4 deletions

View File

@ -127,6 +127,13 @@
font-weight: 400;
}
.installation-fee-card__split-unit {
margin-left: 0.12rem;
color: #595959;
font-size: 0.6875rem;
font-weight: 400;
}
.installation-fee-card__split-sep {
color: #d8d2c7;
font-weight: 400;
@ -407,9 +414,9 @@
</span>
<span class="installation-fee-card__split">
<span class="installation-fee-card__split-summary">
<span>包安装 <strong data-installation-fee-package>0.00</strong><span class="installation-fee-card__split-percent" data-installation-fee-package-percent>(0.0%)</span></span>
<span>包安装金额 <strong data-installation-fee-package>0.00</strong><span class="installation-fee-card__split-unit">万元</span><span class="installation-fee-card__split-percent" data-installation-fee-package-percent>(0.0%)</span></span>
<span class="installation-fee-card__split-sep" aria-hidden="true">|</span>
<span>不包安装 <strong data-installation-fee-non-package>0.00</strong><span class="installation-fee-card__split-percent" data-installation-fee-non-package-percent>(0.0%)</span></span>
<span>不包安装金额 <strong data-installation-fee-non-package>0.00</strong><span class="installation-fee-card__split-unit">万元</span><span class="installation-fee-card__split-percent" data-installation-fee-non-package-percent>(0.0%)</span></span>
</span>
<button
type="button"

View File

@ -282,8 +282,9 @@ class ManagementCrudTest extends FeatureTestCase
->assertSeeText('安装费金额')
->assertSeeText('查看明细 →')
->assertSeeText('较上月')
->assertSeeText('包安装')
->assertSeeText('不包安装')
->assertSeeText('包安装金额')
->assertSeeText('不包安装金额')
->assertSee('installation-fee-card__split-unit', false)
->assertSee('data-installation-fee-trend', false)
->assertSee('data-installation-fee-package', false)
->assertSee('data-installation-fee-non-package', false)