Merge branch 'dev' of http://222.212.85.86:8222/bdzl2/bxztApp into dev
This commit is contained in:
commit
c7d7271da9
BIN
packages/screen/src/assets/RiskWarning_img/按钮bg-1@2x.png
Normal file
BIN
packages/screen/src/assets/RiskWarning_img/按钮bg-1@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@ -11,6 +11,9 @@
|
|||||||
/>
|
/>
|
||||||
</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>
|
||||||
@ -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>
|
</style>
|
||||||
|
|||||||
@ -679,9 +679,10 @@ 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) * 200;
|
const height = (actualValue / totalValue.value) * 300;
|
||||||
// 确保高度差异明显,至少有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 = () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user