diff --git a/components/nbd-anti-record.vue b/components/nbd-anti-record.vue index 4a49f86..f2fa81f 100644 --- a/components/nbd-anti-record.vue +++ b/components/nbd-anti-record.vue @@ -16,33 +16,54 @@ 防腐记录 - 查看全部({{ list.length }}) + 查看全部({{ list.length + }}) - - 检查结果 - - {{ latest.CheckResult === '合格' ? '\u2713' : '\u2717' }} - {{ latest.CheckResult || '--' }} - - + 防腐等级 {{ latest.AnticorrosionLevel || '--' }} + + 中间漆 + {{ latest.IntermediatePaint || '--' }} + + + 面漆 + {{ latest.Topcoat || '--' }} + + + 漆膜厚度 + {{ latest.FilmThickness || '--' }} + + + 检查人 + {{ latest.CheckPersonName || '--' }} + 检查时间 {{ latest.CheckTime || '--' }} - - 不合格原因 - {{ latest.UnqualifiedReason }} + + 检查结果 + + {{ latest.CheckResult === '合格' ? '\u2713' : '\u2717' + }} + {{ latest.CheckResult || '--' }} + + + + 不合格原因 + {{ latest.UnqualifiedReason }} + + + 整改要求 + {{ latest.RectifyRequirement + }} @@ -55,30 +76,52 @@ - - - 检查结果 - - {{ item.CheckResult === '合格' ? '\u2713' : '\u2717' }} - {{ item.CheckResult || '--' }} - - + :class="item.CheckResult === '合格' ? 'anti-record__card--pass' : 'anti-record__card--fail'"> 防腐等级 {{ item.AnticorrosionLevel || '--' }} + + 中间漆 + {{ item.IntermediatePaint || '--' }} + + + 面漆 + {{ item.Topcoat || '--' }} + + + 漆膜厚度 + {{ item.FilmThickness || '--' }} + + + 检查人 + {{ item.CheckPersonName || '--' }} + 检查时间 {{ item.CheckTime || '--' }} - - 不合格原因 - {{ item.UnqualifiedReason }} + + 检查结果 + + {{ item.CheckResult === '合格' ? '\u2713' : + '\u2717' + }} + {{ item.CheckResult || '--' }} + + + + 不合格原因 + {{ item.UnqualifiedReason + }} + + + 整改要求 + {{ item.RectifyRequirement + }} @@ -133,6 +176,7 @@ $text: #1a1a2e; $text-secondary: #8e99a4; .anti-record { + &__loading, &__empty { padding: 40rpx 24rpx; @@ -212,12 +256,11 @@ $text-secondary: #8e99a4; align-items: center; padding: 8rpx 0; - & + & { + &+& { border-top: 1rpx solid #f0f0f0; } &--stack { - flex-direction: column; align-items: flex-start; .anti-record__value { @@ -233,6 +276,15 @@ $text-secondary: #8e99a4; flex-shrink: 0; margin-right: 24rpx; width: 140rpx; + + &--stack { + font-size: 26rpx; + color: $text-secondary; + flex-shrink: 0; + margin-right: 24rpx; + width: 140rpx; + margin-top: 8rpx; + } } &__value { @@ -241,8 +293,7 @@ $text-secondary: #8e99a4; flex: 1; text-align: left; - &--fail { - color: #dc2626; + &--stack { font-size: 24rpx; } } @@ -353,7 +404,12 @@ $text-secondary: #8e99a4; } @keyframes slideUp { - 0% { transform: translateY(100%); } - 100% { transform: translateY(0); } + 0% { + transform: translateY(100%); + } + + 100% { + transform: translateY(0); + } } diff --git a/scanpages/hj/do_anti_rust.vue b/scanpages/hj/do_anti_rust.vue index abe4059..873d33d 100644 --- a/scanpages/hj/do_anti_rust.vue +++ b/scanpages/hj/do_anti_rust.vue @@ -46,10 +46,6 @@ - - - - @@ -110,7 +106,8 @@ - + + @@ -165,6 +162,11 @@ + + + + +