|
@@ -69,6 +69,7 @@ window.addEventListener('message',(e)=>{
|
|
|
}
|
|
|
// 监听iframe重新获取数据时的参数
|
|
|
if(e.data?.opt=="updateInfo"){
|
|
|
+ console.log('重新获取数据传来了',e.data);
|
|
|
selectDate.value=e.data.data_time
|
|
|
router.replace({
|
|
|
query:{
|
|
@@ -178,7 +179,7 @@ function handleOpt(type){
|
|
|
</div>
|
|
|
<div class="item">
|
|
|
<div>占比</div>
|
|
|
- <div>{{showDetailData.rate*100}}%</div>
|
|
|
+ <div>{{(showDetailData.rate*100).toFixed(2)}}%</div>
|
|
|
</div>
|
|
|
<div class="item">
|
|
|
<div>前6名持净多单</div>
|
|
@@ -190,7 +191,7 @@ function handleOpt(type){
|
|
|
</div>
|
|
|
<div class="item">
|
|
|
<div>占比</div>
|
|
|
- <div>{{showDetailData.before_all_rate*100}}%</div>
|
|
|
+ <div>{{(showDetailData.before_all_rate*100).toFixed(2)}}%</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="close-btn" @click="showDetail=false">知道了</div>
|