From 2aa160821ab9dbf069ffe86e7774be54866530eb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 08 三月 2024 15:09:17 +0800 Subject: [PATCH] 增加市场情绪前端展示 --- kp_html/kp/js/code_list.js | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/kp_html/kp/js/code_list.js b/kp_html/kp/js/code_list.js index ff4a74a..f848eba 100644 --- a/kp_html/kp/js/code_list.js +++ b/kp_html/kp/js/code_list.js @@ -211,6 +211,17 @@ e.percent = 0; } }); + + result.data.delegates.forEach(function(e){ + if(e.buy1_money.indexOf("涓�")&&parseFloat(e.buy1_money.substring(0,e.buy1_money.indexOf("涓�")))<2000){ + //灏佸崟2000w浠ヤ笅鎻愰啋 + e.buy1_money_warning = 1; + }else{ + e.buy1_money_warning = 0; + } + }); + + app.delegated_buy_code_infos = result.data.delegates; app.account_available_money = result.data.account_available_money; app.reset_l2_height(); -- Gitblit v1.8.0