This commit is contained in:
niedongsheng 2026-04-24 16:51:39 +08:00
commit c7d7271da9
3 changed files with 21 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -11,6 +11,9 @@
/>
</div>
</div>
<div class="title_line">生成报告</div>
<!-- 四个角的装饰 -->
<div class="corner corner-top-left"></div>
<div class="corner corner-top-right"></div>
@ -849,4 +852,20 @@ onMounted(() => {
}
}
}
.title_line {
position: fixed;
top: vw(0);
right: 2%;
width: vw(100);
height: vw(40);
z-index: 100;
text-align: center;
line-height: vw(40);
font-size: 12px;
color: #fff;
background-image: url('../../assets/RiskWarning_img/按钮bg-1@2x.png');
background-size: contain;
background-position: center;
cursor: pointer;
}
</style>

View File

@ -679,9 +679,10 @@ const getBarHeight = value => {
const actualValue = value.count || value.value;
if (!actualValue || actualValue == 0) return '0';
// 10%100%
const height = (actualValue / totalValue.value) * 200;
const height = (actualValue / totalValue.value) * 300;
// 3%
// 100% 3%
console.log(height);
return Math.min(100, Math.max(3, Math.round(height)));
};
const handleAIClick = () => {