feat: route material tag scans to reports

This commit is contained in:
wushumin
2026-05-25 16:37:11 +08:00
parent fa8c9015d9
commit 91be380751
10 changed files with 99 additions and 111 deletions

View File

@@ -329,10 +329,7 @@ onShow(() => {
<view class="report-result__value">{{ resultItem.value }}</view>
<view v-if="resultItem.remark" class="report-result__desc">{{ resultItem.remark }}</view>
</view>
<view class="report-seal">
<text class="report-seal__brand">安心验</text>
<text class="report-seal__main">鉴定</text>
</view>
<image class="report-seal" src="/static/report/report-auth-badge.png" mode="aspectFit" />
</view>
<view class="product-spec">
@@ -508,7 +505,7 @@ onShow(() => {
left: 28rpx;
right: 28rpx;
height: 560rpx;
background: url("../../static/report/report-watermark.svg") center / 100% 100% no-repeat;
background: url("../../static/report/report-bg-watermark.png") center / 100% auto no-repeat;
opacity: 1;
pointer-events: none;
}
@@ -688,56 +685,10 @@ onShow(() => {
position: absolute;
right: 2rpx;
bottom: 22rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 106rpx;
height: 106rpx;
border: 4rpx solid rgba(40, 151, 73, 0.82);
border-radius: 999rpx;
background: rgba(255, 255, 255, 0.42);
color: #239245;
box-shadow: inset 0 0 0 4rpx rgba(40, 151, 73, 0.1);
transform: rotate(-9deg);
}
.report-seal::before {
position: absolute;
inset: 10rpx;
border: 2rpx solid rgba(40, 151, 73, 0.58);
border-radius: inherit;
content: "";
}
.report-seal::after {
position: absolute;
left: 50%;
bottom: 12rpx;
width: 34rpx;
height: 5rpx;
border-radius: 999rpx;
background: currentColor;
content: "";
opacity: 0.7;
transform: translateX(-50%);
}
.report-seal__brand {
position: relative;
z-index: 1;
font-size: 18rpx;
font-weight: 900;
line-height: 1;
}
.report-seal__main {
position: relative;
z-index: 1;
margin-top: 9rpx;
font-size: 26rpx;
font-weight: 900;
line-height: 1;
display: block;
pointer-events: none;
}
.product-spec {