From 73e0c886d5cab285eaddfa79653c622efa5fe980 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 15 四月 2024 17:00:39 +0800
Subject: [PATCH] 前端代码修改/添加L1数据接口

---
 kp_html/kp/js/code_list.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/kp_html/kp/js/code_list.js b/kp_html/kp/js/code_list.js
index 78e26b6..5945752 100644
--- a/kp_html/kp/js/code_list.js
+++ b/kp_html/kp/js/code_list.js
@@ -43,6 +43,7 @@
 			passive_buy_codes: null,
 			data_type: 0,
 			trade_progress_index: -1,
+			trade_progress_percent: 0,
 			real_order_indexes: new Array(),
 			hidden_canceled: true,
 			//闅愯棌鎾ゅ崟
@@ -133,6 +134,8 @@
 						console.log("鎴愪氦杩涘害", res.data);
 						if (!res.data.is_default) {
 							app.trade_progress_index = res.data.trade_progress;
+							
+							app.trade_progress_percent = res.data.percent;
 						}
 					}
 				});
@@ -291,7 +294,7 @@
 			reset_l2_height: function() {
 				var height = document.documentElement.clientHeight;
 				console.log("灞忓箷锛�", height);
-				$(".l2-content").eq(0).css("height", (height - 370 - 66 * app
+				$(".l2-content").eq(0).css("height", (height - 380 - 66 * app
 						.delegated_buy_code_infos.length - 24 * app.latest_cancel_orders.length
 						) + "px");
 			},
@@ -482,7 +485,7 @@
 				if (app.hidden_cancel && (item[2][6].indexOf('涔版挙') >= 0)) {
 					return false;
 				}
-				if (app.hidden_little_money && parseFloat(item[2][3]) < 50) {
+				if (app.hidden_little_money && parseFloat(item[2][3]) < 5) {
 					return false;
 				}
 				

--
Gitblit v1.8.0