From 9dede2eaa1d3e68be387c5fd612eb48226a54c9d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 04 八月 2023 16:07:22 +0800
Subject: [PATCH] HOST修改

---
 kp_html/kp/js/page.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/kp_html/kp/js/page.js b/kp_html/kp/js/page.js
index f84c58f..e626f52 100644
--- a/kp_html/kp/js/page.js
+++ b/kp_html/kp/js/page.js
@@ -84,6 +84,8 @@
 			data: {
 				code: "000000",
 				code_name: "----",
+				last_show_dialog:0,
+				limit_up_search_key:'',
 				trade_data: {
 					order: 0
 				},
@@ -349,7 +351,10 @@
 					init_data();
 					_resize();
 				},
-
+				limit_up_search:function(){
+					key = $("#limit_up_search_key").val();
+					app.limit_up_search_key=key;
+				},
 				//鑾峰彇琛屼笟鏁版嵁
 				get_industry_data: function(type) {
 					app.industry_data_type = type;
@@ -421,7 +426,6 @@
 				get_limit_up_list: function(code, is_auto_refresh) {
 					http_util.get_limit_up_list(code, function(res) {
 						res = JSON.parse(res)
-						console.log(res)
 						if (res.code == 0) {
 							app.first_info = res.data
 							if (app.choose_code.first) {
@@ -563,6 +567,11 @@
 					init_data();
 				},
 				show_want_codes: function(plate) {
+					if (Date.now() - app.last_show_dialog<500){
+						return;
+					}
+					app.last_show_dialog= Date.now()
+					
 					http_util.get_plate_codes(plate, function(result) {
 						result = JSON.parse(result);
 						console.log("娑ㄥ仠鍘熷洜鎴愬垎鑲¤繑鍥烇細",result);

--
Gitblit v1.8.0