Compare commits
No commits in common. "c590197ebf00177eb9176729430b2704ca7b70ae" and "7ad91b879b172ad1ca335b318ab24ea3de536e08" have entirely different histories.
c590197ebf
...
7ad91b879b
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
@ -11,9 +11,6 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="title_line">生成报告</div>
|
||||
|
||||
<!-- 四个角的装饰 -->
|
||||
<div class="corner corner-top-left"></div>
|
||||
<div class="corner corner-top-right"></div>
|
||||
@ -852,20 +849,4 @@ 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>
|
||||
|
||||
@ -679,10 +679,9 @@ const getBarHeight = value => {
|
||||
const actualValue = value.count || value.value;
|
||||
if (!actualValue || actualValue == 0) return '0';
|
||||
// 确保最小高度为10%,最大高度为100%
|
||||
const height = (actualValue / totalValue.value) * 300;
|
||||
const height = (actualValue / totalValue.value) * 200;
|
||||
// 确保高度差异明显,至少有3%的最小差异
|
||||
// 最大高度为100% 最新高度为3%的最小差异
|
||||
console.log(height);
|
||||
return Math.min(100, Math.max(3, Math.round(height)));
|
||||
};
|
||||
const handleAIClick = () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user