Compare commits

..

No commits in common. "c590197ebf00177eb9176729430b2704ca7b70ae" and "7ad91b879b172ad1ca335b318ab24ea3de536e08" have entirely different histories.

3 changed files with 1 additions and 21 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -11,9 +11,6 @@
/> />
</div> </div>
</div> </div>
<div class="title_line">生成报告</div>
<!-- 四个角的装饰 --> <!-- 四个角的装饰 -->
<div class="corner corner-top-left"></div> <div class="corner corner-top-left"></div>
<div class="corner corner-top-right"></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> </style>

View File

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