├── haitong_release ├── CntSSL.dll ├── HtOnLine.dll ├── Key.dat ├── MyToolLib.dll ├── SQLITE30.dll ├── ThsEngine.exe ├── ThsGUI.dll ├── User Cert │ └── MyCerts.dat ├── VirusScan.dll ├── bit.dll ├── cpkg.dll ├── cryptodll.dll ├── hcrypt.dll ├── hssl.dll ├── htmlayout.dll ├── htoken.dll ├── libeay32.dll ├── libmicrohttpd-dll.dll ├── lua5.1.dll ├── order_engine.ini ├── private.ini ├── readme.txt ├── system.dat ├── user.dat ├── xiadan.chm ├── xiadan.exe ├── xiadan.ini ├── zip.dll ├── zlib.dll ├── zlib1.dll └── 海通同花顺程序化交易接口.docx ├── readme.md ├── thstrade-newversion.zip ├── thstrade ├── Log.txt ├── MyToolLib.dll ├── RES │ ├── RES__100_0.dll │ ├── RES__11_0.dll │ ├── RES__124_0.dll │ ├── RES__125_0.dll │ ├── RES__127_0.dll │ ├── RES__12_0.dll │ ├── RES__134_0.dll │ ├── RES__137_0.dll │ ├── RES__13_0.dll │ ├── RES__15_0.dll │ ├── RES__16_0.dll │ ├── RES__196_0.dll │ ├── RES__22_0.dll │ ├── RES__23_0.dll │ ├── RES__25_0.dll │ ├── RES__27_0.dll │ ├── RES__30_0.dll │ ├── RES__322_0.dll │ ├── RES__331_0.dll │ ├── RES__340_0.dll │ ├── RES__349_0.dll │ ├── RES__352_0.dll │ ├── RES__356_0.dll │ ├── RES__55_0.dll │ ├── RES__55_1.dll │ ├── RES__75_0.dll │ └── Zyy │ │ ├── assetcurve.pkg │ │ ├── assetcurve │ │ ├── assetcurve.html │ │ ├── assetcurve.ini │ │ ├── css │ │ │ ├── condition_main.css │ │ │ └── style.css │ │ ├── img │ │ │ ├── drop.png │ │ │ ├── guide.png │ │ │ ├── guide_ie6.png │ │ │ ├── help.png │ │ │ ├── iknow.png │ │ │ ├── loading.gif │ │ │ ├── tprofit.png │ │ │ ├── zhzl.png │ │ │ ├── zjgp.png │ │ │ ├── zjqx.png │ │ │ └── zjzl.png │ │ └── js │ │ │ ├── assetcurve.js │ │ │ ├── main_event.js │ │ │ └── main_scroll.js │ │ ├── auser.dat │ │ ├── comm.pkg │ │ ├── comm │ │ ├── adapter.js │ │ ├── echarts.min.js │ │ ├── hxcomm.js │ │ ├── jquery-1.6.1.js │ │ ├── jquery.nicescroll.min.js │ │ ├── jquery.tinytooltip.css │ │ ├── jquery.tinytooltip.js │ │ └── json2.js │ │ ├── runinfo.ini │ │ ├── zyy.ini │ │ ├── zyy.pkg │ │ └── zyy │ │ ├── comm │ │ ├── DD_belatedPNG.js │ │ ├── calendar │ │ │ ├── My97DatePicker.htm │ │ │ ├── WdatePicker.js │ │ │ ├── calendar.js │ │ │ ├── config.js │ │ │ ├── lang │ │ │ │ ├── en.js │ │ │ │ ├── zh-cn.js │ │ │ │ └── zh-tw.js │ │ │ └── skin │ │ │ │ ├── WdatePicker.css │ │ │ │ ├── datePicker.gif │ │ │ │ ├── default │ │ │ │ ├── datepicker.css │ │ │ │ └── img.gif │ │ │ │ └── whyGreen │ │ │ │ ├── bg.jpg │ │ │ │ ├── datepicker.css │ │ │ │ └── img.gif │ │ ├── clientAPI.js │ │ ├── divBox │ │ │ ├── css │ │ │ │ └── divBox.css │ │ │ └── js │ │ │ │ └── divBox.js │ │ ├── flexigrid │ │ │ ├── css │ │ │ │ ├── flexigrid.css │ │ │ │ ├── flexigrid_update.css │ │ │ │ └── images │ │ │ │ │ ├── bg.gif │ │ │ │ │ ├── btn-sprite.gif │ │ │ │ │ ├── ddn.png │ │ │ │ │ ├── dn.png │ │ │ │ │ ├── fhbg.gif │ │ │ │ │ ├── fhbg_blue.jpg │ │ │ │ │ ├── fhbg_green.jpg │ │ │ │ │ ├── fhbg_red.jpg │ │ │ │ │ ├── fhbg_yellow.jpg │ │ │ │ │ ├── first.gif │ │ │ │ │ ├── hl.png │ │ │ │ │ ├── last.gif │ │ │ │ │ ├── line.gif │ │ │ │ │ ├── load.gif │ │ │ │ │ ├── magnifier.png │ │ │ │ │ ├── next.gif │ │ │ │ │ ├── prev.gif │ │ │ │ │ ├── up.png │ │ │ │ │ ├── uup.png │ │ │ │ │ ├── wbg.gif │ │ │ │ │ ├── wbg_blue.jpg │ │ │ │ │ ├── wbg_green.jpg │ │ │ │ │ └── wbg_red.jpg │ │ │ └── js │ │ │ │ ├── flexigrid.js │ │ │ │ └── flexigrid.pack.js │ │ ├── hxcomm.js │ │ ├── jquery-1.6.1.js │ │ ├── jquery.cookie.js │ │ ├── jquery.json-2.3-debug.js │ │ ├── readme.txt │ │ ├── thickbox │ │ │ ├── css │ │ │ │ └── thickbox.css │ │ │ ├── images │ │ │ │ └── loadingAnimation.gif │ │ │ └── thickbox.js │ │ └── xml2json.js │ │ ├── html │ │ ├── adapter.js │ │ ├── css │ │ │ ├── gznhgSytle.css │ │ │ └── style.css │ │ ├── dssg.html │ │ ├── gznhg.html │ │ ├── images │ │ │ ├── Bitmap.png │ │ │ ├── BtnCloseHover.bmp │ │ │ ├── BtnCloseNormal.bmp │ │ │ ├── BtnClosePushed.bmp │ │ │ ├── QRcode.png │ │ │ ├── QRcodeMain.png │ │ │ ├── QRcodeMainCloseBtn.png │ │ │ ├── add.png │ │ │ ├── error.png │ │ │ ├── faild.png │ │ │ ├── icon.png │ │ │ ├── icon2.png │ │ │ ├── price.png │ │ │ ├── refresh.png │ │ │ ├── subtract.png │ │ │ ├── switch_off.png │ │ │ ├── switch_on.png │ │ │ └── tips.png │ │ ├── js │ │ │ ├── dssgCtrl.js │ │ │ ├── gzManager.js │ │ │ ├── gzParseData.js │ │ │ ├── gzUiEvent.js │ │ │ ├── gzrequest.js │ │ │ ├── gzresult.js │ │ │ ├── iepng.js │ │ │ ├── jquery.leanModal.min.js │ │ │ └── search.js │ │ ├── json2.js │ │ ├── request.js │ │ ├── sginfo.js │ │ ├── upload_userph.js │ │ ├── xgsg.html │ │ ├── xgycx.html │ │ └── xgzq.html │ │ └── scripts │ │ └── wtconfig.scr ├── ThsEngine.exe ├── ThsGUI.dll ├── VirusScan.dat ├── hcrypt.dll ├── hssl.dll ├── htmlayout.dll ├── libeay32.dll ├── libmicrohttpd-dll.dll ├── lua5.1.dll ├── mfc42.dll ├── msvcr100.dll ├── order_engine.ini ├── payload │ ├── xiadan.exe │ └── xiadan.zip ├── private.ini ├── riched20.dll ├── runinfo.ini ├── sqlite30.dll ├── system.dat ├── user.dat ├── virusscan.dll ├── xiadan.exe ├── xiadan.ini └── 同花顺程序化交易接口.docx └── 海通融资融券5.0 ├── CntSSL.dll ├── HtOnLine.dll ├── Key.dat ├── MyToolLib.dll ├── SQLITE30.dll ├── ThsEngine.exe ├── ThsGUI.dll ├── VirusScan.dat ├── VirusScan.dll ├── bit.dll ├── cpkg.dll ├── cryptodll.dll ├── hcrypt.dll ├── hssl.dll ├── htmlayout.dll ├── htoken.dll ├── libeay32.dll ├── libmicrohttpd-dll.dll ├── lua5.1.dll ├── order_engine.ini ├── private.ini ├── system.dat ├── unins000.dat ├── unins000.exe ├── user.dat ├── xiadan.exe ├── xiadan.ini ├── zip.dll ├── zlib.dll └── zlib1.dll /haitong_release/CntSSL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/CntSSL.dll -------------------------------------------------------------------------------- /haitong_release/HtOnLine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/HtOnLine.dll -------------------------------------------------------------------------------- /haitong_release/Key.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/Key.dat -------------------------------------------------------------------------------- /haitong_release/MyToolLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/MyToolLib.dll -------------------------------------------------------------------------------- /haitong_release/SQLITE30.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/SQLITE30.dll -------------------------------------------------------------------------------- /haitong_release/ThsEngine.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/ThsEngine.exe -------------------------------------------------------------------------------- /haitong_release/ThsGUI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/ThsGUI.dll -------------------------------------------------------------------------------- /haitong_release/User Cert/MyCerts.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/User Cert/MyCerts.dat -------------------------------------------------------------------------------- /haitong_release/VirusScan.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/VirusScan.dll -------------------------------------------------------------------------------- /haitong_release/bit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/bit.dll -------------------------------------------------------------------------------- /haitong_release/cpkg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/cpkg.dll -------------------------------------------------------------------------------- /haitong_release/cryptodll.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/cryptodll.dll -------------------------------------------------------------------------------- /haitong_release/hcrypt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/hcrypt.dll -------------------------------------------------------------------------------- /haitong_release/hssl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/hssl.dll -------------------------------------------------------------------------------- /haitong_release/htmlayout.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/htmlayout.dll -------------------------------------------------------------------------------- /haitong_release/htoken.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/htoken.dll -------------------------------------------------------------------------------- /haitong_release/libeay32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/libeay32.dll -------------------------------------------------------------------------------- /haitong_release/libmicrohttpd-dll.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/libmicrohttpd-dll.dll -------------------------------------------------------------------------------- /haitong_release/lua5.1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/lua5.1.dll -------------------------------------------------------------------------------- /haitong_release/order_engine.ini: -------------------------------------------------------------------------------- 1 | ; Isaac trading service control configuration 2 | ; @2018.10, by Yoyotek.cn software Inc. 3 | ; Do not delete this file!!! 4 | ; Setting the web service port and others. 5 | [license] 6 | token=HT_fgRoOyRNqz0U2XToKbNgl1UDJZE6%2fy9lSnOu%2bpmuBfZUQZZpgAGiauuPPXCWczM5ABzjhlOl8JLQ0dA%2bCrzGng%3d%3d 7 | param= ver=1 "0711296a70d754486417e81e747c6d7a3809e4f51d0cfecea25dfd8305321673b3ed95f1c6815fabbfaff3ea3fe81591e244ac61ccd70ea6a3b17d3411f2407f" 8 | [service] 9 | ; web service port number, would be modified by actions from user interface. 10 | ; modify the default number to avoid confilicts. 11 | http_port=12962 12 | -------------------------------------------------------------------------------- /haitong_release/private.ini: -------------------------------------------------------------------------------- 1 | 2 | [WT_SERVER] 3 | TCP/IP_ENABLEHXGC=0 4 | TCP/IP_PROXYADDR= 5 | TCP/IP_PROXYPORT=0 6 | TCP/IP_PROXYPWD= 7 | TCP/IP_PROXYTYPE=0 8 | TCP/IP_PROXYUSER= 9 | TCP/IP_USEPROXY=0 10 | -------------------------------------------------------------------------------- /haitong_release/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/readme.txt -------------------------------------------------------------------------------- /haitong_release/system.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/system.dat -------------------------------------------------------------------------------- /haitong_release/user.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/user.dat -------------------------------------------------------------------------------- /haitong_release/xiadan.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/xiadan.chm -------------------------------------------------------------------------------- /haitong_release/xiadan.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/xiadan.exe -------------------------------------------------------------------------------- /haitong_release/xiadan.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/xiadan.ini -------------------------------------------------------------------------------- /haitong_release/zip.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/zip.dll -------------------------------------------------------------------------------- /haitong_release/zlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/zlib.dll -------------------------------------------------------------------------------- /haitong_release/zlib1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/zlib1.dll -------------------------------------------------------------------------------- /haitong_release/海通同花顺程序化交易接口.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/haitong_release/海通同花顺程序化交易接口.docx -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # 以撒程序化交易接口 (2019.11月以后的同花顺版本) 2 | 本接口以第三方交易软件(同花顺)插件的方式运行,因此同花顺支持的券商都可以正常使用。 3 | ## 支持的券商列表 4 | ``` 5 | A 爱建证券 6 | C 财富证券 财达证券 长城国瑞证券 川财证券 长江证券 长城证券 财通证券 7 | D 东吴证券 东方证券 东兴证券 东北证券 东方财富证券 大同证券 德邦证券 东海证券 东莞证券 8 | F 方正证券 9 | G 国都证券 广州证券 国融证券 国联证券 国元证券 国开证券 国泰君安 国金证券 国盛证券 10 | H 华菁证券 华福证券 宏信证券 华融证券 华金证券 华创证券 华鑫证券 华龙证券 华林证券 恒泰证券 11 | J 江海证券 金元证券 12 | K 开源证券 13 | L 联讯证券 联储证券 14 | M 族证券 模拟炒股 民生证券 15 | P 平安证券 16 | S 申港证券 申万宏源(原申万) 首创证券 申万宏源(原宏源) 世纪证券 山西证券 上海证券 17 | T 天风证券 太平洋证券 18 | W 网信证券 万联证券 五矿证券 万和证券 19 | X 信达证券 西南证券 兴业证券 湘财证券 20 | Y 银河证券 银泰证券 21 | Z 中泰证券 中投证券 中天证券 中山证券 中银国际 中信浙江 中信证券 中金证券 中邮证券 中原证券 浙商证券 22 | ``` 23 | ## 安装和使用 24 | ##### 1、将thstrade或haitong_release(海通)下载至您的电脑中; 25 | ##### 2、打开order_engine.ini 26 | ###### 填上已经开通的token,格式为(XXXXX为资金账号): 27 | token=THS_XXXXX 28 | 注意:XXXXX可能是很长的试用账号 29 | 如果是海通证券,则: 30 | token=HT_XXXXX 31 | ###### 如果有必要修改默认端口号,比如: 32 | http_port=12960 33 | ##### 3、从桌面创建快捷方式,或者从ThsEngine.exe启动 34 | ##### 4、添加已经开通的券商和资金账号,并且登录,选择记住并且自动登录 35 | ##### 5、启动后会自动弹出一个小窗口,可以设置Rest服务端口号,也可以禁用服务,注意: 36 | ###### 接口服务开启的时候,界面不可操作,操作界面需要禁用接口! 37 | ## 交易接口API 38 | ##### 本接口以Rest服务的方式调用,Rest地址为: 39 | http://localhost:12960,端口修改成你自己设定的; 40 | 41 | ##### 返回为json数据。 42 | 统一的错误格式: 43 | ``` 44 | { 45 | "msg" : "sample message", 46 | "status" : "ERROR" 47 | } 48 | status为ERROR 49 | ``` 50 | #### 委托下单 51 | ``` 52 | /placeorder?symbol=SZ002018&price=1.00&volume=100&type=B // 普通账户 53 | ``` 54 | ``` 55 | /placeorder?symbol=SZ002018&price=1.00&volume=100&type=B&credit=dbmr // 信用账号 56 | ``` 57 | ``` 58 | symbol:证券代码,前缀 SH-上海,SZ-深圳 59 | price: 委托价格,(普通账号:-1为市价委托) 60 | volume:委托数量,单位股 61 | type:委托方式,B-买,S-卖 62 | credit: 担保品买入:dbmr, 担保品卖出dbmc, 融资买入:rzmr,融券卖出:rqmc,买券还券:mqhq,卖券还款:mqhk 63 | ``` 64 | 返回值为Json格式 65 | ``` 66 | 成功的格式: 67 | { 68 | "order_id" : "xxxx", // 合同编号 69 | "status" : "OK" 70 | } 71 | ``` 72 | #### 撤单 73 | ``` 74 | /cancelorder?orderid=xxx 75 | ``` 76 | 返回值为Json格式 77 | 78 | 成功的格式: 79 | ``` 80 | { 81 | "msg" : "order_id", 82 | "status" : "OK" 83 | } 84 | ``` 85 | #### 查询委托 86 | ``` 87 | /orders 88 | ``` 89 | 成功的格式: 90 | ``` 91 | { 92 | "data" : [ 93 | { 94 | "datetime" : "2018110523:08:52", // 委托时间 95 | "dealt_amount" : 0.0, // 成交量 96 | "dealt_price" : 0.0, // 成交价 97 | "order_id" : "207", // 委托编号 98 | "order_price" : 2.6000000000000001, // 委托价格 99 | "order_state" : "未报", // 状态:未报,已报,已成,已撤。。。等 100 | "order_type" : "证券买入", // 委托类型,买入/卖出 101 | "order_volume" : 100, // 委托数量,单位(股) 102 | "stock_account" : "A587641175", // 股东账号 103 | "stock_code" : "510050", // 证券代码 104 | "stock_name" : "50ETF", // 证券名称 105 | "stock_type" : "上海A股" // 证券类型 106 | } 107 | ], 108 | "status" : "OK" 109 | } 110 | ``` 111 | #### 查询持仓 112 | ``` 113 | /positions 114 | ``` 115 | 成功的格式: 116 | ``` 117 | { 118 | "data" : [ 119 | { 120 | "cost_price" : 2.8279999999999998, //成本价 121 | "cost_value" : 257.82999999999998, //买入市值 122 | "curr_profit" : -23.399999999999999, //浮盈 123 | "index" : 0, //序号 124 | "market" : "SH", //市场 125 | "market_value" : 259.39999999999998, //当前市值 126 | "profit_ratio" : -8.2743990000000007, //盈亏率 127 | "stock_code" : "510050", //代码 128 | "stock_name" : "50ETF", //名称 129 | "stock_type" : "上海A股", //股票类型 130 | "vol_actual" : 100, //实际数量 131 | "vol_evenup" : 100, //可卖数量 132 | "vol_hold" : 100, //持股数量 133 | "vol_remain" : 100 //股票余额 134 | }, 135 | ], 136 | "status" : "OK" 137 | } 138 | ``` 139 | #### 查询资金账户 140 | ``` 141 | /account 142 | ``` 143 | 成功的格式: 144 | ``` 145 | { 146 | "data" : { 147 | "asset_account" : "5207707", // 资金账号 148 | "free_amount" : "", // 资金余额 149 | "free_capital" : "-526.90", // 可取金额 150 | "frozen_capital" : "", // 冻结金额 151 | "position_profit" : "-24.50", // 持仓盈亏 152 | "stock_cw" : "0.00", // 153 | "stock_market_value" : "526.90", // 股票总市值 154 | "today_profit" : "------", // 当日盈亏 155 | "total_asset" : "", // 总资产 156 | "total_capital" : "" // 可用金额 157 | }, 158 | "status" : "OK" 159 | } 160 | ``` 161 | -------------------------------------------------------------------------------- /thstrade-newversion.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade-newversion.zip -------------------------------------------------------------------------------- /thstrade/Log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/Log.txt -------------------------------------------------------------------------------- /thstrade/MyToolLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/MyToolLib.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__100_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__100_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__11_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__11_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__124_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__124_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__125_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__125_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__127_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__127_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__12_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__12_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__134_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__134_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__137_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__137_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__13_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__13_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__15_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__15_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__16_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__16_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__196_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__196_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__22_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__22_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__23_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__23_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__25_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__25_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__27_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__27_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__30_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__30_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__322_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__322_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__331_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__331_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__340_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__340_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__349_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__349_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__352_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__352_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__356_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__356_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__55_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__55_0.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__55_1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__55_1.dll -------------------------------------------------------------------------------- /thstrade/RES/RES__75_0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/RES__75_0.dll -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve.pkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve.pkg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/assetcurve.ini: -------------------------------------------------------------------------------- 1 | [version] 2 | ver=2.0.5 -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/css/condition_main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/css/condition_main.css -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/css/style.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | html{overflow: hidden;} 4 | body,input,ul,p {margin:0;padding:0;} 5 | body{font:14px/1.2 "SimSun","WenQuanYi Micro Hei",sans-serif;color:#313131;} 6 | input,table,tr,td {border:0;} 7 | input::-ms-clear {display:none;width:0;height:0;} 8 | table {border-collapse: collapse;border-spacing: 0;} 9 | ul{list-style: none;} 10 | a,a:hover,a:active,a:visited {text-decoration: none;} 11 | td { white-space: nowrap; } 12 | 13 | th{ height:26px; font-weight:normal; } 14 | .zjgp-table .table-head,.zjgp-table .table-body{ width:100%; } 15 | .zjzl-zjzh { 16 | padding-top: 0px; 17 | padding-left: 20px; 18 | font-size:13px; 19 | font-weight:bold; 20 | font-family:'SimSun'; 21 | color:#3b3b3b; 22 | visibility:hidden 23 | } 24 | 25 | .zjzl-time { 26 | padding-top:24px; 27 | padding-right:10px; 28 | font-size:12px; 29 | font-family:'SimSun'; 30 | color:#d9d9d9; 31 | text-align:right; 32 | visibility:hidden 33 | } 34 | 35 | .zjzl-four-text{ 36 | padding:5px 5px 5px 20px; 37 | font-size:11px; 38 | text-align:left; 39 | Font-family:'SimSun'; 40 | font-size:12px 41 | } 42 | .zjzl-text{ 43 | padding:5px 20px 5px 0px; 44 | text-align:left; 45 | font-family:'SimSun'; 46 | font-size:14px; 47 | color:#ff3b3b 48 | } 49 | 50 | .rect{ 51 | font-family:verdana;width:99%;border:0px solid #9B9B9B; 52 | } 53 | 54 | .rect-head{ 55 | font-family:verdana;width:100%;border:0px solid #9B9B9B; 56 | } 57 | 58 | .rect-head-text{ 59 | font-size:14px; 60 | line-height:35px; 61 | vertical-align:middle; 62 | margin-left:0px; 63 | font-weight:bold; 64 | font-family:'SimSun'; 65 | float:left 66 | } 67 | 68 | .timeswitch ul li{ 69 | width:40px; 70 | font-size:10px; 71 | font-family:'SimSun'; 72 | text-align:center; 73 | cursor:pointer; 74 | color:#5080a3 75 | } 76 | .timeswitch ul .cur{background:#d0f7ff; color:#32a0ef;} 77 | 78 | #hide-all, #hide-over-stock{ 79 | position:absolute; 80 | left:0px;top:0px; 81 | background-color:#ffffff; 82 | width:100%; 83 | height:410px; 84 | filter:alpha(opacity=50); 85 | opacity: 0.50; 86 | display:none; 87 | z-index:99 88 | } 89 | 90 | #load-all{ 91 | position:absolute; 92 | left:0px;top:0px; 93 | background-color:#ffffff; 94 | width:100%; 95 | height:410px; 96 | filter:alpha(opacity=50); 97 | opacity: 0.50; 98 | display:none; 99 | z-index:3 100 | } 101 | 102 | .hide-all-text{ 103 | position:absolute; 104 | left:20%;top:45%; 105 | font-size:24px; 106 | font-weight:normal; 107 | } 108 | 109 | .over-stock{ 110 | position:absolute; 111 | left:10%;top:45%; 112 | font-size:24px; 113 | font-weight:normal; 114 | } 115 | 116 | .load-all-text{ 117 | position:absolute; 118 | left:35%;top:45%; 119 | font-size:24px; 120 | font-weight:normal; 121 | } 122 | 123 | .hide-drzjqx-loading{ 124 | position:absolute; 125 | left:25%;top:39%; 126 | } 127 | 128 | .all-loading{ 129 | position:absolute; 130 | left:29%;top:45%; 131 | 132 | } 133 | 134 | .hide-drzjqx-tip1{ 135 | position:absolute; 136 | left:22%;top:35%; 137 | font-size:18px; 138 | font-weight:bold; 139 | color:#3b3b3b; 140 | font-family:'SimSun'; 141 | } 142 | 143 | .hide-drzjqx-tip2{ 144 | position:absolute; 145 | left:33%;top:50%; 146 | font-size:18px; 147 | font-weight:bold; 148 | color:#3b3b3b; 149 | font-family:'SimSun'; 150 | } 151 | 152 | .hide-drzjqx-lod{ 153 | position:absolute; 154 | left:32%;top:40%; 155 | font-size:18px; 156 | font-weight:bold; 157 | color:#3b3b3b; 158 | font-family:'SimSun'; 159 | } 160 | 161 | .hide-drzjqx-ldf{ 162 | position:absolute; 163 | left:32%;top:40%; 164 | font-size:18px; 165 | font-weight:bold; 166 | color:#3b3b3b; 167 | font-family:'SimSun'; 168 | } 169 | 170 | .hide-drzjqx-cnt{ 171 | position:absolute; 172 | left:28%;top:40%; 173 | font-size:18px; 174 | font-weight:bold; 175 | color:#3b3b3b; 176 | font-family:'SimSun'; 177 | } 178 | 179 | .hide-drzjqx-notspt{ 180 | position:absolute; 181 | left:35%;top:40%; 182 | font-size:18px; 183 | font-weight:bold; 184 | color:#3b3b3b; 185 | font-family:'SimSun'; 186 | } 187 | 188 | .hide-drzjqx-tip3{ 189 | position:absolute; 190 | left:25%;top:40%; 191 | font-size:18px; 192 | font-weight:bold; 193 | color:#3b3b3b; 194 | font-family:'SimSun'; 195 | } 196 | 197 | .hide-drzjqx-cancel{ 198 | position:absolute; 199 | left:25%;top:65%; 200 | background-color:#ffffff; 201 | border:2px solid #404040; 202 | font-size:15px; 203 | width:90px; 204 | height:30px; 205 | color:#404040; 206 | font-weight:bold; 207 | font-family:'SimSun'; 208 | cursor:pointer; 209 | } 210 | 211 | .hide-retry-cancel{ 212 | position:absolute; 213 | left:25%;top:60%; 214 | background-color:#ffffff; 215 | border:2px solid #404040; 216 | font-size:15px; 217 | width:90px; 218 | height:30px; 219 | color:#404040; 220 | font-weight:bold; 221 | font-family:'SimSun'; 222 | cursor:pointer; 223 | } 224 | 225 | .hide-drzjqx-return{ 226 | position:absolute; 227 | left:41%;top:60%; 228 | background-color:#ffffff; 229 | border:2px solid #404040; 230 | font-size:15px; 231 | width:90px; 232 | height:30px; 233 | color:#404040; 234 | font-weight:bold; 235 | font-family:'SimSun'; 236 | cursor:pointer; 237 | } 238 | 239 | .hide-drzjqx-yes{ 240 | position:absolute; 241 | left:55%;top:65%; 242 | background-color:#ffffff; 243 | border:2px solid #404040; 244 | font-size:15px; 245 | width:90px; 246 | height:30px; 247 | color:#404040; 248 | font-weight:bold; 249 | font-family:'SimSun'; 250 | cursor:pointer; 251 | } 252 | 253 | .hide-retry-yes{ 254 | position:absolute; 255 | left:53%;top:60%; 256 | background-color:#ffffff; 257 | border:2px solid #404040; 258 | font-size:15px; 259 | width:90px; 260 | height:30px; 261 | color:#404040; 262 | font-weight:bold; 263 | font-family:'SimSun'; 264 | cursor:pointer; 265 | } 266 | 267 | .hide-get-retry{ 268 | position:absolute; 269 | left:37%;top:60%; 270 | background-color:#ffffff; 271 | border:2px solid #404040; 272 | font-size:15px; 273 | width:90px; 274 | height:30px; 275 | color:#404040; 276 | font-weight:bold; 277 | font-family:'SimSun'; 278 | cursor:pointer; 279 | } 280 | 281 | .table-head-center{ 282 | font-size:12px; 283 | font-family:'SimSun', 284 | color:#3b3b3b, 285 | text-align:center 286 | } 287 | 288 | .table-head-left{ 289 | font-size:12px; 290 | font-family:'SimSun', 291 | color:#3b3b3b, 292 | text-align:left 293 | } 294 | 295 | .table-head-right{ 296 | font-size:12px; 297 | font-family:'SimSun', 298 | color:#3b3b3b, 299 | text-align:right 300 | } 301 | 302 | .table-head-none{ 303 | font-size:12px; 304 | font-family:'SimSun', 305 | color:#3b3b3b, 306 | } 307 | 308 | #hide-drzjqx, #hide-drzjqx-loading, #hide-drzjqx-loadfailed, #hide-drzjqx-connectfailed, #hide-drzjqx-notsupport, #hide-drzjqx-getfailed{ 309 | position:absolute; 310 | left:27%;top:0px; 311 | background-color:#ffffff; 312 | width:72%; 313 | height:230px; 314 | filter:alpha(opacity=50); 315 | opacity: 0.50; 316 | display:none; 317 | z-index:2 318 | } 319 | 320 | #drzjqx{ 321 | background-color:#FFFFFF; 322 | width:72%; 323 | float:right 324 | } 325 | 326 | #content{ 327 | z-index:1; 328 | width:100% 329 | } 330 | 331 | #zjzl{ 332 | background-color:#FFFFFF; 333 | width:27%; 334 | float:left; 335 | } 336 | 337 | .img-zhzl{ 338 | padding:10px 10px 10px 10px; 339 | cursor:pointer 340 | } 341 | 342 | .img-zhzl-nopointer{ 343 | float:left; 344 | padding:10px 10px 10px 10px; 345 | } 346 | 347 | .drzjqx-text{ 348 | font-size:12px; 349 | font-family:'SimSun'; 350 | color:#515050; 351 | float:left 352 | } 353 | 354 | #guide{ 355 | position:absolute; 356 | left:0px;top:0px; 357 | background-color:#ffffff; 358 | width:100%; 359 | height:100%; 360 | display:none; 361 | z-index:999999 362 | } 363 | 364 | .img-iknow{ 365 | width:150px; 366 | height:60px; 367 | position:absolute; 368 | top:340px; 369 | left:490px 370 | } 371 | 372 | ::-webkit-scrollbar{ 373 | width:8px; 374 | height:8px; 375 | background-color:#f1f1f1 376 | } 377 | 378 | ::-webkit-scrollbar-thumb{ 379 | border-radius:8px; 380 | background-color:#c1c1c1 381 | } 382 | 383 | #nav img{ cursor:pointer;} 384 | #nav li{display:block; line-height:20px;color:#515050;font-size:12px; 385 | font-family:'SimSun';width:90px;text-align:center} 386 | #nav div{position:absolute;right: 38px;top:60px;display:none; border:1px solid #d9d9d9;z-index:999;background-color:#ffffff} -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/drop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/drop.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/guide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/guide.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/guide_ie6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/guide_ie6.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/help.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/iknow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/iknow.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/loading.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/tprofit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/tprofit.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/zhzl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/zhzl.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/zjgp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/zjgp.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/zjqx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/zjqx.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/img/zjzl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/assetcurve/img/zjzl.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/assetcurve/js/main_scroll.js: -------------------------------------------------------------------------------- 1 | document.write(' '); 2 | 3 | var nMouseBeginPos = 0; 4 | var nVBarBeginTop = 0; 5 | 6 | function InitScroll() 7 | { 8 | var eleVBar = document.getElementById("vbar"); 9 | 10 | unbind(document,"mouseup", mouseUp); 11 | unbind(eleVBar,"mousedown", mouseDown); 12 | unbind(document,"selectstart", selectstart); 13 | 14 | unbind(document, "mousemove", mouseMoved); 15 | if(isNeedSetCapture()) 16 | { 17 | eleVBar.releaseCapture(); 18 | } 19 | 20 | nMouseBeginPos = 0; 21 | nVBarBeginTop = 0; 22 | 23 | BindEvents(); 24 | OnMouseWheel("frame"); 25 | } 26 | 27 | function mouseMoved(e) 28 | { 29 | var strDivId = "frame"; 30 | var eleDiv = document.getElementById(strDivId); 31 | var eleVScroll = document.getElementById("vscroll"); 32 | var eleVBar = document.getElementById("vbar"); 33 | 34 | var evt = e || event; 35 | 36 | var nMouseEndPos = evt.clientY; 37 | var nVBarEndTop = nMouseEndPos - nMouseBeginPos + nVBarBeginTop; 38 | 39 | if(nVBarEndTop > (eleVScroll.offsetHeight - eleVBar.offsetHeight)) 40 | { 41 | nVBarEndTop = eleVScroll.offsetHeight - eleVBar.offsetHeight; 42 | } 43 | if(nVBarEndTop <= 0) 44 | { 45 | nVBarEndTop = 0; 46 | } 47 | 48 | eleVBar.style.top = nVBarEndTop + "px"; 49 | eleDiv.style.top = -nVBarEndTop * (eleDiv.offsetHeight / eleVScroll.offsetHeight) + "px"; 50 | 51 | if(g_nWheelBeginPos != nVBarEndTop) 52 | { 53 | g_bScrolled = true; 54 | } 55 | 56 | g_nWheelBeginPos = nVBarEndTop; 57 | } 58 | 59 | function mouseDown(e) { 60 | var evt= e || event; 61 | 62 | var eleVBar = document.getElementById("vbar"); 63 | 64 | nMouseBeginPos = evt.clientY; 65 | nVBarBeginTop = eleVBar.offsetTop; 66 | 67 | bind(document,"mousemove", mouseMoved); 68 | if(isNeedSetCapture()) 69 | { 70 | eleVBar.setCapture(); 71 | } 72 | } 73 | 74 | function mouseUp(e) { 75 | var evt= e || event; 76 | 77 | var eleVBar = document.getElementById("vbar"); 78 | 79 | g_bScrolled = false; 80 | 81 | unbind(document, "mousemove", mouseMoved); 82 | if(isNeedSetCapture()) 83 | { 84 | eleVBar.releaseCapture(); 85 | } 86 | } 87 | 88 | function selectstart() 89 | { 90 | return false; 91 | } 92 | 93 | function mouseLeave() 94 | { 95 | if(!g_bScrolled) 96 | { 97 | g_bScrolled = false; 98 | unbind(document, "mousemove", mouseMoved); 99 | 100 | if(isNeedSetCapture()) 101 | { 102 | var eleVBar = document.getElementById("vbar"); 103 | eleVBar.releaseCapture(); 104 | } 105 | } 106 | } 107 | 108 | function BindEvents() 109 | { 110 | var eleVBar = document.getElementById("vbar"); 111 | 112 | bind(document,"mouseup", mouseUp); 113 | bind(eleVBar,"mousedown", mouseDown); 114 | bind(document,"selectstart", selectstart); 115 | 116 | document.getElementById("vscroll_ctrl_up").onclick = function(e) 117 | { 118 | var strDivId = "frame"; 119 | var eleDiv = document.getElementById(strDivId); 120 | var eleVScroll = document.getElementById("vscroll"); 121 | var eleVBar = document.getElementById("vbar"); 122 | var nVBarBeginTop = eleVBar.offsetTop; 123 | var nVBarEndTop = nVBarBeginTop - g_nRowHeight * (eleVScroll.offsetHeight / eleDiv.offsetHeight); 124 | 125 | if(nVBarEndTop <= 0) 126 | { 127 | nVBarEndTop = 0; 128 | } 129 | 130 | eleVBar.style.top = nVBarEndTop + "px"; 131 | eleDiv.style.top = -nVBarEndTop * (eleDiv.offsetHeight / eleVScroll.offsetHeight) + "px"; 132 | g_nWheelBeginPos = nVBarEndTop; 133 | } 134 | 135 | document.getElementById("vscroll_ctrl_up").onmouseover = function() 136 | { 137 | this.style.background = "url('./images/ctrl_up_press.png') no-repeat"; 138 | } 139 | document.getElementById("vscroll_ctrl_up").onmouseout = function() 140 | { 141 | this.style.background = "url('./images/ctrl_up_normal.png') no-repeat"; 142 | } 143 | 144 | document.getElementById("vscroll_ctrl_down").onclick = function(e) 145 | { 146 | var strDivId = "frame"; 147 | var eleDiv = document.getElementById(strDivId); 148 | var eleVScroll = document.getElementById("vscroll"); 149 | var eleVBar = document.getElementById("vbar"); 150 | var nVBarBeginTop = eleVBar.offsetTop; 151 | var nVBarEndTop = nVBarBeginTop + g_nRowHeight * (eleVScroll.offsetHeight / eleDiv.offsetHeight); 152 | 153 | if(nVBarEndTop >= (eleVScroll.offsetHeight - eleVBar.offsetHeight)) 154 | { 155 | nVBarEndTop = eleVScroll.offsetHeight - eleVBar.offsetHeight; 156 | } 157 | 158 | eleVBar.style.top = nVBarEndTop + "px"; 159 | eleDiv.style.top = -nVBarEndTop * (eleDiv.offsetHeight / eleVScroll.offsetHeight) + "px"; 160 | g_nWheelBeginPos = nVBarEndTop; 161 | } 162 | 163 | document.getElementById("vscroll_ctrl_down").onmouseover = function() 164 | { 165 | this.style.background = "url('./images/ctrl_down_press.png') no-repeat"; 166 | } 167 | document.getElementById("vscroll_ctrl_down").onmouseout = function() 168 | { 169 | this.style.background = "url('./images/ctrl_down_normal.png') no-repeat"; 170 | } 171 | } 172 | 173 | function ResizeVBar() 174 | { 175 | var eleDiv = document.getElementById("frame"); 176 | var eleDivContainer = document.getElementById("frame_container"); 177 | var eleVScroll = document.getElementById("vscroll"); 178 | var eleVBar = document.getElementById("vbar"); 179 | 180 | var nDivHeight = eleDiv.offsetHeight 181 | var nDivContainerHeight = eleVScroll.offsetHeight; 182 | var nVScrollHeight = eleVScroll.offsetHeight; 183 | 184 | if(nDivHeight <= nVScrollHeight) 185 | { 186 | document.getElementById("vscroll_container").style.visibility = "hidden"; 187 | } 188 | else 189 | { 190 | eleVBar.style.height = parseInt(nVScrollHeight * (nDivContainerHeight / nDivHeight)) + "px"; 191 | eleVBar.style.top = parseInt(nVScrollHeight * (-eleDiv.offsetTop / nDivHeight)) + "px"; 192 | 193 | document.getElementById("vscroll_container").style.visibility = "visible"; 194 | } 195 | } 196 | 197 | function ResizeHBar() 198 | { 199 | var strDivId = "frame"; 200 | var eleDiv = document.getElementById(strDivId); 201 | var eleDivContainer = document.getElementById(strDivId + "_container"); 202 | var eleRow = document.getElementById(strDivId + "_row"); 203 | var eleHScroll = document.getElementById("hscroll"); 204 | var eleHBar = document.getElementById("hbar"); 205 | 206 | if(g_bHScroll) 207 | { 208 | var nDivWidth = eleDiv.offsetWidth; 209 | var nDivContainerWidth = eleDivContainer.offsetWidth; 210 | var nHScrollWidth = eleHScroll.offsetWidth; 211 | var nLeftBegin = eleHBar.offsetLeft; 212 | 213 | eleHBar.style.width = parseInt(nHScrollWidth * (nDivContainerWidth / nDivWidth)) + "px"; 214 | if(g_bResetScroll) 215 | { 216 | eleHBar.style.left = "0px"; 217 | eleDiv.style.left = "0px"; 218 | eleRow.style.left = "0px"; 219 | } 220 | else 221 | { 222 | eleHBar.style.left = parseInt(nHScrollWidth * (-eleDiv.offsetLeft / nDivWidth)) + "px"; 223 | } 224 | } 225 | } 226 | 227 | function OnMouseWheel(strDivId) 228 | { 229 | var eleContainer = document.getElementById(strDivId + "_container"); 230 | var eleDiv = document.getElementById(strDivId); 231 | var eleVScroll = document.getElementById("vscroll"); 232 | var eleVBar = document.getElementById("vbar"); 233 | 234 | var node = typeof eleContainer == "string" ? $(eleContainer) : eleContainer; 235 | var nWheelEndPos = 0, nWheelPos=0; 236 | if(node) 237 | { 238 | MouseWheel(node, function(nDelta){ 239 | if(document.getElementById("vscroll_container").style.visibility == "hidden") 240 | { 241 | eleDiv.style.top = "0px"; 242 | return; 243 | } 244 | 245 | if(!nDelta || typeof(nDelta) == 'undefined' || isNaN(nDelta)) 246 | { 247 | return; 248 | } 249 | 250 | nWheelPos += nDelta; 251 | 252 | if(g_nWheelBeginPos >= 0) 253 | { 254 | nWheelEndPos = g_nWheelBeginPos; 255 | eleVBar.style.top = nWheelEndPos + "px"; 256 | nWheelPos = g_nWheelBeginPos * 12; 257 | g_nWheelBeginPos = -1; 258 | } 259 | else 260 | { 261 | nWheelEndPos = nWheelPos / 12; 262 | } 263 | if(nWheelEndPos <= 0) 264 | { 265 | nWheelEndPos = 0; 266 | nWheelPos = 0; 267 | } 268 | if(nWheelEndPos >= (eleVScroll.offsetHeight - eleVBar.offsetHeight)) 269 | { 270 | nWheelEndPos = (eleVScroll.clientHeight - eleVBar.offsetHeight); 271 | nWheelPos = (eleVScroll.clientHeight - eleVBar.offsetHeight) * 12; 272 | } 273 | 274 | if(eleVScroll.offsetHeight > 0) 275 | { 276 | eleVBar.style.top = nWheelEndPos + "px"; 277 | eleDiv.style.top = -nWheelEndPos * (eleDiv.offsetHeight / eleVScroll.offsetHeight) + "px"; 278 | } 279 | }); 280 | } 281 | } 282 | 283 | function bind(obj, type, handler){ 284 | var node = typeof obj == "string" ? $(obj) : obj; 285 | if(node.addEventListener) 286 | { 287 | node.addEventListener(type, handler, false); 288 | } 289 | else if(node.attachEvent) 290 | { 291 | node.attachEvent('on'+type,handler); 292 | } 293 | else 294 | { 295 | node['on' + type] = handler; 296 | } 297 | } 298 | 299 | function unbind(obj, type, handler){ 300 | var node = typeof obj == "string" ? $(obj) : obj; 301 | if(node.removeEventListener) 302 | { 303 | node.removeEventListener(type, handler, false); 304 | } 305 | else if(node.detachEvent) 306 | { 307 | node.detachEvent('on'+type,handler); 308 | } 309 | else 310 | { 311 | node['on' + type] = null; 312 | } 313 | } 314 | 315 | function MouseWheel(obj, handler){ 316 | var node = typeof obj == "string" ? $(obj) : obj; 317 | bind(node, 'mousewheel', function(event){ 318 | var nDelta = -GetWheelDelta(event); 319 | handler(nDelta); 320 | if(document.all) 321 | { 322 | window.event.returnValue = false; 323 | } 324 | else 325 | { 326 | event.preventDefault(); 327 | } 328 | }); 329 | 330 | function GetWheelDelta(event){ 331 | var e = event || window.event; 332 | return e.wheelDelta ? e.wheelDelta : e.detail * 40; 333 | } 334 | } 335 | 336 | function isNeedSetCapture(){ 337 | var usrAgt = navigator.userAgent; 338 | var isIE = usrAgt.indexOf("compatible") > -1 && usrAgt.indexOf("MSIE") > -1; 339 | 340 | if (isIE) { 341 | var reIE = new RegExp("MSIE (\\d+\\.\\d+);"); 342 | reIE.test(usrAgt); 343 | var fIEVersion = RegExp["$1"]; 344 | 345 | if (fIEVersion == 7) 346 | { 347 | if(usrAgt.indexOf("Trident") < 0) 348 | { 349 | return true; 350 | } 351 | 352 | var reTrident = new RegExp("Trident/(\\S+)[);]"); 353 | reTrident.test(usrAgt); 354 | 355 | var tridentVer = RegExp["$1"]; 356 | 357 | if(parseInt(tridentVer) < 5) 358 | { 359 | return true; 360 | } 361 | } 362 | } 363 | 364 | return false; 365 | 366 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/auser.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/auser.dat -------------------------------------------------------------------------------- /thstrade/RES/Zyy/comm.pkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/comm.pkg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/comm/adapter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/comm/adapter.js -------------------------------------------------------------------------------- /thstrade/RES/Zyy/comm/hxcomm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 核新客户端调用接口公共文件 3 | */ 4 | 5 | document.write(''); 6 | 7 | ////////////////////////////////////////////////// 8 | // 客户端框架和JS接口调用 9 | ////////////////////////////////////////////////// 10 | function fnIsOurCustomBrowser() 11 | { 12 | if(window.external.CB_IsOurCustomBrowser != null) 13 | { 14 | return true; 15 | } 16 | else 17 | { 18 | return false; 19 | } 20 | } 21 | 22 | // 用一个变量检验是否是自定义浏览器. 23 | bIsCustomBrowser = fnIsOurCustomBrowser(); 24 | bUseCefBrowser = false; 25 | if(window.cefQuery) 26 | { 27 | bUseCefBrowser = fnFunctionCef('CB_Function','is_use_cefbrowser'); 28 | } 29 | 30 | if(!bUseCefBrowser && !bIsCustomBrowser) 31 | { 32 | // 检查到不是自定义浏览器,你可以做一些处理例如转到其他页面 33 | // 这里只是警告 34 | alert('为了显示正常,你必须使用自定义浏览器.'); 35 | } 36 | 37 | // 获取用户数据 38 | function fnGetUserData(name) 39 | { 40 | if(bIsCustomBrowser) 41 | { 42 | return window.external.CB_GetUserData(name); 43 | } 44 | return ""; 45 | } 46 | 47 | // 获取用户数据函数 48 | function fnGetUserDataEx(param1, param2) 49 | { 50 | if(bIsCustomBrowser) 51 | { 52 | return window.external.CB_Function(param1, param2); 53 | } 54 | return ""; 55 | } 56 | 57 | function fnCallFunction() 58 | { 59 | // 在自定义浏览器里面调用C++函数 60 | if(bIsCustomBrowser) 61 | { 62 | window.external.CB_CustomFunction(); 63 | } 64 | } 65 | 66 | function fnCallFunctionWithParams(str1, str2, type) 67 | { 68 | // 在自定义浏览器里面调用带有参数的C++函数 69 | if(bIsCustomBrowser) 70 | { 71 | if (type == 'standard') // 调用接口标准请求 72 | { 73 | window.external.CB_Request(str1, str2); 74 | return 75 | } 76 | // 调用L扩展请求 默认为L-0 77 | window.external.CB_RequestDT(str1, str2); 78 | } 79 | } 80 | 81 | // 框架功能调用 82 | function fnFunction(op, param) 83 | { 84 | if(bUseCefBrowser) 85 | { 86 | return fnFunctionCef('CB_Function',op, param); 87 | } 88 | if(bIsCustomBrowser) 89 | { 90 | return window.external.CB_Function(op, param); 91 | } 92 | return "不支持该调用"; 93 | } 94 | 95 | function fnFunctionCef(method,op, param) 96 | { 97 | var xmlHttp = new XMLHttpRequest(); 98 | var param = 'method=' + method + '@@@' + 'operate=' + op + '@@@' + 'param=' + param + '@@@'; 99 | 100 | xmlHttp.open('POST', 'http://xiadan/', false); 101 | xmlHttp.send(param); 102 | 103 | return xmlHttp.responseText; 104 | } 105 | 106 | function fnRequest(op, param) 107 | { 108 | if(bUseCefBrowser) 109 | { 110 | return fnFunctionCef('CB_Request',op, param); 111 | } 112 | if(bIsCustomBrowser) 113 | { 114 | return window.external.CB_Request(op, param); 115 | } 116 | return "不支持该调用"; 117 | } 118 | function fnGetAccountBalance() 119 | { 120 | if(bIsCustomBrowser) 121 | { 122 | return window.external.CB_DoGetZijin(''); 123 | } 124 | return "不支持该调用"; 125 | } 126 | // 按市场取股东账户 127 | function fnGetGDZHBySetCode(setcode) 128 | { 129 | return fnFunction("get_account", setcode); 130 | } 131 | 132 | function fnGetGDZH(strUserKey, strSetCode) 133 | { 134 | write_html_log("**********hxcomm.js********fnGetGDZH函数开始IsDssgVersion() = " + IsDssgVersion()); 135 | var bDssgVersion = IsDssgVersion(); 136 | if (bDssgVersion) 137 | { 138 | var objParam = {}; 139 | objParam["userkey"] = strUserKey; 140 | objParam["setcode"] = strSetCode; 141 | var strParam = window.JSON.stringify(objParam); 142 | 143 | return fnFunction("get_gdzh", strParam); 144 | } 145 | else 146 | { 147 | return fnGetGDZHBySetCode(strSetCode); 148 | } 149 | } 150 | 151 | // 设置窗口标题 152 | function fnSetWinCaption(title) 153 | { 154 | return fnFunction("set_caption", title); 155 | } 156 | 157 | // 菜单跳转 158 | function fnMenuJump(menuid) 159 | { 160 | fnFunction('send_message', "message=273\nparam1=" + menuid + '\n' ); 161 | } 162 | 163 | // 打开接口返回多行数据转换为json数据功能 164 | function fnEnableJson() 165 | { 166 | fnFunction("enable_json", "1"); 167 | } 168 | 169 | //查询最新价格 170 | function fnGetHQPrice(param) 171 | { 172 | return fnFunction('reg_push_hq_zxjg', param); 173 | } 174 | 175 | // 获得买卖盘信息 176 | function fnGetHQMmp(param) 177 | { 178 | return fnFunction('get_hq_mmp', param); 179 | } 180 | 181 | // Base64解码 182 | function fnDecodeBase64ex(param) 183 | { 184 | return fnFunction('decode_base64ex', param); 185 | } 186 | 187 | // Base64编码 188 | function fnEncodeBase64ex(param) 189 | { 190 | return fnFunction('encode_base64ex', param); 191 | } 192 | 193 | // 调用弹出消息窗口 194 | function fnShowMsgBox(msg) 195 | { 196 | fnFunction("show_messagebox", msg); 197 | } 198 | 199 | // 调用弹出确认/取消窗口 200 | function fnShowYesNoMsgBox(msg) 201 | { 202 | return fnFunction("show_yesno", msg); 203 | } 204 | 205 | // 调用显示显示大量数据带滚动条的窗口 206 | // msg格式为:"caption=value1\nbigmsg=value2\ntext=value3\nshow_yesno=value4\nyes_text=value5\nno_text=value6\n" 207 | // 其中bigmsg设为1,显示大量文本 208 | // show_yesno设为1,显示按钮 209 | // text为需要显示的文本,需要进行base64编码 210 | function fnShowBigMsgBox(msg, caption, url, show_yesno, yes_text, no_text, show_check, check_text, check_relation) 211 | { 212 | if (typeof msg == 'undefined') msg = ""; 213 | if (typeof caption == 'undefined') caption = ""; 214 | if (typeof url == 'undefined') url = ""; 215 | if (typeof show_yesno == 'undefined') show_yesno = "1"; 216 | if (typeof yes_text == 'undefined') yes_text = "确 定"; 217 | if (typeof no_text == 'undefined') no_text = "取 消"; 218 | if (typeof show_check == 'undefined') show_check = "0"; 219 | if (typeof check_text == 'undefined') check_text = "阅读并同意协议内容"; 220 | if (typeof check_relation == 'undefined') check_relation = "1"; 221 | return fnFunction("show_bigmsg", "bigmsg=1\nshow_yesno="+ show_yesno + "\ntext=" + msg + "\ncaption=" + caption + "\nyes_text=" + yes_text + "\nno_text=" + no_text + "\nurl=" + url + "\nshow_check=" + show_check + "\ncheck_text=" + check_text + "\ncheck_relation=" + check_relation + "\n"); 222 | } 223 | 224 | function fnOnHideDialog() 225 | { 226 | fnFunction("show_messagebox_ex", "hide=1\n"); 227 | } 228 | 229 | // 调用弹出异步对话框 230 | function fnAsyncMessageBox(msg, callback_func, show_yesno) 231 | { 232 | if (typeof show_yesno == 'undefined') 233 | show_yesno = '1'; 234 | return fnFunction("show_messagebox_ex", "prompt=" + msg + "\nshow_yesno=" + show_yesno + "\nshow_modal=0\ncallback=" + callback_func + "\n"); 235 | } 236 | 237 | // 调用获取客户端配置信息 238 | // section 段名 239 | // key 配置变量名 240 | // defaultValue 默认值 241 | function fnGetConfigData(section, key, defaultValue) 242 | { 243 | if(bIsCustomBrowser) 244 | { 245 | return window.external.CB_GetProfile(section, key, defaultValue); 246 | } 247 | return ""; 248 | } 249 | 250 | // 调用设置xiadan.ini 251 | // section 段名 252 | // key 配置变量名 253 | // defaultValue 默认值 254 | function fnSetConfigData(section, key, defaultValue) 255 | { 256 | if(bIsCustomBrowser) 257 | { 258 | window.external.CB_WriteProfile(section, key, defaultValue); 259 | } 260 | return ""; 261 | } 262 | 263 | ////////////////////////////////////////////////// 264 | // 纯JS公共函数 265 | ////////////////////////////////////////////////// 266 | // 得到页面的大小 267 | function GetPageSize() { 268 | var scrW, scrH; 269 | if(window.innerHeight && window.scrollMaxY) { 270 | // Mozilla 271 | scrW = window.innerWidth + window.scrollMaxX; 272 | scrH = window.innerHeight + window.scrollMaxY; 273 | } else if(document.body.scrollHeight > document.body.offsetHeight){ 274 | // all but IE Mac 275 | scrW = document.body.scrollWidth; 276 | scrH = document.body.scrollHeight; 277 | } else if(document.body) { // IE Mac 278 | scrW = document.body.offsetWidth; 279 | scrH = document.body.offsetHeight; 280 | } 281 | 282 | var winW, winH; 283 | if(window.innerHeight) { // all except IE 284 | winW = window.innerWidth; 285 | winH = window.innerHeight; 286 | } else if (document.documentElement 287 | && document.documentElement.clientHeight) { 288 | // IE 6 Strict Mode 289 | winW = document.documentElement.clientWidth; 290 | winH = document.documentElement.clientHeight; 291 | } else if (document.body) { // other 292 | winW = document.body.clientWidth; 293 | winH = document.body.clientHeight; 294 | } 295 | 296 | // for small pages with total size less then the viewport 297 | var pageW = (scrW value2; 361 | if (sortorder == 'asc') 362 | if (ret) return 1 363 | else return -1 364 | else 365 | if (ret) return -1 366 | else return 1 367 | }); 368 | grid.addData(); 369 | } 370 | 371 | // 包装一层函数,调用绘制表格 372 | function fnFlexigrid(selector, p) 373 | { 374 | // 处理dataSource数据 375 | if (p.dataSource) 376 | { 377 | var data = {}; 378 | data.rows = p.dataSource; 379 | p.dataSource = data; 380 | } 381 | // 循环colModel,设置默认值 382 | $.each(p.colModel, function(key, cm) { 383 | // 设置默认宽度为display的字符长 384 | if (typeof cm.width == 'undefined') 385 | { 386 | cm.width = cm.display.length * 12; 387 | } 388 | // 默认支持排序 389 | if (cm.sortable !== false) 390 | { 391 | cm.sortable = true; 392 | } 393 | // 如果类型为数值型则靠右对齐 394 | if (cm.type && column_type[cm.type]) 395 | { 396 | cm.align = 'right'; 397 | // 浮点型设置默认格式化函数 398 | if (cm.format !== false && (cm.type == 'double' || column_type[cm.type] == 'double')) 399 | cm.format = formatCol_func; 400 | } 401 | }) 402 | // 设置默认排序函数 403 | if (p.sortable !== false && !p.onChangeSort) 404 | p.onChangeSort = changeSort_func; 405 | 406 | // 设置flexigrid属性 407 | $(selector).flexigrid(p); 408 | } 409 | 410 | // 转换客户端表结构中的对齐到js中 411 | function fnGetAlign(num) 412 | { 413 | var ret = 'center'; 414 | switch(num) 415 | { 416 | case "128": 417 | ret = 'right'; 418 | break; 419 | case "0": 420 | ret = 'left'; 421 | break; 422 | } 423 | return ret; 424 | } 425 | 426 | var numReg = /^[-\d\.]+$/; 427 | // 格式化函数 这里只用到格式成固定精度,在生成表头的时候根据配置设置 428 | function formatCol_func(val, p) { 429 | if (typeof val == 'undefined') return ''; 430 | if (!numReg.test(val)) return val; 431 | //~ alert(val + '\r\n' + (Math.round(parseFloat(val)*100)/100).toFixed(p)); 432 | return parseFloat(val).toFixed(p); 433 | } 434 | // 从客户端返回数据中得到表头 435 | function fnGetGridColModel(data, obj) 436 | { 437 | var format_func = formatCol_func; 438 | if (obj && obj.format_func) 439 | format_func = obj.format_func; 440 | var colModel = new Array(); 441 | var len = data.header.length; 442 | //~ alert('data.header.length:' + len) 443 | for (var i=0; i'); 60 | tip.append(''); 61 | tip.append( 62 | $('').append( typeof options.message == "function" ? options.message.call(me, tip) : options.message ) 63 | ); 64 | 65 | tip.css('opacity', 0).hide(); 66 | $('body').append(tip); 67 | 68 | // position the tooltip beside the parent 69 | tip.css('left', pos.left + 20); 70 | if(pos.top + tip.outerHeight() > document.body.clientHeight) 71 | { 72 | tip.css('top', document.body.clientHeight - tip.height() - 10); 73 | } 74 | else 75 | { 76 | tip.css('top', pos.top + me.outerHeight()); 77 | } 78 | 79 | me.data('tinytooltip', tip); 80 | 81 | tip.show().animate({opacity: 1}, 200); 82 | } 83 | 84 | function destroy(me) { 85 | var tip = me.data('tinytooltip'); 86 | 87 | if(tip) { 88 | tip.animate({opacity: 0}, 200, function() { 89 | $(this).remove(); 90 | }); 91 | } 92 | } 93 | }; 94 | 95 | return this; 96 | })(jQuery); 97 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/runinfo.ini: -------------------------------------------------------------------------------- 1 | [NOW] 2 | data=s0:1542772015 3 | [HISTORY] 4 | data= 5 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy.ini: -------------------------------------------------------------------------------- 1 | [27_183588080713_53] 2 | 4=20181121 3 | 3=20181121 4 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy.pkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy.pkg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/DD_belatedPNG.js: -------------------------------------------------------------------------------- 1 | /** 2 | * DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML . 3 | * Author: Drew Diller 4 | * Email: drew.diller@gmail.com 5 | * URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/ 6 | * Version: 0.0.8a 7 | * Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license 8 | * 9 | * Example usage: 10 | * DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector 11 | * DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement 12 | **/ 13 | var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}},createVmlStyleSheet:function(){var b,a;b=document.createElement("style");b.setAttribute("media","screen");document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild);if(b.styleSheet){b=b.styleSheet;b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");b.addRule(this.ns+"\\:shape","position:absolute;");b.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;");this.screenStyleSheet=b;a=document.createElement("style");a.setAttribute("media","print");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);a=a.styleSheet;a.addRule(this.ns+"\\:*","{display: none !important;}");a.addRule("img."+this.ns+"_sizeFinder","{display: none !important;}")}},readPropertyChange:function(){var b,c,a;b=event.srcElement;if(!b.vmlInitiated){return}if(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1){DD_belatedPNG.applyVML(b)}if(event.propertyName=="style.display"){c=(b.currentStyle.display=="none")?"none":"block";for(a in b.vml){if(b.vml.hasOwnProperty(a)){b.vml[a].shape.style.display=c}}}if(event.propertyName.search("filter")!=-1){DD_belatedPNG.vmlOpacity(b)}},vmlOpacity:function(b){if(b.currentStyle.filter.search("lpha")!=-1){var a=b.currentStyle.filter;a=parseInt(a.substring(a.lastIndexOf("=")+1,a.lastIndexOf(")")),10)/100;b.vml.color.shape.style.filter=b.currentStyle.filter;b.vml.image.fill.opacity=a}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){if(this.screenStyleSheet){var c,b;c=a.split(",");for(b=0;bn.H){i.B=n.H}d.vml.image.shape.style.clip="rect("+i.T+"px "+(i.R+a)+"px "+i.B+"px "+(i.L+a)+"px)"}else{d.vml.image.shape.style.clip="rect("+f.T+"px "+f.R+"px "+f.B+"px "+f.L+"px)"}},figurePercentage:function(d,c,f,a){var b,e;e=true;b=(f=="X");switch(a){case"left":case"top":d[f]=0;break;case"center":d[f]=0.5;break;case"right":case"bottom":d[f]=1;break;default:if(a.search("%")!=-1){d[f]=parseInt(a,10)/100}else{e=false}}d[f]=Math.ceil(e?((c[b?"W":"H"]*d[f])-(c[b?"w":"h"]*d[f])):parseInt(a,10));if(d[f]%2===0){d[f]++}return d[f]},fixPng:function(c){c.style.behavior="none";var g,b,f,a,d;if(c.nodeName=="BODY"||c.nodeName=="TD"||c.nodeName=="TR"){return}c.isImg=false;if(c.nodeName=="IMG"){if(c.src.toLowerCase().search(/\.png$/)!=-1){c.isImg=true;c.style.visibility="hidden"}else{return}}else{if(c.currentStyle.backgroundImage.toLowerCase().search(".png")==-1){return}}g=DD_belatedPNG;c.vml={color:{},image:{}};b={shape:{},fill:{}};for(a in c.vml){if(c.vml.hasOwnProperty(a)){for(d in b){if(b.hasOwnProperty(d)){f=g.ns+":"+d;c.vml[a][d]=document.createElement(f)}}c.vml[a].shape.stroked=false;c.vml[a].shape.appendChild(c.vml[a].fill);c.parentNode.insertBefore(c.vml[a].shape,c)}}c.vml.image.shape.fillcolor="none";c.vml.image.fill.type="tile";c.vml.color.fill.on=false;g.attachHandlers(c);g.giveLayout(c);g.giveLayout(c.offsetParent);c.vmlInitiated=true;g.applyVML(c)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet(); 14 | window.onload = function () { 15 | DD_belatedPNG.fix(".pngFix,.pngFix:hover"); 16 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/My97DatePicker.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | My97DatePicker 5 | 6 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/WdatePicker.js: -------------------------------------------------------------------------------- 1 | /* 2 | * My97 DatePicker 4.72 Release 3 | * License: http://www.my97.net/dp/license.asp 4 | */ 5 | var $dp,WdatePicker;(function(){var _={ 6 | $wdate:true, 7 | $dpPath:"", 8 | $crossFrame:true, 9 | doubleCalendar:false, 10 | enableKeyboard:true, 11 | enableInputMask:true, 12 | autoUpdateOnChanged:null, 13 | whichDayIsfirstWeek:4, 14 | position:{}, 15 | lang:"auto", 16 | skin:"default", 17 | dateFmt:"yyyy-MM-dd", 18 | realDateFmt:"yyyy-MM-dd", 19 | realTimeFmt:"HH:mm:ss", 20 | realFullFmt:"%Date %Time", 21 | minDate:"1900-01-01 00:00:00", 22 | maxDate:"2099-12-31 23:59:59", 23 | startDate:"", 24 | alwaysUseStartDate:false, 25 | yearOffset:1911, 26 | firstDayOfWeek:0, 27 | isShowWeek:false, 28 | highLineWeekDay:true, 29 | isShowClear:true, 30 | isShowToday:true, 31 | isShowOK:true, 32 | isShowOthers:true, 33 | readOnly:false, 34 | errDealMode:0, 35 | autoPickDate:null, 36 | qsEnabled:true, 37 | autoShowQS:false, 38 | 39 | specialDates:null,specialDays:null,disabledDates:null,disabledDays:null,opposite:false,onpicking:null,onpicked:null,onclearing:null,oncleared:null,ychanging:null,ychanged:null,Mchanging:null,Mchanged:null,dchanging:null,dchanged:null,Hchanging:null,Hchanged:null,mchanging:null,mchanged:null,schanging:null,schanged:null,eCont:null,vel:null,errMsg:"",quickSel:[],has:{}};WdatePicker=U;var X=window,O="document",J="documentElement",C="getElementsByTagName",V,A,T,I,b;switch(navigator.appName){case"Microsoft Internet Explorer":T=true;break;case"Opera":b=true;break;default:I=true;break}A=L();if(_.$wdate)M(A+"skin/WdatePicker.css");V=X;if(_.$crossFrame){try{while(V.parent&&V.parent[O]!=V[O]&&V.parent[O][C]("frameset").length==0)V=V.parent}catch(P){}}if(!V.$dp)V.$dp={ff:I,ie:T,opera:b,el:null,win:X,status:0,defMinDate:_.minDate,defMaxDate:_.maxDate,flatCfgs:[]};B();if($dp.status==0)Z(X,function(){U(null,true)});if(!X[O].docMD){E(X[O],"onmousedown",D);X[O].docMD=true}if(!V[O].docMD){E(V[O],"onmousedown",D);V[O].docMD=true}E(X,"onunload",function(){if($dp.dd)Q($dp.dd,"none")});function B(){V.$dp=V.$dp||{};obj={$:function($){return(typeof $=="string")?X[O].getElementById($):$},$D:function($,_){return this.$DV(this.$($).value,_)},$DV:function(_,$){if(_!=""){this.dt=$dp.cal.splitDate(_,$dp.cal.dateFmt);if($)for(var B in $)if(this.dt[B]===undefined)this.errMsg="invalid property:"+B;else{this.dt[B]+=$[B];if(B=="M"){var C=$["M"]>0?1:0,A=new Date(this.dt["y"],this.dt["M"],0).getDate();this.dt["d"]=Math.min(A+C,this.dt["d"])}}if(this.dt.refresh())return this.dt}return""},show:function(){var A=V[O].getElementsByTagName("div"),$=100000;for(var B=0;B$)$=_}this.dd.style.zIndex=$+2;Q(this.dd,"block")},hide:function(){Q(this.dd,"none")},attachEvent:E};for(var $ in obj)V.$dp[$]=obj[$];$dp=V.$dp;$dp.dd=V[O].getElementById("_my97DP")}function E(A,$,_){if(T)A.attachEvent($,_);else if(_){var B=$.replace(/on/,"");_._ieEmuEventHandler=function($){return _($)};A.addEventListener(B,_._ieEmuEventHandler,false)}}function L(){var _,A,$=X[O][C]("script");for(var B=0;B<$.length;B++){_=$[B].src.substring(0,$[B].src.toLowerCase().indexOf("wdatepicker.js"));A=_.lastIndexOf("/");if(A>0)_=_.substring(0,A+1);if(_)break}return _}function F(F){var E,C;if(F.substring(0,1)!="/"&&F.indexOf("://")==-1){E=V.location.href;C=location.href;if(E.indexOf("?")>-1)E=E.substring(0,E.indexOf("?"));if(C.indexOf("?")>-1)C=C.substring(0,C.indexOf("?"));var G,I,$="",D="",A="",J,H,B="";for(J=0;J_.scrollTop||A.scrollLeft>_.scrollLeft))?A:_;return{"top":B.scrollTop,"left":B.scrollLeft}}function D($){var _=$?($.srcElement||$.target):null;try{if($dp.cal&&!$dp.eCont&&$dp.dd&&_!=$dp.el&&$dp.dd.style.display=="block")$dp.cal.close()}catch($){}}function Y(){$dp.status=2;H()}function H(){if($dp.flatCfgs.length>0){var $=$dp.flatCfgs.shift();$.el={innerHTML:""};$.autoPickDate=true;$.qsEnabled=false;K($)}}var R,$;function U(J,C){$dp.win=X;B();J=J||{};if(C){if(!G()){$=$||setInterval(function(){if(V[O].readyState=="complete")clearInterval($);U(null,true)},50);return}if($dp.status==0){$dp.status=1;K({el:{innerHTML:""}},true)}else return}else if(J.eCont){J.eCont=$dp.$(J.eCont);$dp.flatCfgs.push(J);if($dp.status==2)H()}else{if($dp.status==0){U(null,true);return}if($dp.status!=2)return;var F=D();if(F){$dp.srcEl=F.srcElement||F.target;F.cancelBubble=true}$dp.el=J.el=$dp.$(J.el||$dp.srcEl);if(!$dp.el||$dp.el["My97Mark"]===true||$dp.el.disabled||($dp.el==$dp.el&&Q($dp.dd)!="none"&&$dp.dd.style.left!="-1970px")){$dp.el["My97Mark"]=false;return}K(J);if(F&&$dp.el.nodeType==1&&$dp.el["My97Mark"]===undefined){$dp.el["My97Mark"]=false;var _,A;if(F.type=="focus"){_="onclick";A="onfocus"}else{_="onfocus";A="onclick"}E($dp.el,_,$dp.el[A])}}function G(){if(T&&V!=X&&V[O].readyState!="complete")return false;return true}function D(){if(I){func=D.caller;while(func!=null){var $=func.arguments[0];if($&&($+"").indexOf("Event")>=0)return $;func=func.caller}return null}return event}}function S(_,$){return _.currentStyle?_.currentStyle[$]:document.defaultView.getComputedStyle(_,false)[$]}function Q(_,$){if(_)if($!=null)_.style.display=$;else return S(_,"display")}function K(H,$){for(var D in _)if(D.substring(0,1)!="$")$dp[D]=_[D];for(D in H)if($dp[D]!==undefined)$dp[D]=H[D];var E=$dp.el?$dp.el.nodeName:"INPUT";if($||$dp.eCont||new RegExp(/input|textarea|div|span|p|a/ig).test(E))$dp.elProp=E=="INPUT"?"value":"innerHTML";else return;if($dp.lang=="auto")$dp.lang=T?navigator.browserLanguage.toLowerCase():navigator.language.toLowerCase();if(!$dp.dd||$dp.eCont||($dp.lang&&$dp.realLang&&$dp.realLang.name!=$dp.lang&&$dp.getLangIndex&&$dp.getLangIndex($dp.lang)>=0)){if($dp.dd&&!$dp.eCont)V[O].body.removeChild($dp.dd);if(_.$dpPath=="")F(A);var B="";if($dp.eCont){$dp.eCont.innerHTML=B;Z($dp.eCont.childNodes[0],Y)}else{$dp.dd=V[O].createElement("DIV");$dp.dd.id="_my97DP";$dp.dd.style.cssText="position:absolute";$dp.dd.innerHTML=B;V[O].body.appendChild($dp.dd);Z($dp.dd.childNodes[0],Y);if($)$dp.dd.style.left=$dp.dd.style.top="-1970px";else{$dp.show();C()}}}else if($dp.cal){$dp.show();$dp.cal.init();if(!$dp.eCont)C()}function C(){var F=$dp.position.left,B=$dp.position.top,C=$dp.el;if(C!=$dp.srcEl&&(Q(C)=="none"||C.type=="hidden"))C=$dp.srcEl;var H=W(C),$=G(X),D=N(V),A=a(V),E=$dp.dd.offsetHeight,_=$dp.dd.offsetWidth;if(isNaN(B)){if(B=="above"||(B!="under"&&(($.topM+H.bottom+E>D.height)&&($.topM+H.top-E>0))))B=A.top+$.topM+H.top-E-2;else B=A.top+$.topM+Math.min(H.bottom,D.height-E)+2}else B+=A.top+$.topM;if(isNaN(F))F=A.left+Math.min($.leftM+H.left,D.width-_-5)-(T?2:0);else F+=A.left+$.leftM;$dp.dd.style.top=B+"px";$dp.dd.style.left=F+"px"}}})() -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/config.js: -------------------------------------------------------------------------------- 1 | var langList = 2 | [ 3 | {name:'en', charset:'UTF-8'}, 4 | {name:'zh-cn', charset:'UTF-8'}, 5 | {name:'zh-tw', charset:'UTF-8'} 6 | ]; 7 | 8 | var skinList = 9 | [ 10 | {name:'default', charset:'UTF-8'}, 11 | {name:'whyGreen', charset:'UTF-8'} 12 | ]; -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/lang/en.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "Invalid date or the date out of range,redo or not?", 3 | aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 4 | aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], 5 | aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 6 | aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], 7 | clearStr: "Clear", 8 | todayStr: "Today", 9 | okStr: "OK", 10 | updateStr: "OK", 11 | timeStr: "Time", 12 | quickStr: "Quick Selection", 13 | err_1: 'MinDate Cannot be bigger than MaxDate!' 14 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u786E\u5B9A", 10 | updateStr: "\u786E\u5B9A", 11 | timeStr: "\u65F6\u95F4", 12 | quickStr: "\u5FEB\u901F\u9009\u62E9", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/lang/zh-tw.js: -------------------------------------------------------------------------------- 1 | var $lang={ 2 | errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", 3 | aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], 4 | aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], 5 | aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], 6 | aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], 7 | clearStr: "\u6E05\u7A7A", 8 | todayStr: "\u4ECA\u5929", 9 | okStr: "\u78BA\u5B9A", 10 | updateStr: "\u78BA\u5B9A", 11 | timeStr: "\u6642\u9593", 12 | quickStr: "\u5FEB\u901F\u9078\u64C7", 13 | err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!' 14 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/skin/WdatePicker.css: -------------------------------------------------------------------------------- 1 | .Wdate{ 2 | border:#999 1px solid; 3 | height:20px; 4 | background:#fff url(datePicker.gif) no-repeat right; 5 | } 6 | 7 | .WdateFmtErr{ 8 | font-weight:bold; 9 | color:red; 10 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/skin/datePicker.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/calendar/skin/datePicker.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/skin/default/datepicker.css: -------------------------------------------------------------------------------- 1 | /* 2 | * My97 DatePicker 4.7 3 | */ 4 | 5 | .WdateDiv{ 6 | width:180px; 7 | background-color:#FFFFFF; 8 | border:#bbb 1px solid; 9 | padding:2px; 10 | } 11 | 12 | .WdateDiv2{ 13 | width:360px; 14 | } 15 | .WdateDiv *{font-size:9pt;} 16 | 17 | .WdateDiv .NavImg a{ 18 | display:block; 19 | cursor:pointer; 20 | height:16px; 21 | width:16px; 22 | } 23 | 24 | .WdateDiv .NavImgll a{ 25 | float:left; 26 | background:transparent url(img.gif) no-repeat scroll 0 0; 27 | } 28 | .WdateDiv .NavImgl a{ 29 | float:left; 30 | background:transparent url(img.gif) no-repeat scroll -16px 0; 31 | } 32 | .WdateDiv .NavImgr a{ 33 | float:right; 34 | background:transparent url(img.gif) no-repeat scroll -32px 0; 35 | } 36 | .WdateDiv .NavImgrr a{ 37 | float:right; 38 | background:transparent url(img.gif) no-repeat scroll -48px 0; 39 | } 40 | 41 | .WdateDiv #dpTitle{ 42 | height:24px; 43 | margin-bottom:2px; 44 | padding:1px; 45 | } 46 | 47 | .WdateDiv .yminput{ 48 | margin-top:2px; 49 | text-align:center; 50 | height:20px; 51 | border:0px; 52 | width:50px; 53 | cursor:pointer; 54 | } 55 | 56 | .WdateDiv .yminputfocus{ 57 | margin-top:2px; 58 | text-align:center; 59 | font-weight:bold; 60 | height:20px; 61 | color:blue; 62 | border:#ccc 1px solid; 63 | width:50px; 64 | } 65 | 66 | .WdateDiv .menuSel{ 67 | z-index:1; 68 | position:absolute; 69 | background-color:#FFFFFF; 70 | border:#ccc 1px solid; 71 | display:none; 72 | } 73 | 74 | .WdateDiv .menu{ 75 | cursor:pointer; 76 | background-color:#fff; 77 | } 78 | 79 | .WdateDiv .menuOn{ 80 | cursor:pointer; 81 | background-color:#BEEBEE; 82 | } 83 | 84 | .WdateDiv .invalidMenu{ 85 | color:#aaa; 86 | } 87 | 88 | .WdateDiv .YMenu{ 89 | margin-top:20px; 90 | 91 | } 92 | 93 | .WdateDiv .MMenu{ 94 | margin-top:20px; 95 | *width:62px; 96 | } 97 | 98 | .WdateDiv .hhMenu{ 99 | margin-top:-90px; 100 | margin-left:26px; 101 | } 102 | 103 | .WdateDiv .mmMenu{ 104 | margin-top:-46px; 105 | margin-left:26px; 106 | } 107 | 108 | .WdateDiv .ssMenu{ 109 | margin-top:-24px; 110 | margin-left:26px; 111 | } 112 | 113 | .WdateDiv .Wweek { 114 | text-align:center; 115 | background:#DAF3F5; 116 | border-right:#BDEBEE 1px solid; 117 | } 118 | 119 | .WdateDiv .MTitle{ 120 | background-color:#BDEBEE; 121 | } 122 | .WdateDiv .WdayTable2{ 123 | border-collapse:collapse; 124 | border:#c5d9e8 1px solid; 125 | } 126 | .WdateDiv .WdayTable2 table{ 127 | border:0; 128 | } 129 | 130 | .WdateDiv .WdayTable{ 131 | line-height:20px; 132 | border:#c5d9e8 1px solid; 133 | } 134 | .WdateDiv .WdayTable td{ 135 | text-align:center; 136 | } 137 | 138 | .WdateDiv .Wday{ 139 | cursor:pointer; 140 | } 141 | 142 | .WdateDiv .WdayOn{ 143 | cursor:pointer; 144 | background-color:#C0EBEF; 145 | } 146 | 147 | .WdateDiv .Wwday{ 148 | cursor:pointer; 149 | color:#FF2F2F; 150 | } 151 | 152 | .WdateDiv .WwdayOn{ 153 | cursor:pointer; 154 | color:#000; 155 | background-color:#C0EBEF; 156 | } 157 | .WdateDiv .Wtoday{ 158 | cursor:pointer; 159 | color:blue; 160 | } 161 | .WdateDiv .Wselday{ 162 | background-color:#A9E4E9; 163 | } 164 | .WdateDiv .WspecialDay{ 165 | background-color:#66F4DF; 166 | } 167 | 168 | .WdateDiv .WotherDay{ 169 | cursor:pointer; 170 | color:#6A6AFF; 171 | } 172 | 173 | .WdateDiv .WotherDayOn{ 174 | cursor:pointer; 175 | background-color:#C0EBEF; 176 | } 177 | 178 | .WdateDiv .WinvalidDay{ 179 | color:#aaa; 180 | } 181 | 182 | .WdateDiv #dpTime{ 183 | float:left; 184 | margin-top:3px; 185 | margin-right:30px; 186 | } 187 | 188 | .WdateDiv #dpTime #dpTimeStr{ 189 | margin-left:1px; 190 | } 191 | 192 | .WdateDiv #dpTime input{ 193 | width:18px; 194 | height:20px; 195 | text-align:center; 196 | border:#ccc 1px solid; 197 | } 198 | 199 | .WdateDiv #dpTime .tB{ 200 | border-right:0px; 201 | } 202 | 203 | .WdateDiv #dpTime .tE{ 204 | border-left:0; 205 | border-right:0; 206 | } 207 | 208 | .WdateDiv #dpTime .tm{ 209 | width:7px; 210 | border-left:0; 211 | border-right:0; 212 | } 213 | 214 | .WdateDiv #dpTime #dpTimeUp{ 215 | height:10px; 216 | width:13px; 217 | border:0px; 218 | background:url(img.gif) no-repeat -32px -16px; 219 | } 220 | 221 | .WdateDiv #dpTime #dpTimeDown{ 222 | height:10px; 223 | width:13px; 224 | border:0px; 225 | background:url(img.gif) no-repeat -48px -16px; 226 | } 227 | 228 | .WdateDiv #dpQS { 229 | float:left; 230 | margin-right:3px; 231 | margin-top:3px; 232 | background:url(img.gif) no-repeat 0px -16px; 233 | width:20px; 234 | height:20px; 235 | cursor:pointer; 236 | } 237 | .WdateDiv #dpControl { 238 | text-align:right; 239 | } 240 | .WdateDiv .dpButton{ 241 | height:20px; 242 | width:45px; 243 | border:#ccc 1px solid; 244 | margin-top:2px; 245 | margin-right:1px; 246 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/skin/default/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/calendar/skin/default/img.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/skin/whyGreen/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/calendar/skin/whyGreen/bg.jpg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/skin/whyGreen/datepicker.css: -------------------------------------------------------------------------------- 1 | /* 2 | * My97 DatePicker 4.7 Skin:whyGreen 3 | */ 4 | .WdateDiv{ 5 | width:180px; 6 | background-color:#fff; 7 | border:#C5E1E4 1px solid; 8 | padding:2px; 9 | } 10 | 11 | .WdateDiv2{ 12 | width:360px; 13 | } 14 | .WdateDiv *{font-size:9pt;} 15 | 16 | .WdateDiv .NavImg a{ 17 | cursor:pointer; 18 | display:block; 19 | width:16px; 20 | height:16px; 21 | margin-top:1px; 22 | } 23 | 24 | .WdateDiv .NavImgll a{ 25 | float:left; 26 | background:url(img.gif) no-repeat; 27 | } 28 | .WdateDiv .NavImgl a{ 29 | float:left; 30 | background:url(img.gif) no-repeat -16px 0px; 31 | } 32 | .WdateDiv .NavImgr a{ 33 | float:right; 34 | background:url(img.gif) no-repeat -32px 0px; 35 | } 36 | .WdateDiv .NavImgrr a{ 37 | float:right; 38 | background:url(img.gif) no-repeat -48px 0px; 39 | } 40 | 41 | .WdateDiv #dpTitle{ 42 | height:24px; 43 | padding:1px; 44 | border:#c5d9e8 1px solid; 45 | background:url(bg.jpg); 46 | margin-bottom:2px; 47 | } 48 | 49 | .WdateDiv .yminput{ 50 | margin-top:2px; 51 | text-align:center; 52 | border:0px; 53 | height:20px; 54 | width:50px; 55 | color:#034c50; 56 | background-color:transparent; 57 | cursor:pointer; 58 | } 59 | 60 | .WdateDiv .yminputfocus{ 61 | margin-top:2px; 62 | text-align:center; 63 | border:#939393 1px solid; 64 | font-weight:bold; 65 | color:#034c50; 66 | height:20px; 67 | width:50px; 68 | } 69 | 70 | .WdateDiv .menuSel{ 71 | z-index:1; 72 | position:absolute; 73 | background-color:#FFFFFF; 74 | border:#A3C6C8 1px solid; 75 | display:none; 76 | } 77 | 78 | .WdateDiv .menu{ 79 | cursor:pointer; 80 | background-color:#fff; 81 | color:#11777C; 82 | } 83 | 84 | .WdateDiv .menuOn{ 85 | cursor:pointer; 86 | background-color:#BEEBEE; 87 | } 88 | 89 | .WdateDiv .invalidMenu{ 90 | color:#aaa; 91 | } 92 | 93 | .WdateDiv .YMenu{ 94 | margin-top:20px; 95 | } 96 | 97 | .WdateDiv .MMenu{ 98 | margin-top:20px; 99 | *width:62px; 100 | } 101 | 102 | .WdateDiv .hhMenu{ 103 | margin-top:-90px; 104 | margin-left:26px; 105 | } 106 | 107 | .WdateDiv .mmMenu{ 108 | margin-top:-46px; 109 | margin-left:26px; 110 | } 111 | 112 | .WdateDiv .ssMenu{ 113 | margin-top:-24px; 114 | margin-left:26px; 115 | } 116 | 117 | .WdateDiv .Wweek { 118 | text-align:center; 119 | background:#DAF3F5; 120 | border-right:#BDEBEE 1px solid; 121 | } 122 | 123 | .WdateDiv .MTitle{ 124 | color:#13777e; 125 | background-color:#bdebee; 126 | } 127 | .WdateDiv .WdayTable2{ 128 | border-collapse:collapse; 129 | border:#BEE9F0 1px solid; 130 | } 131 | .WdateDiv .WdayTable2 table{ 132 | border:0; 133 | } 134 | 135 | .WdateDiv .WdayTable{ 136 | line-height:20px; 137 | color:#13777e; 138 | background-color:#edfbfb; 139 | border:#BEE9F0 1px solid; 140 | } 141 | .WdateDiv .WdayTable td{ 142 | text-align:center; 143 | } 144 | 145 | .WdateDiv .Wday{ 146 | cursor:pointer; 147 | } 148 | 149 | .WdateDiv .WdayOn{ 150 | cursor:pointer; 151 | background-color:#74d2d9 ; 152 | } 153 | 154 | .WdateDiv .Wwday{ 155 | cursor:pointer; 156 | color:#ab1e1e; 157 | } 158 | 159 | .WdateDiv .WwdayOn{ 160 | cursor:pointer; 161 | background-color:#74d2d9; 162 | } 163 | .WdateDiv .Wtoday{ 164 | cursor:pointer; 165 | color:blue; 166 | } 167 | .WdateDiv .Wselday{ 168 | background-color:#A7E2E7; 169 | } 170 | .WdateDiv .WspecialDay{ 171 | background-color:#66F4DF; 172 | } 173 | 174 | .WdateDiv .WotherDay{ 175 | cursor:pointer; 176 | color:#0099CC; 177 | } 178 | 179 | .WdateDiv .WotherDayOn{ 180 | cursor:pointer; 181 | background-color:#C0EBEF; 182 | } 183 | 184 | .WdateDiv .WinvalidDay{ 185 | color:#aaa; 186 | } 187 | 188 | .WdateDiv #dpTime{ 189 | float:left; 190 | margin-top:3px; 191 | margin-right:30px; 192 | } 193 | 194 | .WdateDiv #dpTime #dpTimeStr{ 195 | margin-left:1px; 196 | color:#497F7F; 197 | } 198 | 199 | .WdateDiv #dpTime input{ 200 | height:20px; 201 | width:18px; 202 | text-align:center; 203 | color:#333; 204 | border:#61CAD0 1px solid; 205 | } 206 | 207 | .WdateDiv #dpTime .tB{ 208 | border-right:0px; 209 | } 210 | 211 | .WdateDiv #dpTime .tE{ 212 | border-left:0; 213 | border-right:0; 214 | } 215 | 216 | .WdateDiv #dpTime .tm{ 217 | width:7px; 218 | border-left:0; 219 | border-right:0; 220 | } 221 | 222 | .WdateDiv #dpTime #dpTimeUp{ 223 | height:10px; 224 | width:13px; 225 | border:0px; 226 | background:url(img.gif) no-repeat -32px -16px; 227 | } 228 | 229 | .WdateDiv #dpTime #dpTimeDown{ 230 | height:10px; 231 | width:13px; 232 | border:0px; 233 | background:url(img.gif) no-repeat -48px -16px; 234 | } 235 | 236 | .WdateDiv #dpQS { 237 | float:left; 238 | margin-right:3px; 239 | margin-top:3px; 240 | background:url(img.gif) no-repeat 0px -16px; 241 | width:20px; 242 | height:20px; 243 | cursor:pointer; 244 | } 245 | .WdateDiv #dpControl { 246 | text-align:right; 247 | margin-top:3px; 248 | } 249 | .WdateDiv .dpButton{ 250 | height:20px; 251 | width:45px; 252 | margin-top:2px; 253 | border:#38B1B9 1px solid; 254 | background-color:#CFEBEE; 255 | color:#08575B; 256 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/calendar/skin/whyGreen/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/calendar/skin/whyGreen/img.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/clientAPI.js: -------------------------------------------------------------------------------- 1 | /*********************************************************************** 2 | 公共函数:封装客户端接口 3 | ***********************************************************************/ 4 | 5 | // function:读配置 6 | // param:strSection,配置文件中的节,如[dssg_cfg] 7 | // param:strKey,配置中的键 8 | // param:strValue,配置中的值 9 | // param:strPath,配置文件所在路径 10 | // return strValue 11 | function ReadConfig(strSection, strKey, strDefault, strPath) 12 | { 13 | var objReadData = { 14 | "section": strSection, 15 | "key": strKey, 16 | "default": strDefault, 17 | "file_path": strPath 18 | }; 19 | var param = $.toJSON(objReadData); 20 | var strConfig = fnFunction("read_cfg", param); 21 | 22 | return strConfig; 23 | } 24 | 25 | // function:写配置 26 | // param:strSection,配置文件中的节,如[dssg_cfg] 27 | // param:strKey,配置中的键 28 | // param:strValue,配置中的值 29 | // param:strPath,配置文件所在路径 30 | function WriteConfig(strSection, strKey, strValue, strPath) 31 | { 32 | var objWriteData = { 33 | "section": strSection, 34 | "key": strKey, 35 | "value": strValue, 36 | "file_path": strPath 37 | }; 38 | var param = $.toJSON(objWriteData); 39 | var strConfig = fnFunction("write_cfg", param); 40 | 41 | return strConfig; 42 | } 43 | 44 | // function:设置定时器 45 | // param:uTimerId,定时器ID 46 | // param:uTimerElapse,定时器时间间隔 47 | function SetTimer(uTimerId, uTimerElapse) 48 | { 49 | var jsonParam = {}; 50 | jsonParam["timer_id"] = uTimerId.toString(); 51 | jsonParam["timer_elapse"] = uTimerElapse.toString(); 52 | var strParam = window.JSON.stringify(jsonParam); 53 | return fnFunction("set_timer", strParam); 54 | } 55 | 56 | // function:销毁定时器 57 | // param:uTimerId,定时器ID 58 | function KillTimer(uTimerId) 59 | { 60 | fnFunction("kill_timer", uTimerId.toString()); 61 | } 62 | 63 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/divBox/css/divBox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/divBox/css/divBox.css -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/divBox/js/divBox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/divBox/js/divBox.js -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/flexigrid.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/flexigrid.css -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/flexigrid_update.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/flexigrid_update.css -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/bg.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/btn-sprite.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/btn-sprite.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/ddn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/ddn.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/dn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/dn.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg_blue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg_blue.jpg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg_green.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg_green.jpg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg_red.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg_red.jpg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg_yellow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/fhbg_yellow.jpg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/first.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/first.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/hl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/hl.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/last.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/last.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/line.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/load.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/load.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/magnifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/magnifier.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/next.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/next.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/prev.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/prev.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/up.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/uup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/uup.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/wbg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/wbg.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/wbg_blue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/wbg_blue.jpg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/wbg_green.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/wbg_green.jpg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/wbg_red.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/flexigrid/css/images/wbg_red.jpg -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/jquery.cookie.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery Cookie Plugin v1.4.0 3 | * https://github.com/carhartl/jquery-cookie 4 | * 5 | * Copyright 2013 Klaus Hartl 6 | * Released under the MIT license 7 | */ 8 | (function (factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as anonymous module. 11 | define(['jquery'], factory); 12 | } else { 13 | // Browser globals. 14 | factory(jQuery); 15 | } 16 | }(function ($) { 17 | 18 | var pluses = /\+/g; 19 | 20 | function encode(s) { 21 | return config.raw ? s : encodeURIComponent(s); 22 | } 23 | 24 | function decode(s) { 25 | return config.raw ? s : decodeURIComponent(s); 26 | } 27 | 28 | function stringifyCookieValue(value) { 29 | return encode(config.json ? JSON.stringify(value) : String(value)); 30 | } 31 | 32 | function parseCookieValue(s) { 33 | if (s.indexOf('"') === 0) { 34 | // This is a quoted cookie as according to RFC2068, unescape... 35 | s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); 36 | } 37 | 38 | try { 39 | // Replace server-side written pluses with spaces. 40 | // If we can't decode the cookie, ignore it, it's unusable. 41 | s = decodeURIComponent(s.replace(pluses, ' ')); 42 | } catch(e) { 43 | return; 44 | } 45 | 46 | try { 47 | // If we can't parse the cookie, ignore it, it's unusable. 48 | return config.json ? JSON.parse(s) : s; 49 | } catch(e) {} 50 | } 51 | 52 | function read(s, converter) { 53 | var value = config.raw ? s : parseCookieValue(s); 54 | return $.isFunction(converter) ? converter(value) : value; 55 | } 56 | 57 | var config = $.cookie = function (key, value, options) { 58 | 59 | // Write 60 | if (value !== undefined && !$.isFunction(value)) { 61 | options = $.extend({}, config.defaults, options); 62 | 63 | if (typeof options.expires === 'number') { 64 | var days = options.expires, t = options.expires = new Date(); 65 | t.setDate(t.getDate() + days); 66 | } 67 | 68 | return (document.cookie = [ 69 | encode(key), '=', stringifyCookieValue(value), 70 | options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE 71 | options.path ? '; path=' + options.path : '', 72 | options.domain ? '; domain=' + options.domain : '', 73 | options.secure ? '; secure' : '' 74 | ].join('')); 75 | } 76 | 77 | // Read 78 | 79 | var result = key ? undefined : {}; 80 | 81 | // To prevent the for loop in the first place assign an empty array 82 | // in case there are no cookies at all. Also prevents odd result when 83 | // calling $.cookie(). 84 | var cookies = document.cookie ? document.cookie.split('; ') : []; 85 | 86 | for (var i = 0, l = cookies.length; i < l; i++) { 87 | var parts = cookies[i].split('='); 88 | var name = decode(parts.shift()); 89 | var cookie = parts.join('='); 90 | 91 | if (key && key === name) { 92 | // If second argument (value) is a function it's a converter... 93 | result = read(cookie, value); 94 | break; 95 | } 96 | 97 | // Prevent storing a cookie that we couldn't decode. 98 | if (!key && (cookie = read(cookie)) !== undefined) { 99 | result[name] = cookie; 100 | } 101 | } 102 | 103 | return result; 104 | }; 105 | 106 | config.defaults = {}; 107 | 108 | $.removeCookie = function (key, options) { 109 | if ($.cookie(key) !== undefined) { 110 | // Must not alter options, thus extending a fresh object... 111 | $.cookie(key, '', $.extend({}, options, { expires: -1 })); 112 | return true; 113 | } 114 | return false; 115 | }; 116 | 117 | })); 118 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/jquery.json-2.3-debug.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery JSON Plugin 3 | * version: 2.3 (2011-09-17) 4 | * 5 | * This document is licensed as free software under the terms of the 6 | * MIT License: http://www.opensource.org/licenses/mit-license.php 7 | * 8 | * Brantley Harris wrote this plugin. It is based somewhat on the JSON.org 9 | * website's http://www.json.org/json2.js, which proclaims: 10 | * "NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.", a sentiment that 11 | * I uphold. 12 | * 13 | * It is also influenced heavily by MochiKit's serializeJSON, which is 14 | * copyrighted 2005 by Bob Ippolito. 15 | */ 16 | (function( $ ) { 17 | 18 | var escapeable = /["\\\x00-\x1f\x7f-\x9f]/g, 19 | meta = { 20 | '\b': '\\b', 21 | '\t': '\\t', 22 | '\n': '\\n', 23 | '\f': '\\f', 24 | '\r': '\\r', 25 | '"' : '\\"', 26 | '\\': '\\\\' 27 | }; 28 | 29 | /** 30 | * jQuery.toJSON 31 | * Converts the given argument into a JSON respresentation. 32 | * 33 | * @param o {Mixed} The json-serializble *thing* to be converted 34 | * 35 | * If an object has a toJSON prototype, that will be used to get the representation. 36 | * Non-integer/string keys are skipped in the object, as are keys that point to a 37 | * function. 38 | * 39 | */ 40 | $.toJSON = typeof JSON === 'object' && JSON.stringify 41 | ? JSON.stringify 42 | : function( o ) { 43 | 44 | if ( o === null ) { 45 | return 'null'; 46 | } 47 | 48 | var type = typeof o; 49 | 50 | if ( type === 'undefined' ) { 51 | return undefined; 52 | } 53 | if ( type === 'number' || type === 'boolean' ) { 54 | return '' + o; 55 | } 56 | if ( type === 'string') { 57 | return $.quoteString( o ); 58 | } 59 | if ( type === 'object' ) { 60 | if ( typeof o.toJSON === 'function' ) { 61 | return $.toJSON( o.toJSON() ); 62 | } 63 | if ( o.constructor === Date ) { 64 | var month = o.getUTCMonth() + 1, 65 | day = o.getUTCDate(), 66 | year = o.getUTCFullYear(), 67 | hours = o.getUTCHours(), 68 | minutes = o.getUTCMinutes(), 69 | seconds = o.getUTCSeconds(), 70 | milli = o.getUTCMilliseconds(); 71 | 72 | if ( month < 10 ) { 73 | month = '0' + month; 74 | } 75 | if ( day < 10 ) { 76 | day = '0' + day; 77 | } 78 | if ( hours < 10 ) { 79 | hours = '0' + hours; 80 | } 81 | if ( minutes < 10 ) { 82 | minutes = '0' + minutes; 83 | } 84 | if ( seconds < 10 ) { 85 | seconds = '0' + seconds; 86 | } 87 | if ( milli < 100 ) { 88 | milli = '0' + milli; 89 | } 90 | if ( milli < 10 ) { 91 | milli = '0' + milli; 92 | } 93 | return '"' + year + '-' + month + '-' + day + 'T' + 94 | hours + ':' + minutes + ':' + seconds + 95 | '.' + milli + 'Z"'; 96 | } 97 | if ( o.constructor === Array ) { 98 | var ret = []; 99 | for ( var i = 0; i < o.length; i++ ) { 100 | ret.push( $.toJSON( o[i] ) || 'null' ); 101 | } 102 | return '[' + ret.join(',') + ']'; 103 | } 104 | var name, 105 | val, 106 | pairs = []; 107 | for ( var k in o ) { 108 | type = typeof k; 109 | if ( type === 'number' ) { 110 | name = '"' + k + '"'; 111 | } else if (type === 'string') { 112 | name = $.quoteString(k); 113 | } else { 114 | // Keys must be numerical or string. Skip others 115 | continue; 116 | } 117 | type = typeof o[k]; 118 | 119 | if ( type === 'function' || type === 'undefined' ) { 120 | // Invalid values like these return undefined 121 | // from toJSON, however those object members 122 | // shouldn't be included in the JSON string at all. 123 | continue; 124 | } 125 | val = $.toJSON( o[k] ); 126 | pairs.push( name + ':' + val ); 127 | } 128 | return '{' + pairs.join( ',' ) + '}'; 129 | } 130 | }; 131 | 132 | /** 133 | * jQuery.evalJSON 134 | * Evaluates a given piece of json source. 135 | * 136 | * @param src {String} 137 | */ 138 | $.evalJSON = typeof JSON === 'object' && JSON.parse 139 | ? JSON.parse 140 | : function( src ) { 141 | return eval('(' + src + ')'); 142 | }; 143 | 144 | /** 145 | * jQuery.secureEvalJSON 146 | * Evals JSON in a way that is *more* secure. 147 | * 148 | * @param src {String} 149 | */ 150 | $.secureEvalJSON = typeof JSON === 'object' && JSON.parse 151 | ? JSON.parse 152 | : function( src ) { 153 | 154 | var filtered = 155 | src 156 | .replace( /\\["\\\/bfnrtu]/g, '@' ) 157 | .replace( /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']') 158 | .replace( /(?:^|:|,)(?:\s*\[)+/g, ''); 159 | 160 | if ( /^[\],:{}\s]*$/.test( filtered ) ) { 161 | return eval( '(' + src + ')' ); 162 | } else { 163 | throw new SyntaxError( 'Error parsing JSON, source is not valid.' ); 164 | } 165 | }; 166 | 167 | /** 168 | * jQuery.quoteString 169 | * Returns a string-repr of a string, escaping quotes intelligently. 170 | * Mostly a support function for toJSON. 171 | * Examples: 172 | * >>> jQuery.quoteString('apple') 173 | * "apple" 174 | * 175 | * >>> jQuery.quoteString('"Where are we going?", she asked.') 176 | * "\"Where are we going?\", she asked." 177 | */ 178 | $.quoteString = function( string ) { 179 | if ( string.match( escapeable ) ) { 180 | return '"' + string.replace( escapeable, function( a ) { 181 | var c = meta[a]; 182 | if ( typeof c === 'string' ) { 183 | return c; 184 | } 185 | c = a.charCodeAt(); 186 | return '\\u00' + Math.floor(c / 16).toString(16) + (c % 16).toString(16); 187 | }) + '"'; 188 | } 189 | return '"' + string + '"'; 190 | }; 191 | 192 | })( jQuery ); 193 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/readme.txt -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/thickbox/css/thickbox.css: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------------------------------------------------------------------------*/ 2 | /* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/ 3 | /* ----------------------------------------------------------------------------------------------------------------*/ 4 | /*{padding: 0; margin: 0;} 5 | 6 | /* ----------------------------------------------------------------------------------------------------------------*/ 7 | /* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ 8 | /* ----------------------------------------------------------------------------------------------------------------*/ 9 | #TB_window { 10 | font: 12px Arial, Helvetica, sans-serif; 11 | color: #333333; 12 | padding: 0; 13 | margin: 0; 14 | } 15 | 16 | #TB_secondLine { 17 | font: 10px Arial, Helvetica, sans-serif; 18 | color:#666666; 19 | } 20 | 21 | #TB_window a:link {color: #666666;} 22 | #TB_window a:visited {color: #666666;} 23 | #TB_window a:hover {color: #000;} 24 | #TB_window a:active {color: #666666;} 25 | #TB_window a:focus{color: #666666;} 26 | 27 | /* ----------------------------------------------------------------------------------------------------------------*/ 28 | /* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ 29 | /* ----------------------------------------------------------------------------------------------------------------*/ 30 | #TB_overlay { 31 | position: fixed; 32 | z-index:100; 33 | top: 0px; 34 | left: 0px; 35 | height:100%; 36 | width:100%; 37 | } 38 | 39 | .TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;} 40 | .TB_overlayBG { 41 | background-color:#000; 42 | filter:alpha(opacity=75); 43 | -moz-opacity: 0.75; 44 | opacity: 0.75; 45 | } 46 | 47 | * html #TB_overlay { /* ie6 hack */ 48 | position: absolute; 49 | height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); 50 | } 51 | 52 | #TB_window { 53 | position: fixed; 54 | background: #ECF3F6; 55 | z-index: 102; 56 | color:#000000; 57 | display:none; 58 | border: 4px solid #525252; 59 | text-align:left; 60 | top:50%; 61 | left:50%; 62 | } 63 | 64 | * html #TB_window { /* ie6 hack */ 65 | position: absolute; 66 | margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); 67 | } 68 | 69 | #TB_window img#TB_Image { 70 | display:block; 71 | margin: 15px 0 0 15px; 72 | border-right: 1px solid #ccc; 73 | border-bottom: 1px solid #ccc; 74 | border-top: 1px solid #666; 75 | border-left: 1px solid #666; 76 | } 77 | 78 | #TB_caption{ 79 | height:25px; 80 | padding:7px 30px 10px 25px; 81 | float:left; 82 | } 83 | 84 | #TB_closeWindow{ 85 | height:25px; 86 | padding:11px 25px 10px 0; 87 | float:right; 88 | } 89 | 90 | #TB_closeAjaxWindow{ 91 | padding:7px 10px 5px 0; 92 | margin-bottom:1px; 93 | text-align:right; 94 | float:right; 95 | } 96 | 97 | #TB_ajaxWindowTitle{ 98 | float:left; 99 | padding:7px 0 5px 10px; 100 | margin-bottom:1px; 101 | } 102 | 103 | #TB_title{ 104 | background-color:#e8e8e8; 105 | height:27px; 106 | } 107 | 108 | #TB_ajaxContent{ 109 | clear:both; 110 | padding:2px 15px 15px 15px; 111 | overflow:auto; 112 | text-align:left; 113 | line-height:1.4em; 114 | } 115 | 116 | #TB_ajaxContent.TB_modal{ 117 | padding:15px; 118 | } 119 | 120 | #TB_ajaxContent p{ 121 | padding:5px 0px 5px 0px; 122 | } 123 | 124 | #TB_load{ 125 | position: fixed; 126 | display:none; 127 | height:13px; 128 | width:208px; 129 | z-index:103; 130 | top: 50%; 131 | left: 50%; 132 | margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ 133 | } 134 | 135 | * html #TB_load { /* ie6 hack */ 136 | position: absolute; 137 | margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); 138 | } 139 | 140 | #TB_HideSelect{ 141 | z-index:99; 142 | position:fixed; 143 | top: 0; 144 | left: 0; 145 | background-color:#fff; 146 | border:none; 147 | filter:alpha(opacity=0); 148 | -moz-opacity: 0; 149 | opacity: 0; 150 | height:100%; 151 | width:100%; 152 | } 153 | 154 | * html #TB_HideSelect { /* ie6 hack */ 155 | position: absolute; 156 | height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); 157 | } 158 | 159 | #TB_iframeContent{ 160 | clear:both; 161 | border:none; 162 | margin-bottom:-1px; 163 | margin-top:1px; 164 | _margin-bottom:1px; 165 | } 166 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/thickbox/images/loadingAnimation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/comm/thickbox/images/loadingAnimation.gif -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/thickbox/thickbox.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Thickbox 3.1 - One Box To Rule Them All. 3 | * By Cody Lindley (http://www.codylindley.com) 4 | * Copyright (c) 2007 cody lindley 5 | * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php 6 | */ 7 | 8 | var tb_pathToImage = "../comm/thickbox/images/loadingAnimation.gif"; 9 | 10 | /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ 11 | 12 | //on page load call tb_init 13 | $(document).ready(function(){ 14 | tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox 15 | imgLoader = new Image();// preload image 16 | imgLoader.src = tb_pathToImage; 17 | }); 18 | 19 | //add thickbox to href & area elements that have a class of .thickbox 20 | function tb_init(domChunk){ 21 | $(domChunk).click(function(){ 22 | var t = this.title || this.name || null; 23 | var a = this.href || this.alt; 24 | var g = this.rel || false; 25 | tb_show(t,a,g); 26 | this.blur(); 27 | return false; 28 | }); 29 | } 30 | 31 | function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link 32 | 33 | try { 34 | if (typeof document.body.style.maxHeight === "undefined") {//if IE 6 35 | $("body","html").css({height: "100%", width: "100%"}); 36 | $("html").css("overflow","hidden"); 37 | if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6 38 | $("body").append(""); 39 | $("#TB_overlay").click(tb_remove); 40 | } 41 | }else{//all others 42 | if(document.getElementById("TB_overlay") === null){ 43 | $("body").append(""); 44 | $("#TB_overlay").click(tb_remove); 45 | } 46 | } 47 | 48 | if(tb_detectMacXFF()){ 49 | $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash 50 | }else{ 51 | $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity 52 | } 53 | 54 | if(caption===null){caption="";} 55 | $("body").append("");//add loader to the page 56 | $('#TB_load').show();//show loader 57 | 58 | var baseURL; 59 | if(url.indexOf("?")!==-1){ //ff there is a query string involved 60 | baseURL = url.substr(0, url.indexOf("?")); 61 | }else{ 62 | baseURL = url; 63 | } 64 | 65 | var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; 66 | var urlType = baseURL.toLowerCase().match(urlString); 67 | 68 | if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images 69 | 70 | TB_PrevCaption = ""; 71 | TB_PrevURL = ""; 72 | TB_PrevHTML = ""; 73 | TB_NextCaption = ""; 74 | TB_NextURL = ""; 75 | TB_NextHTML = ""; 76 | TB_imageCount = ""; 77 | TB_FoundURL = false; 78 | if(imageGroup){ 79 | TB_TempArray = $("a[@rel="+imageGroup+"]").get(); 80 | for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { 81 | var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); 82 | if (!(TB_TempArray[TB_Counter].href == url)) { 83 | if (TB_FoundURL) { 84 | TB_NextCaption = TB_TempArray[TB_Counter].title; 85 | TB_NextURL = TB_TempArray[TB_Counter].href; 86 | TB_NextHTML = " Next >"; 87 | } else { 88 | TB_PrevCaption = TB_TempArray[TB_Counter].title; 89 | TB_PrevURL = TB_TempArray[TB_Counter].href; 90 | TB_PrevHTML = " < Prev"; 91 | } 92 | } else { 93 | TB_FoundURL = true; 94 | TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); 95 | } 96 | } 97 | } 98 | 99 | imgPreloader = new Image(); 100 | imgPreloader.onload = function(){ 101 | imgPreloader.onload = null; 102 | 103 | // Resizing large images - orginal by Christian Montoya edited by me. 104 | var pagesize = tb_getPageSize(); 105 | var x = pagesize[0] - 150; 106 | var y = pagesize[1] - 150; 107 | var imageWidth = imgPreloader.width; 108 | var imageHeight = imgPreloader.height; 109 | if (imageWidth > x) { 110 | imageHeight = imageHeight * (x / imageWidth); 111 | imageWidth = x; 112 | if (imageHeight > y) { 113 | imageWidth = imageWidth * (y / imageHeight); 114 | imageHeight = y; 115 | } 116 | } else if (imageHeight > y) { 117 | imageWidth = imageWidth * (y / imageHeight); 118 | imageHeight = y; 119 | if (imageWidth > x) { 120 | imageHeight = imageHeight * (x / imageWidth); 121 | imageWidth = x; 122 | } 123 | } 124 | // End Resizing 125 | 126 | TB_WIDTH = imageWidth + 30; 127 | TB_HEIGHT = imageHeight + 60; 128 | $("#TB_window").append("" + ""+caption+"" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "close or Esc Key"); 129 | 130 | $("#TB_closeWindowButton").click(tb_remove); 131 | 132 | if (!(TB_PrevHTML === "")) { 133 | function goPrev(){ 134 | if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);} 135 | $("#TB_window").remove(); 136 | $("body").append(""); 137 | tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); 138 | return false; 139 | } 140 | $("#TB_prev").click(goPrev); 141 | } 142 | 143 | if (!(TB_NextHTML === "")) { 144 | function goNext(){ 145 | $("#TB_window").remove(); 146 | $("body").append(""); 147 | tb_show(TB_NextCaption, TB_NextURL, imageGroup); 148 | return false; 149 | } 150 | $("#TB_next").click(goNext); 151 | 152 | } 153 | 154 | document.onkeydown = function(e){ 155 | if (e == null) { // ie 156 | keycode = event.keyCode; 157 | } else { // mozilla 158 | keycode = e.which; 159 | } 160 | if(keycode == 27){ // close 161 | tb_remove(); 162 | } else if(keycode == 190){ // display previous image 163 | if(!(TB_NextHTML == "")){ 164 | document.onkeydown = ""; 165 | goNext(); 166 | } 167 | } else if(keycode == 188){ // display next image 168 | if(!(TB_PrevHTML == "")){ 169 | document.onkeydown = ""; 170 | goPrev(); 171 | } 172 | } 173 | }; 174 | 175 | tb_position(); 176 | $("#TB_load").remove(); 177 | $("#TB_ImageOff").click(tb_remove); 178 | $("#TB_window").css({display:"block"}); //for safari using css instead of show 179 | }; 180 | 181 | imgPreloader.src = url; 182 | }else{//code to show html 183 | 184 | var queryString = url.replace(/^[^\?]+\??/,''); 185 | var params = tb_parseQuery( queryString ); 186 | 187 | TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL 188 | TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL 189 | ajaxContentW = TB_WIDTH - 30; 190 | ajaxContentH = TB_HEIGHT - 45; 191 | 192 | if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window 193 | urlNoQuery = url.split('TB_'); 194 | $("#TB_iframeContent").remove(); 195 | if(params['modal'] != "true"){//iframe no modal 196 | $("#TB_window").append(""+caption+"close or Esc Key "); 197 | }else{//iframe modal 198 | $("#TB_overlay").unbind(); 199 | $("#TB_window").append(" "); 200 | } 201 | }else{// not an iframe, ajax 202 | if($("#TB_window").css("display") != "block"){ 203 | if(params['modal'] != "true"){//ajax no modal 204 | $("#TB_window").append(""+caption+"close or Esc Key"); 205 | }else{//ajax modal 206 | $("#TB_overlay").unbind(); 207 | $("#TB_window").append(""); 208 | } 209 | }else{//this means the window is already up, we are just loading new content via ajax 210 | $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; 211 | $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; 212 | $("#TB_ajaxContent")[0].scrollTop = 0; 213 | $("#TB_ajaxWindowTitle").html(caption); 214 | } 215 | } 216 | 217 | $("#TB_closeWindowButton").click(tb_remove); 218 | 219 | if(url.indexOf('TB_inline') != -1){ 220 | $("#TB_ajaxContent").append($('#' + params['inlineId']).children()); 221 | $("#TB_window").unload(function () { 222 | $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished 223 | }); 224 | tb_position(); 225 | $("#TB_load").remove(); 226 | $("#TB_window").css({display:"block"}); 227 | }else if(url.indexOf('TB_iframe') != -1){ 228 | tb_position(); 229 | if($.browser.safari){//safari needs help because it will not fire iframe onload 230 | $("#TB_load").remove(); 231 | $("#TB_window").css({display:"block"}); 232 | } 233 | }else{ 234 | $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method 235 | tb_position(); 236 | $("#TB_load").remove(); 237 | tb_init("#TB_ajaxContent a.thickbox"); 238 | $("#TB_window").css({display:"block"}); 239 | }); 240 | } 241 | 242 | } 243 | 244 | if(!params['modal']){ 245 | document.onkeyup = function(e){ 246 | if (e == null) { // ie 247 | keycode = event.keyCode; 248 | } else { // mozilla 249 | keycode = e.which; 250 | } 251 | if(keycode == 27){ // close 252 | tb_remove(); 253 | } 254 | }; 255 | } 256 | 257 | } catch(e) { 258 | //nothing here 259 | } 260 | } 261 | 262 | //helper functions below 263 | function tb_showIframe(){ 264 | $("#TB_load").remove(); 265 | $("#TB_window").css({display:"block"}); 266 | } 267 | 268 | function tb_remove() { 269 | $("#TB_imageOff").unbind("click"); 270 | $("#TB_closeWindowButton").unbind("click"); 271 | $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); 272 | $("#TB_load").remove(); 273 | if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 274 | $("body","html").css({height: "auto", width: "auto"}); 275 | $("html").css("overflow",""); 276 | } 277 | document.onkeydown = ""; 278 | document.onkeyup = ""; 279 | return false; 280 | } 281 | 282 | function tb_position() { 283 | $("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); 284 | if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6 285 | $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); 286 | } 287 | } 288 | 289 | function tb_parseQuery ( query ) { 290 | var Params = {}; 291 | if ( ! query ) {return Params;}// return empty object 292 | var Pairs = query.split(/[;&]/); 293 | for ( var i = 0; i < Pairs.length; i++ ) { 294 | var KeyVal = Pairs[i].split('='); 295 | if ( ! KeyVal || KeyVal.length != 2 ) {continue;} 296 | var key = unescape( KeyVal[0] ); 297 | var val = unescape( KeyVal[1] ); 298 | val = val.replace(/\+/g, ' '); 299 | Params[key] = val; 300 | } 301 | return Params; 302 | } 303 | 304 | function tb_getPageSize(){ 305 | var de = document.documentElement; 306 | var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; 307 | var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; 308 | arrayPageSize = [w,h]; 309 | return arrayPageSize; 310 | } 311 | 312 | function tb_detectMacXFF() { 313 | var userAgent = navigator.userAgent.toLowerCase(); 314 | if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { 315 | return true; 316 | } 317 | } 318 | 319 | 320 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/comm/xml2json.js: -------------------------------------------------------------------------------- 1 | /* 2 | ### jQuery XML to JSON Plugin v1.0 - 2008-07-01 ### 3 | * http://www.fyneworks.com/ - diego@fyneworks.com 4 | * Dual licensed under the MIT and GPL licenses: 5 | * http://www.opensource.org/licenses/mit-license.php 6 | * http://www.gnu.org/licenses/gpl.html 7 | ### 8 | Website: http://www.fyneworks.com/jquery/xml-to-json/ 9 | *//* 10 | # INSPIRED BY: http://www.terracoder.com/ 11 | AND: http://www.thomasfrank.se/xml_to_json.html 12 | AND: http://www.kawa.net/works/js/xml/objtree-e.html 13 | *//* 14 | This simple script converts XML (document of code) into a JSON object. It is the combination of 2 15 | 'xml to json' great parsers (see below) which allows for both 'simple' and 'extended' parsing modes. 16 | */ 17 | // Avoid collisions 18 | ;if(window.jQuery) (function($){ 19 | 20 | // Add function to jQuery namespace 21 | $.extend({ 22 | 23 | // converts xml documents and xml text to json object 24 | xml2json: function(xml, extended) { 25 | if(!xml) return {}; // quick fail 26 | 27 | //### PARSER LIBRARY 28 | // Core function 29 | function parseXML(node, simple){ 30 | if(!node) return null; 31 | var txt = '', obj = null, att = null; 32 | var nt = node.nodeType, nn = jsVar(node.localName || node.nodeName); 33 | var nv = node.text || node.nodeValue || ''; 34 | /*DBG*/ //if(window.console) console.log(['x2j',nn,nt,nv.length+' bytes']); 35 | if(node.childNodes){ 36 | if(node.childNodes.length>0){ 37 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'CHILDREN',node.childNodes]); 38 | $.each(node.childNodes, function(n,cn){ 39 | var cnt = cn.nodeType, cnn = jsVar(cn.localName || cn.nodeName); 40 | var cnv = cn.text || cn.nodeValue || ''; 41 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'node>a',cnn,cnt,cnv]); 42 | if(cnt == 8){ 43 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'node>b',cnn,'COMMENT (ignore)']); 44 | return; // ignore comment node 45 | } 46 | else if(cnt == 3 || cnt == 4 || !cnn){ 47 | // ignore white-space in between tags 48 | if(cnv.match(/^\s+$/)){ 49 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'node>c',cnn,'WHITE-SPACE (ignore)']); 50 | return; 51 | }; 52 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'node>d',cnn,'TEXT']); 53 | txt += cnv.replace(/^\s+/,'').replace(/\s+$/,''); 54 | // make sure we ditch trailing spaces from markup 55 | } 56 | else{ 57 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'node>e',cnn,'OBJECT']); 58 | obj = obj || {}; 59 | if(obj[cnn]){ 60 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'node>f',cnn,'ARRAY']); 61 | if(!obj[cnn].length) obj[cnn] = myArr(obj[cnn]); 62 | obj[cnn][ obj[cnn].length ] = parseXML(cn, true/* simple */); 63 | obj[cnn].length = obj[cnn].length; 64 | } 65 | else{ 66 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'node>g',cnn,'dig deeper...']); 67 | obj[cnn] = parseXML(cn); 68 | }; 69 | }; 70 | }); 71 | };//node.childNodes.length>0 72 | };//node.childNodes 73 | if(node.attributes){ 74 | if(node.attributes.length>0){ 75 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'ATTRIBUTES',node.attributes]) 76 | att = {}; obj = obj || {}; 77 | $.each(node.attributes, function(a,at){ 78 | var atn = jsVar(at.name), atv = at.value; 79 | att[atn] = atv; 80 | if(obj[atn]){ 81 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'attr>',atn,'ARRAY']); 82 | if(!obj[atn].length) obj[atn] = myArr(obj[atn]);//[ obj[ atn ] ]; 83 | obj[atn][ obj[atn].length ] = atv; 84 | obj[atn].length = obj[atn].length; 85 | } 86 | else{ 87 | /*DBG*/ //if(window.console) console.log(['x2j',nn,'attr>',atn,'TEXT']); 88 | obj[atn] = atv; 89 | }; 90 | }); 91 | //obj['attributes'] = att; 92 | };//node.attributes.length>0 93 | };//node.attributes 94 | if(obj){ 95 | obj = $.extend( (txt!='' ? new String(txt) : {}),/* {text:txt},*/ obj || {}/*, att || {}*/); 96 | txt = (obj.text) ? (typeof(obj.text)=='object' ? obj.text : [obj.text || '']).concat([txt]) : txt; 97 | if(txt) obj.text = txt; 98 | txt = ''; 99 | }; 100 | var out = obj || txt; 101 | //console.log([extended, simple, out]); 102 | if(extended){ 103 | if(txt) out = {};//new String(out); 104 | txt = out.text || txt || ''; 105 | if(txt) out.text = txt; 106 | if(!simple) out = myArr(out); 107 | }; 108 | return out; 109 | };// parseXML 110 | // Core Function End 111 | // Utility functions 112 | var jsVar = function(s){ return String(s || '').replace(/-/g,"_"); }; 113 | var isNum = function(s){ return (typeof s == "number") || String((s && typeof s == "string") ? s : '').test(/^((-)?([0-9]*)((\.{0,1})([0-9]+))?$)/); }; 114 | var myArr = function(o){ 115 | if(!o.length) o = [ o ]; o.length=o.length; 116 | // here is where you can attach additional functionality, such as searching and sorting... 117 | return o; 118 | }; 119 | // Utility functions End 120 | //### PARSER LIBRARY END 121 | 122 | // Convert plain text to xml 123 | if(typeof xml=='string') xml = $.text2xml(xml); 124 | 125 | // Quick fail if not xml (or if this is a node) 126 | if(!xml.nodeType) return; 127 | if(xml.nodeType == 3 || xml.nodeType == 4) return xml.nodeValue; 128 | 129 | // Find xml root node 130 | var root = (xml.nodeType == 9) ? xml.documentElement : xml; 131 | 132 | // Convert xml to json 133 | var out = parseXML(root, true /* simple */); 134 | 135 | // Clean-up memory 136 | xml = null; root = null; 137 | 138 | // Send output 139 | return out; 140 | }, 141 | 142 | // Convert text to XML DOM 143 | text2xml: function(str) { 144 | // NOTE: I'd like to use jQuery for this, but jQuery makes all tags uppercase 145 | //return $(xml)[0]; 146 | var out; 147 | try{ 148 | var xml = ($.browser.msie)?new ActiveXObject("Microsoft.XMLDOM"):new DOMParser(); 149 | xml.async = false; 150 | }catch(e){ throw new Error("XML Parser could not be instantiated") }; 151 | try{ 152 | if($.browser.msie) out = (xml.loadXML(str))?xml:false; 153 | else out = xml.parseFromString(str, "text/xml"); 154 | }catch(e){ throw new Error("Error parsing XML string") }; 155 | return out; 156 | } 157 | 158 | }); // extend $ 159 | 160 | })(jQuery); 161 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/adapter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/adapter.js -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/css/gznhgSytle.css: -------------------------------------------------------------------------------- 1 | /************************************************************************* 2 | * creator : @ji 3 | * Function : 国债逆回购页面样式css文件 4 | * Date :2017-01-23 5 | *************************************************************************/ 6 | @charset "utf-8"; 7 | *{margin:0;} 8 | html{ 9 | overflow: visible; 10 | } 11 | b{ 12 | font-size: 12pt; 13 | }; 14 | table{ 15 | border-collapse: collapse; 16 | border-spacing: 0; 17 | } 18 | body{ 19 | font:9pt "Microsoft YaHei","WenQuanYi Micro Hei","sans-serif"; 20 | margin:0; 21 | padding:0; 22 | cursor:default; 23 | } 24 | .BlockMain{ 25 | width:682px; 26 | height:454px; 27 | margin:2px 0 0 2px; 28 | } 29 | .PageSize{ 30 | width:644px; 31 | height:420px; 32 | margin-left:10px; 33 | } 34 | /**页面标题栏,包括关闭按钮**/ 35 | .block_main_title{ 36 | width:100%; 37 | height:30px; 38 | background:#4084D5; 39 | } 40 | .block_main_head{ 41 | width:150px; 42 | height:28px; 43 | line-height:28px; 44 | font-size:10pt; 45 | color:#BBE5FF; 46 | float:left; 47 | margin-left:20px; 48 | } 49 | .BlockClose{ 50 | width:30px; 51 | height:30px; 52 | position:absolute; 53 | left:654px; 54 | top:2px; 55 | background:url('../images/BtnCloseNormal.bmp') no-repeat; 56 | float:left; 57 | } 58 | .BlockClose:hover{ 59 | width:30px; 60 | height:30px; 61 | position:absolute; 62 | left:654px; 63 | background:url('../images/BtnCloseHover.bmp') no-repeat; 64 | float:left; 65 | } 66 | .BlockClose:active{ 67 | width:30px; 68 | height:30px; 69 | position:absolute; 70 | left:654px; 71 | background:url('../images/BtnClosePushed.bmp') no-repeat; 72 | float:left; 73 | } 74 | /**资产页面**/ 75 | .PageRoot{ 76 | width:100%; 77 | height:424px; 78 | text-align:center; 79 | } 80 | 81 | /**上海、深圳市场**/ 82 | .shanghaiMarket{ 83 | width:100%; 84 | height:118px; 85 | border-bottom:1px solid #EEEFEF; 86 | } 87 | .shenzhenMarket{ 88 | width:100%; 89 | height:118px; 90 | border-bottom:1px solid #EEEFEF; 91 | } 92 | .tableHead{ 93 | width:72px; 94 | height:90px; 95 | float:left; 96 | margin-top:14px; 97 | margin-bottom:14px; 98 | } 99 | .tableSort{ 100 | width:102px; 101 | height:90px; 102 | float:left; 103 | margin-top:14px; 104 | margin-bottom:14px; 105 | margin-left:10px; 106 | margin-right:0px; 107 | background:#F7F7F7; 108 | border:1px solid #EEEFEF; 109 | cursor:pointer; 110 | } 111 | .market{ 112 | width:72px; 113 | height:50px; 114 | font:13pt "Microsoft YaHei"; 115 | color:#222222; 116 | font-weight:600; 117 | line-height:40px; 118 | } 119 | .mixMoney{ 120 | width:70px; 121 | height:40px; 122 | font:9pt "Microsoft YaHei"; 123 | color:#666; 124 | float:left; 125 | } 126 | .tableSize{ 127 | width:102px; 128 | text-align:left; 129 | } 130 | .data1{ 131 | font-size:13pt; 132 | color:#222222; 133 | font-weight:600; 134 | line-height:30px; 135 | text-indent:5px; 136 | } 137 | .data2{ 138 | font-size:9pt; 139 | color:#666; 140 | text-indent:5px; 141 | } 142 | .tableBr{ 143 | line-height:10px; 144 | } 145 | .data3{ 146 | font-size:16pt; 147 | color:#FF0000; 148 | text-indent:5px; 149 | } 150 | .textInfo{ 151 | width:100%; 152 | height:27px; 153 | margin-top:10px; 154 | } 155 | .lendMoneyTxt{ 156 | width:70px; 157 | height:27px; 158 | float:left; 159 | line-height:27px; 160 | margin:2px; 161 | } 162 | #kongjian{ 163 | width:150px; 164 | height:27px; 165 | line-height:27px; 166 | float:left; 167 | overflow:visible; 168 | } 169 | .tupian{ 170 | width:16px; 171 | height:20px; 172 | float:left; 173 | margin: 5px 0 0 10px; 174 | } 175 | .addMoney{ 176 | width:16px; 177 | height:9px; 178 | cursor:pointer; 179 | background:url('../images/add.png') no-repeat; 180 | } 181 | .subtractMoney{ 182 | width:16px; 183 | height:9px; 184 | margin-top:2px; 185 | cursor:pointer; 186 | background:url('../images/subtract.png') no-repeat; 187 | } 188 | .priceTxt{ 189 | width:90px; 190 | height:27px; 191 | float:left; 192 | text-align:left; 193 | line-height:27px; 194 | text-indent:45px; 195 | } 196 | 197 | #usableMoney{ 198 | width:100%; 199 | height:20px; 200 | float:left; 201 | margin-top:6px; 202 | } 203 | .usableMoneyTxt{ 204 | position:absolute; 205 | left:94px; 206 | top:310px; 207 | width:70px; 208 | height:20px; 209 | margin-top:8px; 210 | float:left; 211 | line-height:20px; 212 | } 213 | .PageBottom{ 214 | width:100%; 215 | height:100px; 216 | } 217 | .haveMoney{ 218 | position:absolute; 219 | left:160px; 220 | top:310px; 221 | width:250px; 222 | height:20px; 223 | float:left; 224 | line-height:20px; 225 | margin-top:8px; 226 | color:#ff0000; 227 | text-align:left; 228 | } 229 | .lendBtn{ 230 | position:absolute; 231 | left:100px; 232 | top:360px; 233 | width:100px; 234 | height:30px; 235 | cursor:pointer; 236 | font-size:10pt; 237 | line-height:30px; 238 | } 239 | .lendBtnDisable{ 240 | width:100px; 241 | height:30px; 242 | color:FFFFFF; 243 | background-color:#dfdfdf; 244 | border:1px solid #9AA1AB; 245 | float:left; 246 | } 247 | .lendBtnEnable{ 248 | width:100px; 249 | height:30px; 250 | color:FFFFFF; 251 | background-color:#4084D5; 252 | border:1px solid #9AA1AB; 253 | float:left; 254 | } 255 | #shuru{ 256 | width:150px; 257 | height:27px; 258 | border:1px solid; 259 | border-color:#B3B3B3; 260 | line-height:27px; 261 | color:#999; 262 | } 263 | #interestRate{ 264 | position:absolute; 265 | left:210px; 266 | top:365px; 267 | width:300px; 268 | height:30px; 269 | line-height:30px; 270 | text-align:center; 271 | text-align:left; 272 | z-index:-1; 273 | } 274 | #table1{ 275 | line-height:30px; 276 | margin:6px; 277 | } 278 | 279 | 280 | /**价格下拉框**/ 281 | .icon{ 282 | background: url('../images/price.png') no-repeat; 283 | font-size:0; 284 | line-height:0; 285 | } 286 | .icon-select{ 287 | width:20px; 288 | height:7px; 289 | float:right; 290 | display:inline; 291 | margin-top:13px; 292 | } 293 | .form-group{ 294 | float:left; 295 | width:130px; 296 | height:27px; 297 | position: relative; 298 | display: _inline; 299 | } 300 | .form-group-last{ 301 | margin-right:0; 302 | } 303 | .form-group-title{ 304 | overflow: hidden; 305 | } 306 | .form-group-title .icon-warn{ 307 | margin:2px; 308 | } 309 | .form-group-select{ 310 | background: #F8F8F8; 311 | border:1px solid #ABB7C7; 312 | height:27px; 313 | line-height: 27px; 314 | padding:0 5px; 315 | } 316 | .form-group-select .fl{ 317 | width:130px; 318 | overflow: hidden; 319 | text-overflow: ellipsis; 320 | white-space: nowrap; 321 | cursor: default; 322 | } 323 | .form-group-options{ 324 | z-index:10; 325 | position:absolute; 326 | top:28px; 327 | left:0; 328 | width:128px; 329 | border:1px solid #9AA1AB; 330 | } 331 | .form-group-options .item { 332 | display: block; 333 | width:118px; 334 | height:27px; 335 | line-height: 27px; 336 | overflow: hidden; 337 | white-space: nowrap; 338 | } 339 | .form-group-options li{ 340 | 341 | text-align:left; 342 | text-indent:10px; 343 | margin:0; 344 | padding:0; 345 | list-sytle:none; 346 | cursor:pointer; 347 | width:128px; 348 | } 349 | .form-group-options .item-active , 350 | .form-group-options .item:hover{ 351 | background: #E8E8E8; 352 | } 353 | #default{float:left;} 354 | 355 | .hideHtml{display :none;} 356 | .showHtml{display: block;} 357 | 358 | /**委托成功页面**/ 359 | 360 | .success{ 361 | width:100%; 362 | height:420px; 363 | } 364 | .pictureSuccess{ 365 | width:100%; 366 | height:120px; 367 | text-align:center; 368 | border-bottom:1px solid #EEEFEF; 369 | } 370 | .IMGSuccess{ 371 | width:67px; 372 | height:51px; 373 | position:absolute; 374 | left:45%; 375 | margin-top:30px; 376 | background:url('../images/Bitmap.png') no-repeat; 377 | } 378 | .theadSuccess{ 379 | width:100%; 380 | height:35px; 381 | border-bottom:1px solid #EEEFEF; 382 | background: #F7F7F7; 383 | } 384 | #tableTheadSuccess td{ 385 | width:113px; 386 | line-height:35px; 387 | text-align:center; 388 | color:#999; 389 | } 390 | .tableSuccess{ 391 | width:100%; 392 | height:35px; 393 | border-bottom:1px solid #EEEFEF; 394 | } 395 | #tableSuccessMSG td{ 396 | width:113px; 397 | line-height:35px; 398 | text-align:center; 399 | } 400 | .warmPrompt{ 401 | width:100%; 402 | height:120px; 403 | line-height:30px; 404 | color:red; 405 | } 406 | .btnSuccess{ 407 | width:100px; 408 | height:30px; 409 | line-height:30px; 410 | margin:0 0 0 44%; 411 | text-align:center; 412 | } 413 | #buttonSuccess{ 414 | width:100px; 415 | height: 30px; 416 | background:#4084D5; 417 | color:white; 418 | cursor:pointer; 419 | } 420 | /**委托失败页面**/ 421 | 422 | .failure{ 423 | width:100%; 424 | height:426px; 425 | } 426 | .pictureFailure{ 427 | width:100%; 428 | height:120px; 429 | line-height:120px; 430 | text-align:center; 431 | } 432 | .IMGFailure{ 433 | width:67px; 434 | height:51px; 435 | position:absolute; 436 | left:45%; 437 | margin-top:30px; 438 | background: url('../images/faild.png') no-repeat; 439 | } 440 | .faildPrompt{ 441 | width:100%; 442 | height:170px; 443 | text-align:center; 444 | line-height:30px; 445 | color:red; 446 | } 447 | #returnUpPage{ 448 | color:#4084D5; 449 | line-height:30px; 450 | } 451 | .btnFailure{ 452 | width:300px; 453 | height:30px; 454 | margin-left:260px; 455 | } 456 | .buttonFailure{ 457 | position:absolute; 458 | left:320px; 459 | top:320px; 460 | width:100px; 461 | height: 30px; 462 | background:#4084D5; 463 | color:white; 464 | text-align:center; 465 | cursor:pointer; 466 | line-height:30px; 467 | } 468 | /**委托确认提示框**/ 469 | .BlockConfirm{ 470 | position:absolute; 471 | left:190px; 472 | top:100px; 473 | width:300px; 474 | height:230px; 475 | border: solid 1px #4084D5; 476 | background:#ffffff; 477 | } 478 | .BlockConfirmHead{ 479 | width:100%; 480 | height:30px; 481 | background:#4084D5; 482 | } 483 | .BlockConfirmTital{ 484 | width:100%; 485 | height:30px; 486 | line-height:30px; 487 | color:#ffffff; 488 | text-align:center; 489 | font-size:10pt; 490 | } 491 | .BlockConfirmText{ 492 | float:left; 493 | margin:auto; 494 | width:100%; 495 | height:30px; 496 | line-height:30px; 497 | font-size:10pt; 498 | text-align:left; 499 | } 500 | .BlockConfirmInfo{ 501 | margin:30px 0 0 20px; 502 | width:250px; 503 | height:120px; 504 | text-align:left; 505 | } 506 | .BlockConfirmStock{ 507 | margin-left:10px; 508 | width:150px; 509 | height:25px; 510 | line-height:25px; 511 | font-size:10pt; 512 | float:left; 513 | } 514 | .BlockConfirmStockText{ 515 | width:60px; 516 | height:25px; 517 | line-height:25px; 518 | font-size:10pt; 519 | float:left; 520 | color:#999999; 521 | } 522 | .BlockConfirmBtn{ 523 | width:200px; 524 | height:30px; 525 | line-height:30px; 526 | margin:auto; 527 | } 528 | .BlockConfirmBtnCancel{ 529 | width:90px; 530 | height:30px; 531 | line-height:30px; 532 | background:#999999; 533 | float:left; 534 | margin-left:20px; 535 | } 536 | .BlockConfirmBtnEnsure{ 537 | width:90px; 538 | height:30px; 539 | line-height:30px; 540 | background:#4084D5; 541 | color:#ffffff; 542 | float:left; 543 | } 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/css/style.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | html{overflow: hidden;} 4 | body,input,ul,p {margin:0;padding:0;} 5 | body{font:14px/1.2 "Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;color:#313131;} 6 | input,table,tr,td {border:0;} 7 | input::-ms-clear {display:none;width:0;height:0;} 8 | table {border-collapse: collapse;border-spacing: 0;} 9 | ul{list-style: none;} 10 | a,a:hover,a:active,a:visited {color:red;text-decoration: none;} 11 | .clearfix {zoom:1;} 12 | .clearfix:after,.clearfix:before {content:""; display: table;} 13 | .clearfix:after {clear:both; overflow: hidden;} 14 | .cr {color:#FF3232;} 15 | .fl {float:left;_display:inline;} 16 | .fr {float: right;_display:inline;} 17 | .text-bigger{font-size:1.2em;} 18 | .icon{background: url('../images/icon2.png') no-repeat;font-size:0; line-height: 0;} 19 | .icon-title{background: url('../images/icon.png') no-repeat;width: 68px;height:55px;margin:0 auto;} 20 | .title-ok{background-position: 0 -56px;} 21 | .title-mistake{background-position: 0 -115px;} 22 | .title-search{background-position: 0 -302px;} 23 | .title-medal{background-position: 0 -175px;} 24 | .title-nomedal{background-position: 0 -239px;} 25 | .title-new{background-position: 0 3px;} 26 | .icon-ok{background-position: -8px -154px;height: 16px; width: 16px; float:left;_display:inline;} 27 | .icon-warnSg{background-position: -31px -155px; width:12px; height:12px; _display:inline;} 28 | .icon-warnYcx{background-position: -31px -155px; width:12px; height:12px;float:left;_display:inline;} 29 | .icon-select{background-position: -55px -157px;width:15px;height:7px;float:right;_display:inline;margin-top:15px;} 30 | 31 | .hideHtml{ 32 | display :none; 33 | } 34 | 35 | .showHtml{ 36 | display: block; 37 | } 38 | .container{ 39 | width:640px; 40 | height:400px; 41 | margin:0 auto; 42 | position: relative; 43 | } 44 | .watermarking{ 45 | background-position:0 0; 46 | width:124px; 47 | height:104px; 48 | position: absolute; 49 | right:0; 50 | bottom:20px; 51 | } 52 | .header{ 53 | position: relative; 54 | padding:18px 0; 55 | } 56 | .header-title{ 57 | text-align: center; 58 | font-size:15px; 59 | margin-top:5px; 60 | } 61 | .content{ 62 | height:220px; 63 | padding:0 20px; 64 | overflow-y:auto; 65 | overflow-x:hidden; 66 | 67 | } 68 | .content1{ 69 | height:220px; 70 | padding:0 20px; 71 | overflow-y:hidden; 72 | overflow-x:hidden; 73 | 74 | } 75 | .content-search{ 76 | padding:0 20px; 77 | } 78 | .table { 79 | width:100%; 80 | table-layout: fixed; 81 | overflow-y: visible; 82 | overflow-x: visible; 83 | } 84 | td{ 85 | height: 40px; 86 | line-height: 40px; 87 | text-align: center; 88 | border:1px solid #AAB7C7; 89 | } 90 | thead{ 91 | background: #EBF3F6; 92 | } 93 | thead td{ 94 | height:30px; 95 | line-height: 30px; 96 | font-size: 13px; 97 | } 98 | .table-conclusion1, 99 | .table-conclusion2{ 100 | text-align: left; 101 | padding-left: 10px; 102 | } 103 | .table-conclusion1{ 104 | border-right:0; 105 | }.table-conclusion2{ 106 | border-left:0; 107 | } 108 | .table-conclusion2 span{ 109 | float:left; 110 | } 111 | .table-conclusion2 .icon-ok{ 112 | margin-top:12px; 113 | margin-left:5px; 114 | } 115 | .aside{ 116 | font-size:12px; 117 | margin-top:5px; 118 | line-height: 2; 119 | } 120 | .aside-explain{ 121 | color:#FF3232; 122 | margin:15px 0; 123 | text-align: center; 124 | } 125 | .aside-section{ 126 | padding-left:25px; 127 | width:100%; 128 | } 129 | .aside-section .cr{ 130 | margin-left: -25px; 131 | } 132 | .footer { 133 | padding:0 20px; 134 | position: absolute; 135 | top: 335px; 136 | 137 | } 138 | .dssg 139 | { 140 | position:absolute; 141 | left:400px; 142 | top:0px; 143 | width: 240px; 144 | height: 40px; 145 | cursor:pointer; 146 | } 147 | .switch 148 | { 149 | width:33px; 150 | height:17px; 151 | position:relative; 152 | margin-top:23px; 153 | } 154 | .dssg_text 155 | { 156 | width:60px; 157 | height:10px; 158 | position:relative; 159 | left:40px; 160 | top:-18px; 161 | color:#007FFF; 162 | } 163 | 164 | .timerCtrl 165 | { 166 | width:140px; 167 | height:40px; 168 | position:relative; 169 | left:108px; 170 | top:-33px; 171 | } 172 | 173 | .dssg_select 174 | { 175 | height:100px; 176 | } 177 | 178 | .under_foot 179 | { 180 | position:absolute; 181 | height:40px; 182 | width:640px; 183 | top: 375px; 184 | text-align:center; 185 | line-height:40px; 186 | } 187 | 188 | #caption 189 | { 190 | position:absolute; 191 | top:40px; 192 | left:-5px; 193 | height:40px; 194 | width:640px; 195 | text-align:center; 196 | line-height:40px; 197 | 198 | } 199 | 200 | .btn{ 201 | 202 | float:none; 203 | width:120px; 204 | height:35px; 205 | line-height: 35px; 206 | text-align: center; 207 | background: #F4FCFF; 208 | border:1px solid #244169; 209 | border-radius: 5px; 210 | margin:0 auto; 211 | cursor: pointer; 212 | display: block; 213 | } 214 | .content-search .btn { 215 | width:178px; 216 | margin:10px auto 20px; 217 | } 218 | .link-red, 219 | .link-red:visited, 220 | .link-red:hover{ 221 | font-size:12px; 222 | color:#FF3232; 223 | text-decoration: underline; 224 | line-height: 37px; 225 | } 226 | .footer .link-red{ 227 | position:absolute; 228 | } 229 | .btn-ban{ 230 | background: #E8E8E8; 231 | color:#A4A4A4; 232 | border:1px solid #9AA1AB; 233 | cursor:not-allowed; 234 | } 235 | .btn-active{ 236 | height:40px; 237 | width:124px; 238 | background-position: 0 -110px; 239 | margin:0 auto; 240 | cursor: pointer; 241 | } 242 | 243 | .form-group{ 244 | float:left; 245 | margin-right:30px; 246 | width:180px; 247 | position: relative; 248 | display: _inline; 249 | } 250 | .form-group-last{ 251 | margin-right:0; 252 | } 253 | .form-group-title{ 254 | zoom:1; 255 | overflow: hidden; 256 | } 257 | .form-group-title .icon-warn{ 258 | margin:2px; 259 | } 260 | .form-group-input, 261 | .form-group-select{ 262 | background: #F8F8F8; 263 | border:1px solid #ABB7C7; 264 | margin:8px 0; 265 | height:35px; 266 | line-height: 35px; 267 | padding:0 5px; 268 | } 269 | .form-group-select .fl{ 270 | width:150px; 271 | overflow: hidden; 272 | text-overflow: ellipsis; 273 | white-space: nowrap; 274 | cursor: default; 275 | } 276 | .form-group-input input{ 277 | width:168px; 278 | height:35px; 279 | line-height: 35px; 280 | background: none; 281 | ime-mode:disabled; 282 | } 283 | .form-group-options{ 284 | background: #fff; 285 | z-index:10; 286 | position:absolute; 287 | top:61px; 288 | left:0; 289 | width:178px; 290 | border:1px solid #9AA1AB; 291 | } 292 | .form-group-options .item { 293 | display: block; 294 | width:168px; 295 | height:30px; 296 | line-height: 30px; 297 | overflow: hidden; 298 | text-overflow: ellipsis; 299 | white-space: nowrap; 300 | padding:0 5px; 301 | } 302 | .form-group-options .item-active , 303 | .form-group-options .item:hover{ 304 | background: #E8E8E8; 305 | } 306 | 307 | .nbr 308 | { 309 | display:inline; 310 | } 311 | 312 | #lean_overlay 313 | { 314 | position: fixed; 315 | z-index: 100; 316 | top: 0px; 317 | left: 0px; 318 | height: 100%; 319 | width: 100%; 320 | background: #000; 321 | display: none; 322 | } 323 | 324 | #OpenWindow 325 | { 326 | position:absolute; 327 | top:100px; 328 | left:50px; 329 | z-index:11000; 330 | background: none repeat scroll 0 0 #FFFFFF; 331 | border-radius: 5px 5px 5px 5px; 332 | display:none; 333 | } 334 | 335 | 336 | 337 | .prompt_container 338 | { 339 | width:333px; 340 | height:184px; 341 | margin:0 auto; 342 | position: absolute; 343 | /*left:200px; 344 | top:-200px;*/ 345 | } 346 | 347 | .top_edge 348 | { 349 | height:22px; 350 | background:#4084d5; 351 | cursor:default; 352 | /* position:absolute; 353 | top:-22px; 354 | background-position:0 0; 355 | position: absolute; 356 | right:0; 357 | bottom:0;*/ 358 | } 359 | 360 | .prompt_header 361 | { 362 | height:21px; 363 | text-align:center; 364 | /* line-height:32px;*/ 365 | position: relative; 366 | padding:16px 0; 367 | } 368 | 369 | .prompt_content 370 | { 371 | height:55px; 372 | padding:2px 21px 0px 20px; 373 | } 374 | 375 | .prompt_foot 376 | { 377 | height:54px; 378 | position: relative; 379 | text-align:center; 380 | line-height:24px; 381 | } 382 | 383 | .red_font 384 | { 385 | font-size:21px; 386 | color:#ff0000; 387 | font-family:Microsoft Yahei; 388 | } 389 | 390 | .black_font 391 | { 392 | font-size:13px; 393 | font-family:Microsoft Yahei; 394 | font-weight:bold; 395 | /* line-height:24px;*/ 396 | color:#000000; 397 | } 398 | 399 | .confirm_font 400 | { 401 | font-size:12px; 402 | font-family:Microsoft Yahei; 403 | font-weight:bold; 404 | /* line-height:24px;*/ 405 | color:#000000; 406 | } 407 | 408 | .blue_line 409 | { 410 | border:1px solid #4084d5; 411 | } 412 | 413 | .confirm_box 414 | { 415 | height:24px; 416 | width:60px; 417 | top:15px; 418 | left:0px; 419 | position:relative; 420 | cursor:default; 421 | } 422 | 423 | .Model 424 | { 425 | display :none; 426 | } 427 | 428 | .close_div 429 | { 430 | width:22px; 431 | height:22px; 432 | background:#4084d5; 433 | position:absolute; 434 | left:311px; 435 | } 436 | 437 | .close_sign 438 | { 439 | /* width:20px; 440 | height:20px; 441 | padding:1px 1px; */ 442 | font-size:18px; 443 | color:#ffffff; 444 | line-height: 22px; 445 | text-align: center; 446 | /* position:absolute; 447 | left:315px;*/ 448 | } 449 | 450 | .ver_control 451 | { 452 | display: none; 453 | } 454 | .QRcode 455 | { 456 | position: absolute; 457 | left: 595px; 458 | top:8px; 459 | background : url("../images/QRcode.png") no-repeat; 460 | width:76px; 461 | height:79px; 462 | display:block; 463 | z-index:1; 464 | cursor:pointer; 465 | display:none; 466 | } 467 | .tips 468 | { 469 | position:absolute; 470 | left: 390px; 471 | top: 25px; 472 | background: url("../images/tips.png") no-repeat; 473 | width :221px; 474 | height: 24px; 475 | display:none; 476 | z-index:1; 477 | cursor:pointer; 478 | display:none; 479 | 480 | } 481 | .QRcodeMain 482 | { 483 | position:absolute; 484 | background:url("../images/QRcodeMain.png") no-repeat;; 485 | left:220px; 486 | top:55px; 487 | width:223px; 488 | height:270px; 489 | display:none; 490 | z-index:1; 491 | 492 | } 493 | .QRcodeMainCloseBtn 494 | { 495 | position:absolute; 496 | background: url("../images/QRcodeMainCloseBtn.png") no-repeat; 497 | left:420px; 498 | top:55px; 499 | width:20px; 500 | height:22px; 501 | display:none; 502 | z-index:2; 503 | cursor:pointer; 504 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/Bitmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/Bitmap.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/BtnCloseHover.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/BtnCloseHover.bmp -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/BtnCloseNormal.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/BtnCloseNormal.bmp -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/BtnClosePushed.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/BtnClosePushed.bmp -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/QRcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/QRcode.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/QRcodeMain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/QRcodeMain.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/QRcodeMainCloseBtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/QRcodeMainCloseBtn.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/add.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/error.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/faild.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/faild.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/icon.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/icon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/icon2.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/price.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/price.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/refresh.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/subtract.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/subtract.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/switch_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/switch_off.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/switch_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/switch_on.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/images/tips.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/html/images/tips.png -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/js/gzManager.js: -------------------------------------------------------------------------------- 1 | /************************************************************************* 2 | * creator : @ji 3 | * Function : 国债逆回购页面功能函数(与页面操作无关) 4 | * Date :2017-01-23 5 | *************************************************************************/ 6 | 7 | 8 | /******************************************************************* 9 | * creator : @ji 10 | * function : 价格下拉框的下标对应显示内容 11 | * Date : 2017-01-23 12 | * parameter : 13 | * return : 14 | * *****************************************************************/ 15 | var GZNHG_PriceComboBoxShowContentConfig = 16 | { 17 | "0" : "买 一", 18 | "1" : "买 二", 19 | "2" : "买 三", 20 | "3" : "买 四", 21 | "4" : "买 五" 22 | }; 23 | 24 | /******************************************************************* 25 | * creator : @niuyaozong 26 | * function : 初始化国债品种信息 二维数组 g_arrGzInfoData[10][9] gpdm(股票代码),zxjg(最新价格),mrj1(买一价),mrj2(买二价),mrj3(买三价),mrj4(买四价),mrj5(买五价),sxfDays(手续费天数),zjzyDays(资金占用天数即计息天数) 27 | * Date : 2017-12-15 28 | * parameter : 29 | * return : 30 | * *****************************************************************/ 31 | function GZNHG_InitGzInfoData() 32 | { 33 | for (var i = 0; i < g_arrGzInfoData.length; i++) 34 | { 35 | g_arrGzInfoData[i] = new Array(9); 36 | 37 | for(var j = 0; j< 9; j++) 38 | { 39 | g_arrGzInfoData[i][j] = ''; 40 | } 41 | } 42 | } 43 | 44 | /********************************************* 45 | * 国债逆回购上海市场单位特殊配置表 46 | * "qsid" : "unit" ,unit为100,表示上海市场单位为张 47 | * niuyaozong 20180103 48 | *********************************************/ 49 | var GZNHG_ShMarketUnitSpecialConfig = 50 | { 51 | def : '', 52 | "11" : "100", //财富证券 53 | "12" : "100", //财通证券 54 | "13" : "100", //长城证券 55 | "15" : "100", //长江证券 56 | "16" : "100", //川财证券 57 | "25" : "100", //方正证券 58 | "27" : "100", //广发证券 59 | "29" : "100", //国都证券 60 | "30" : "100", //国联证券 61 | "31" : "100", //国泰君安 62 | "32" : "100", //海通证券 63 | "33" : "100", //信达证券 64 | "35" : "100", //宏信证券 65 | "36" : "100", //恒泰证券 66 | "39" : "100", //华创证券 67 | "40" : "100", //中邮证券 68 | "41" : "100", //华林证券 69 | "46" : "100", //中信浙江 70 | "49" : "100", //金元证券 71 | "51" : "100", //联讯证券 72 | "53" : "100", //民族证券 73 | "57" : "100", //中投证券 74 | "59" : "100", //平安证券 75 | "63" : "100", //世纪证券 76 | "72" : "100", //广发武证 77 | "73" : "100", //西南证券 78 | "75" : "100", //东北证券 79 | "80" : "100", //兴业证券 80 | "85" : "100", //中山证券 81 | "87" : "100", //中银国际 82 | "89" : "100", //中原证券 83 | "90" : "100", //银河证券 84 | "91" : "100", //华福证券 85 | "96" : "100", //太平洋证券 86 | "99" : "100", //万联证券 87 | "100" : "100", //中泰证券(原齐鲁) 88 | "109" : "100", //申港证券 89 | "110" : "100", //红塔证券 90 | "119" : "100", //华菁证券 91 | "120" : "100", //民生证券 92 | "123" : "100", //开源证券 93 | "124" : "100", //财达证券 94 | "125" : "100", //德邦证券 95 | "131" : "100", //中金公司(中金证券) 96 | "134" : "100", //爱建证券 97 | "136" : "100", //华龙证券 98 | "137" : "100", //西藏东方财富证券 99 | "143" : "100", //国元证券 100 | "158" : "100", //中信证券 101 | "185" : "100", //联储证券 102 | "186" : "100", //万和证券 103 | "191" : "100", //华金证券 104 | "193" : "100", //五矿证券 105 | "195" : "100", //江海证券 106 | "196" : "100", //湘财证券 107 | "301" : "100", //中信建投 108 | "302" : "100", //申万宏源(原宏源) 109 | "313" : "100", //国盛证券 110 | "320" : "100", //银泰证券 111 | "322" : "100", //长城国瑞证券 112 | "327" : "100", //山西证券 113 | "331" : "100", //国金证券 114 | "339" : "100", //浙商证券 115 | "340" : "100", //东莞证券 116 | "343" : "100", //天风证券 117 | "344" : "100", //国开证券 118 | "347" : "100", //华融证券 119 | "349" : "100", //大同证券 120 | "552" : "100" //广州证券 121 | }; 122 | 123 | /******************************************************************* 124 | * creator : @ji 125 | * function : 出借金额转换委托数量,上海市场单位为手(1000)(特殊券商单位为张(100),配置表为GZNHG_CountSpecialConfigSH),深圳市场单位为张(100) 126 | * Date : 2017-01-23 127 | * parameter : money:出借金额 scdm:市场代码 128 | * return : count:出借数量 129 | * *****************************************************************/ 130 | function GZNHG_MoneyToCount(money, scdm) 131 | { 132 | var count = 0; 133 | if(money == "" || money == undefined || scdm == "" || scdm == undefined) 134 | { 135 | return 0; 136 | } 137 | 138 | if(scdm == '1') //深圳市场单位为张,一张100元 139 | { 140 | count = parseInt(money, 10) / 100; 141 | } 142 | else if(scdm == '2') //上海市场单位为手,一手1000元 143 | { 144 | count = parseInt(money, 10) / 1000; 145 | } 146 | 147 | var unit = GetValueByKey(GZNHG_ShMarketUnitSpecialConfig, g_qsid); 148 | 149 | if(scdm == '2' && unit != '') // 上海市场,特殊券商按照配置表中单位 150 | { 151 | count = parseInt(money, 10) / parseInt(unit, 10); 152 | } 153 | 154 | return count; 155 | } 156 | 157 | /******************************************************************* 158 | * creator : @ji 159 | * function : 设置可用资金(客户端读取可用资金控件同步返回,调用此函数),若无返回结果(如恒泰证券欢迎界面)发查资金请求 160 | * Date : 2017-01-23 161 | * parameter : 可用资金 162 | * return : 163 | * *****************************************************************/ 164 | function SetZijin(strParam) 165 | { 166 | if(strParam == '') 167 | { 168 | QueryZijin("GZNHG_QueryZijinCallBack"); 169 | return; 170 | } 171 | var eleBalance = document.getElementById("haveMoney"); 172 | eleBalance.innerText = strParam; 173 | } 174 | 175 | /******************************************************************* 176 | * creator : @ji 177 | * function : 保留2位小数 178 | * Date : 2017-01-23 179 | * parameter : 源数据 180 | * return : 保留两位小数后的数字 181 | * *****************************************************************/ 182 | function toDecimal(f, size) 183 | { 184 | var tf = f * Math.pow(10, size); 185 | tf = Math.round(tf + 0.000000001); 186 | tf = tf/Math.pow(10, size); 187 | 188 | if(tf % 1 == 0) 189 | { 190 | parseFloat(tf); 191 | tf = tf.toFixed(2); 192 | } 193 | 194 | var sf="" + tf; 195 | 196 | return formatfloat2(sf,size); 197 | } 198 | 199 | /******************************************************************* 200 | * creator : @ji 201 | * function : 格式化浮点数字符串 202 | * Date : 2017-01-23 203 | * parameter : 源数据 需要保留的小数位数 204 | * return : 保留两位小数后的数字字符串 205 | * *****************************************************************/ 206 | function formatfloat2(f, size) 207 | { 208 | aa = f.split(""); 209 | var varchar = ""; 210 | var num = 0, k = 0; 211 | 212 | for(var i = 0;i< aa.length; i++) 213 | { 214 | varchar += aa[i]; 215 | if(aa[i] == ".") 216 | { 217 | k = 1; 218 | } 219 | 220 | if(k == 1) 221 | { 222 | if(num++ > size) 223 | break; 224 | } 225 | } 226 | 227 | num--; 228 | 229 | for(; num < size; num++) 230 | { 231 | varchar += "0"; 232 | } 233 | 234 | return varchar; 235 | } 236 | 237 | /******************************************************************* 238 | * creator : @niuyaozong 239 | * function : 通过键获取值,若未找到键返回空字符 240 | * Date : 2017-12-17 241 | * parameter : jsonParam:配置表 key:键 242 | * return : value:键所对应值 243 | * *****************************************************************/ 244 | function GetValueByKey(jsonParam, key) 245 | { 246 | var value = jsonParam[key] || jsonParam['def'] || ''; 247 | 248 | return value; 249 | } 250 | 251 | /******************************************************************* 252 | * creator : @ji 253 | * function : 定时器1s一次从自运营服务器查询行情 254 | * Date : 2017-08-10 255 | * parameter : 256 | * return : 257 | * *****************************************************************/ 258 | function GZNHG_QueryHqDataOnTimer() 259 | { 260 | if(g_Timer == '') //页面重新加载后,定时器id开始为空,不查询数据 261 | { 262 | return; 263 | } 264 | else 265 | { 266 | if(g_startMode == "0") //下单独立启动 267 | { 268 | g_callbackOnTimerName = "GZNHG_OnTimerQueryHqDataFromZyyCallBack"; 269 | GZNHG_QueryHqDataFromZyy(g_callbackOnTimerName, g_datatype, g_codelist, g_mmlb); 270 | } 271 | } 272 | } 273 | /******************************************************************* 274 | * creator : @ji 275 | * function : 获取用户本地当前时间 276 | * Date : 2017-04-01 277 | * parameter : 278 | * return : strCurrTime:用户本地时间 格式(yyyy-MM-dd HH-mm-ss) 279 | * *****************************************************************/ 280 | function GetLocalTime() 281 | { 282 | var date = new Date(); 283 | var strYear = date.getFullYear(); 284 | var strMonth = date.getMonth() + 1; 285 | var strDay = date.getDate(); 286 | 287 | if (strMonth >= 1 && strMonth <= 9) 288 | { 289 | strMonth = "0" + strMonth; 290 | } 291 | 292 | if (strDay >= 0 && strDay <= 9) 293 | { 294 | strDay = "0" + strDay; 295 | } 296 | 297 | var hh = date.getHours(); 298 | var mm = date.getMinutes(); 299 | var ss = date.getSeconds(); 300 | 301 | if(hh >= 1 && hh <= 9) 302 | { 303 | hh = "0" + hh; 304 | } 305 | 306 | if(mm >= 0 && mm <= 9) 307 | { 308 | mm = "0" + mm; 309 | } 310 | 311 | if(ss >= 0 && ss <= 9) 312 | { 313 | ss = "0" + ss; 314 | } 315 | 316 | var strCurrTime = strYear.toString() + "-" + strMonth + "-" + strDay + " " + hh.toString() + ":" + mm.toString() + ":" + ss.toString(); 317 | 318 | return strCurrTime; 319 | } 320 | 321 | /******************************************************************* 322 | * creator : @ji 323 | * function : 获取用户本地时区 324 | * Date : 2017-04-01 325 | * parameter : 326 | * return : 327 | * *****************************************************************/ 328 | function GetLocalTimeZone() 329 | { 330 | var munites = new Date().getTimezoneOffset(); 331 | var hour = parseInt(munites / 60); 332 | var munite = munites % 60; 333 | var prefix = "-"; 334 | 335 | if (hour < 0 || munite < 0) 336 | { 337 | prefix = "+"; 338 | hour = -hour; 339 | if (munite < 0) 340 | { 341 | munite = -munite; 342 | } 343 | } 344 | 345 | hour = hour + ""; 346 | munite = munite + ""; 347 | 348 | if (hour.length == 1) 349 | { 350 | hour = "0" + hour; 351 | } 352 | 353 | if (munite.length == 1) 354 | { 355 | munite = "0" + munite; 356 | } 357 | 358 | return prefix + hour + munite; 359 | } 360 | 361 | /******************************************************************* 362 | * creator : @niuyaozong 363 | * function : 关闭定时器,点击关闭按钮关闭国债页面,客户端只是隐藏页面,判断定时器ID有效,关闭定时器 364 | 实际上,若联系两次点击运营位,上次创建的定时器关闭不了,仍然在内存,后续需要优化 365 | * Date : 2017-12-18 366 | * parameter : 367 | * return : 368 | * *****************************************************************/ 369 | function CloseTimer() 370 | { 371 | if(g_Timer == "") 372 | { 373 | return; 374 | } 375 | 376 | self.clearInterval(g_Timer); 377 | } 378 | 379 | /******************************************************************* 380 | * creator : @ji 381 | * function : 启动定时器 382 | * Date : 2017-08-10 383 | * parameter : 384 | * return : 385 | * *****************************************************************/ 386 | function StartTimer() 387 | { 388 | if(g_Timer != '') //定时器有效,不需重新设置定时器 389 | { 390 | return; 391 | } 392 | 393 | g_Timer = self.setInterval("GZNHG_QueryHqDataOnTimer()",1000); //定时器ID 394 | } 395 | 396 | /******************************************************************* 397 | * creator : @ji 398 | * function : sleep函数,毫秒睡眠计时 399 | * Date : 2017-01-23 400 | * parameter : numberMillis:睡眠时间,单位毫秒 401 | * return : 402 | * *****************************************************************/ 403 | function OnSleep(numberMillisecond) 404 | { 405 | var eleEndTime = new Date(); 406 | var strEndTime = eleEndTime.getTime() + numberMillisecond; 407 | 408 | while(true) 409 | { 410 | var eleStartTime = new Date(); 411 | if(eleStartTime.getTime() > strEndTime) 412 | { 413 | return; 414 | } 415 | } 416 | } 417 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/js/gzParseData.js: -------------------------------------------------------------------------------- 1 | /************************************************************************* 2 | * creator : @niuyaozong 3 | * Function : 国债逆回购页面数据解析,客户端返回数据均在此文件解析 4 | * Date :2017-12-12 5 | *************************************************************************/ 6 | 7 | 8 | /******************************************************************* 9 | * creator : @niuyaozong 10 | * function : 解析从自运营服务器查询的行情数据 11 | * Date : 2017-12-12 12 | * parameter : strParam : json字符串 格式:'{"local" : *, "reply" : *}' 13 | * local.reqStart : 请求开始时间戳 14 | * reply.ret_code : 请求返回码 15 | * reply.ret_msg : 请求返回信息 16 | * reply.data : 请求返回国债行情数据 zqdm(证券代码),zxjg(最新价),mrjg1~mrjg5(买一~买五) 17 | * return : 匿名json对象 obj : 日志数据 18 | * jsonParam['retcode'] : 返回码 0成功,其他失败 19 | * jsonParam['retmsg'] : 返回信息 20 | * jsonParam['reqStart'] : 请求开始时间戳 21 | * jsonParam['strParam'] : 请求原始返回数据 22 | * array : 国债行情数据,二维数组,[i][0](证券代码),[i][1](最新价),[i][2]~[i][6](买一~买五) 23 | * *****************************************************************/ 24 | function GZNHG_ParseHqDataFromZyy(strParam) 25 | { 26 | var strToObj = new Function("return " + strParam)(); 27 | 28 | var retcode = strToObj.reply.ret_code; 29 | var retmsg = strToObj.reply.ret_msg; 30 | var jsonParam = {}; 31 | var parse_array = new Array(); 32 | 33 | jsonParam['retcode'] = retcode; 34 | jsonParam['retmsg'] = retmsg; 35 | jsonParam['strParam'] = window.JSON.stringify(strToObj); 36 | jsonParam['reqStart'] = strToObj.local.reqStart; //请求开始时间戳 37 | 38 | if(strToObj.reply.data && strToObj.reply.data.indexOf('zqdm') != -1) //校验数据 39 | { 40 | var ret_str = strToObj.reply.data; 41 | var re = new RegExp("\\\\","g"); 42 | ret_str = ret_str.replace(re,""); 43 | var ObjBody = ""; 44 | ObjBody = new Function("return " + ret_str)(); 45 | 46 | for(var i = 0; i < ObjBody.length; i++ ) 47 | { 48 | parse_array[i] = new Array(); 49 | 50 | parse_array[i][0] = ObjBody[i]['zqdm']; 51 | parse_array[i][1] = ObjBody[i]['zxjg']; 52 | parse_array[i][2] = ObjBody[i]['mrjg1']; 53 | parse_array[i][3] = ObjBody[i]['mrjg2']; 54 | parse_array[i][4] = ObjBody[i]['mrjg3']; 55 | parse_array[i][5] = ObjBody[i]['mrjg4']; 56 | parse_array[i][6] = ObjBody[i]['mrjg5']; 57 | } 58 | 59 | if(retmsg == '') 60 | { 61 | jsonParam['retmsg'] = '从自运营获取行情数据成功'; 62 | } 63 | } 64 | else if(retmsg == '') //数据异常 65 | { 66 | jsonParam['retmsg'] = '从自运营获取行情数据异常'; 67 | } 68 | 69 | return { 70 | 'obj' : jsonParam, 71 | 'array': parse_array 72 | }; 73 | } 74 | 75 | /******************************************************************* 76 | * creator : @niuyaozong 77 | * function : 解析行情客户端推送行情数据 78 | * Date : 2017-12-12 79 | * parameter : strParam : json字符串 格式:'{"zqdm" : *, "zxjg" : *, ...}' 80 | * zqdm : 证券代码 81 | * zxjg : 最新价 82 | * mrj1~mrj5 : 买一价~买五价 83 | * return : jsonData : json对象,证券代码,买一价~买五价 84 | * jsonParam['zqdm'] : 证券代码 85 | * jsonParam['zxjg'] : 最新价 86 | * jsonParam['mrj1']~jsonParam['mrj5'] : 买一价~买五价 87 | * *****************************************************************/ 88 | function GZNHG_ParseHqDataFromHq(strParam) 89 | { 90 | var jsonParam = window.JSON.parse(strParam); 91 | var jsonData = {}; 92 | jsonData["zqdm"] = jsonParam["zqdm"]; 93 | jsonData["zxjg"] = jsonParam["zxjg"]; 94 | jsonData["mrj1"] = jsonParam["mrj1"]; 95 | jsonData["mrj2"] = jsonParam["mrj2"]; 96 | jsonData["mrj3"] = jsonParam["mrj3"]; 97 | jsonData["mrj4"] = jsonParam["mrj4"]; 98 | jsonData["mrj5"] = jsonParam["mrj5"]; 99 | 100 | return jsonData; 101 | } 102 | /******************************************************************* 103 | * creator : @牛耀宗 104 | * function : 解析委托返回数据 105 | * Date : 2017-12-12 106 | * parameter : strParam : json字符串 格式:'{"local" : *, "reply" : *}' 107 | * local.reqStart : 请求开始时间戳 108 | * local.htbh : 合同编号 109 | * local.gdzh : 股东账号 110 | * local.kyzj : 可用资金 111 | * local.wtData : 委托数据(证券名称_证券代码_市场代码_委托价格_委托数量_委托金额) 112 | * reply.ret_code : 请求返回状态码 113 | * reply.ret_msg : 请求返回信息 114 | * return : jsonParam : json对象; 115 | * jsonParam['retcode'] : 返回码 0成功,其他失败 116 | * jsonParam['retmsg'] : 返回信息 117 | * jsonParam['reqStart'] : 请求开始时间戳 118 | * jsonParam['strParam'] : 请求原始返回数据 119 | * jsonParam['htbh'] : 合同编号 120 | * jsonParam['gdzh'] : 股东账号 121 | * jsonParam['wtData'] : 委托数据(证券名称_证券代码_市场代码_委托价格_委托数量_委托金额) 122 | * *****************************************************************/ 123 | function GZNHG_ParseWtData(strParam) 124 | { 125 | var strToObj = new Function("return " + strParam)(); 126 | 127 | var retcode = strToObj.reply.ret_code; 128 | var retmsg = strToObj.reply.ret_msg; 129 | var jsonParam = {}; 130 | 131 | jsonParam['retcode'] = retcode; 132 | jsonParam['retmsg'] = retmsg; 133 | jsonParam['reqStart'] = strToObj.local.reqStart; 134 | jsonParam['gdzh'] = strToObj.local.gdzh; //股东账号 135 | jsonParam['wtData'] = strToObj.local.wtData; //委托数据 136 | jsonParam['strParam'] = window.JSON.stringify(strToObj); //回调入参 137 | 138 | if(retcode == "0" && retmsg == '') //retcode 表示委托成功 139 | { 140 | jsonParam['retmsg'] = '委托成功'; 141 | } 142 | else if(retmsg == '') 143 | { 144 | jsonParam['retmsg'] = '委托数据异常'; 145 | } 146 | 147 | jsonParam['htbh'] = strToObj.reply.htbh || ''; //合同编号 148 | 149 | return jsonParam; 150 | } 151 | /******************************************************************* 152 | * creator : @niuyaozong 153 | * function : 解析从自运营服务器查回的国债信息 154 | * Date : 2017-12-12 155 | * parameter : strParam : json字符串 格式:'{"local" : *, "reply" : *}' 156 | * local.reqStart : 请求开始时间戳 157 | * reply.ret_code : 请求返回状态码 158 | * reply.ret_msg : 请求返回信息 159 | * reply.data : 请求返回国债行情数据 STOCKCODE(股票代码),STOCKNAME(股票名称),SETNAME(显示名称),SETCODE(市场代码),sxfDays(手续费天数),zjzyDays(资金占用天数) 160 | * return : 匿名json对象 obj : 日志数据; 161 | * jsonParam['retcode'] : 返回码 0成功,其他失败 162 | * jsonParam['retmsg'] : 返回信息 163 | * jsonParam['reqStart'] : 请求开始时间戳 164 | * jsonParam['strParam'] : 请求原始返回数据 165 | * array : 国债信息数据,二维数组,[i][0](股票代码),[i][1](股票名称),[i][2](显示名称),[i][3](市场代码)[i][4](手续费天数),[i][5](资金占用天数) 166 | * *****************************************************************/ 167 | function GZNHG_ParseGzInfoFromZyy(strParam) 168 | { 169 | var strToObj = new Function("return " + strParam)(); 170 | 171 | var retcode = strToObj.reply.ret_code; 172 | var retmsg = strToObj.reply.ret_msg; 173 | var jsonParam = {}; 174 | var parse_array = new Array(); 175 | 176 | jsonParam['retcode'] = retcode; 177 | jsonParam['retmsg'] = retmsg; 178 | jsonParam['reqStart'] = strToObj.local.reqStart; 179 | jsonParam['strParam'] = window.JSON.stringify(strToObj); 180 | 181 | if(strToObj.reply.data && strToObj.reply.data.indexOf('SETNAME') != -1 ) //未找到'SETNAME' 182 | { 183 | var ret_str = strToObj.reply.data; 184 | var re = new RegExp("\\\\","g"); 185 | ret_str = ret_str.replace(re,""); 186 | var ObjBody = new Function("return " + ret_str)(); 187 | 188 | for(var i = 0; i < ObjBody.length; i++ ) 189 | { 190 | parse_array[i] = new Array(); 191 | //股票代码,股票名称,显示名称,市场代码,手续费天数,资金占用天数 192 | parse_array[i][0] = ObjBody[i]['STOCKCODE']; 193 | parse_array[i][1] = ObjBody[i]['STOCKNAME']; 194 | parse_array[i][2] = ObjBody[i]['SETNAME']; 195 | parse_array[i][3] = ObjBody[i]['SETCODE']; 196 | parse_array[i][4] = ObjBody[i]['sxfDays']; 197 | parse_array[i][5] = ObjBody[i]['zjzyDays']; 198 | 199 | $('#' + g_gpxx[i]).text(ObjBody[i]['STOCKCODE'] + " " + ObjBody[i]['STOCKNAME']); 200 | $('#' + g_cjqx[i]).text(ObjBody[i]['SETNAME']); 201 | } 202 | 203 | if(retmsg == '') 204 | { 205 | jsonParam['retmsg'] = '获取国债信息成功'; 206 | } 207 | } 208 | else if(retmsg == '') //数据异常 209 | { 210 | jsonParam['retmsg'] = '获取国债信息异常'; 211 | } 212 | 213 | return { 214 | 'obj' : jsonParam, 215 | 'array': parse_array 216 | }; 217 | } 218 | /******************************************************************* 219 | * creator : @niuyaozong 220 | * function : 解析查可用资金返回数据 221 | * Date : 2017-12-12 222 | * parameter : strParam : json字符串 格式:'{"local" : *, "reply" : *}' 223 | * local.reqStart : 请求开始时间戳 224 | * reply.ret_code : 请求返回码 225 | * reply.ret_msg : 请求返回信息 226 | * reply.availablemoney : 请求返回可用资金 227 | * return : jsonParam : json对象, 228 | * jsonParam['retcode'] : 返回码 0成功,其他失败 229 | * jsonParam['retmsg'] : 返回信息 230 | * jsonParam['reqStart'] : 请求开始时间戳 231 | * jsonParam['kyzj'] : 可用资金 四舍五入保留两位有效小数 232 | * jsonParam['strParam'] : 请求原始返回数据 233 | *****************************************************************/ 234 | function GZNHG_ParseZiJin(strParam) 235 | { 236 | var strToObj = new Function("return " + strParam)(); 237 | 238 | var retcode = strToObj.reply.ret_code; 239 | var retmsg = strToObj.reply.ret_msg; 240 | var strZijin = strToObj.reply.availablemoney || ''; 241 | 242 | var jsonParam = {}; 243 | jsonParam['retcode'] = retcode; 244 | jsonParam['retmsg'] = retmsg; 245 | jsonParam['reqStart'] = strToObj.local.reqStart; 246 | jsonParam['strParam'] = window.JSON.stringify(strToObj); 247 | 248 | if(strZijin) //''为false 249 | { 250 | jsonParam['kyzj'] = parseFloat(strZijin).toFixed(2); 251 | 252 | if(retmsg == '') 253 | { 254 | jsonParam['retmsg'] = '获取可用资金成功'; 255 | } 256 | } 257 | else if(retmsg == '') //数据异常 258 | { 259 | jsonParam['retmsg'] = '获取可用资金异常'; 260 | } 261 | 262 | return jsonParam; 263 | } 264 | 265 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/js/gzrequest.js: -------------------------------------------------------------------------------- 1 | /************************************************************************* 2 | * creator : @ji 3 | * Function : 国债逆回购页面请求数据文件,所有的请求均在此文件发出 4 | * Date :2017-01-23 5 | *************************************************************************/ 6 | 7 | //全局变量定义 8 | 9 | var d_sa = ''; //服务器站点,ip_port 10 | var d_gdzh = ''; //股东账号 11 | var d_fnStart = ''; //国债页面fnStart入参 12 | var d_gzinfo = ''; //查询国债信息请求现场数据 13 | var d_cxzj = ''; //查询资金请求现场数据 14 | var d_cxhq = ''; //查询国债行情请求现场数据 15 | var d_pushhq = ''; //推送国债行情异常返回数据 16 | var d_gzwt = ''; //国债委托数据(证券名称_证券代码_市场代码_委托价格_委托数量) 17 | var d_error = ''; //回调函数错误信息 18 | var d_kyzj = ''; //可用资金 19 | var d_ieVer = ''; //ie版本 20 | 21 | var rt_gzinfo = ''; //查国债信息耗时 22 | var rt_cxzj = ''; //查询资金耗时 23 | var rt_cxhq = ''; //查询国债行情耗时 24 | var rt_gzwt = ''; //国债委托耗时 25 | 26 | 27 | /******************************************************************* 28 | * creator : @niuyaozong 29 | * function : 调用客户端接口发请求 30 | * Date : 2017-12-17 31 | * parameter : arr_std:标准字段 arr_ext:扩展字段 arr_local:本地使用字段 32 | * return : 33 | * *****************************************************************/ 34 | function SendRequest(arr_std, arr_ext, arr_local) 35 | { 36 | arr_local['reqStart'] = new Date().getTime().toString(); //local字段,不影响请求,所有请求均需增加此字段 37 | 38 | var parameter = ""; 39 | var jsonStr1 = window.JSON.stringify(arr_std); 40 | var jsonStr2 = window.JSON.stringify(arr_ext); 41 | var jsonStr3 = window.JSON.stringify(arr_local); 42 | parameter = '{"standard":'+ jsonStr1 +',"extra":'+ jsonStr2 +',"local":'+ jsonStr3 +'}'; 43 | 44 | fnRequest("", parameter); 45 | } 46 | 47 | /******************************************************************* 48 | * creator : @niuyaozong 49 | * function : 从自运营主站查询国债逆回购信息 50 | * Date : 2017-12-15 51 | * parameter : callbackName : 回调函数名 52 | * return : 53 | * *****************************************************************/ 54 | function GZNHG_QueryGzInfoFromZyy(callbackName) 55 | { 56 | var arr_std = {}; 57 | var arr_ext = {}; 58 | var arr_local = {}; 59 | 60 | arr_std['reqtype'] = "2318"; // XT_QU_STOCKINFO 61 | arr_std['refresh'] = "1"; // 是否强制后台查询 62 | arr_std['userkey'] = g_curUserInfo; // USERKEY用户标识 63 | 64 | arr_ext['cmd'] = "Query_GzInfo"; // DataTrans请求的子请求类型 65 | 66 | arr_local['html_callback'] = callbackName; 67 | arr_local['destination'] = "1"; 68 | 69 | SendRequest(arr_std,arr_ext,arr_local); 70 | } 71 | 72 | /********************************************* 73 | * 国债逆回购委托入参menuid特殊配置表 74 | * "qsid" : "menuid" ,menuid为717,融券回购菜单,默认为162,卖出菜单 75 | * niuyaozong 20180103 76 | *********************************************/ 77 | var GZNHG_WtMenuidConfig = 78 | { 79 | def : '162', 80 | "114" : "717" //华泰证券 81 | }; 82 | 83 | /******************************************************************* 84 | * creator : @牛耀宗 85 | * function : 国债委托请求 86 | * Date : 2017-12-17 87 | * parameter : jsonParam :json对象{'stockcode' : '', 'entrustprice' : '', 'entrustamount' : '', 'scdm' : '', 'callBackName' : '', } 委托品种,委托数量,委托价格,市场代码,回调函数名 88 | * return : 89 | * *****************************************************************/ 90 | function GZNHG_WtConfirm(jsonParam) 91 | { 92 | var arr_std = {}; 93 | var arr_local = {}; 94 | var arr_ext = {}; 95 | 96 | var gdzh = fnGetGDZH(g_curUserInfo,jsonParam["scdm"]); 97 | var eleBalance = document.getElementById("haveMoney"); 98 | var kyzj = eleBalance.innerText; 99 | 100 | var wtData = g_zqmc + '_' + g_zqdm + '_' + jsonParam["scdm"] + '_' + jsonParam["entrustprice"] + '_' + jsonParam["entrustamount"] + '_' + g_wtje + '元'; //证券名称_证券代码_市场代码_委托价格_委托数量_委托金额 101 | 102 | arr_std['reqtype'] = "259"; //XT_WEITUO_MAICHU 103 | arr_std['setcode'] = jsonParam["scdm"]; 104 | arr_std['stockcode'] = jsonParam["stockcode"]; 105 | arr_std['entrustprice'] = jsonParam["entrustprice"]; 106 | arr_std['entrustamount'] = jsonParam["entrustamount"]; 107 | arr_std['contractid'] = "1|" + gdzh; //使用userkey查询股东账号 108 | arr_std['refresh'] = "1"; 109 | arr_std['userkey'] = g_curUserInfo; 110 | arr_std['menuid'] = GetValueByKey(GZNHG_WtMenuidConfig, g_qsid); //默认卖出菜单,华泰证券717融券回购菜单 111 | 112 | arr_ext['zqdm'] = jsonParam["stockcode"]; 113 | arr_ext['wtjg'] = jsonParam["entrustprice"]; 114 | arr_ext['wtsl'] = jsonParam["entrustamount"]; 115 | arr_ext['dataid'] = "gznhg"; 116 | arr_ext['scdm'] = jsonParam["scdm"]; 117 | arr_ext['skip_error'] = "1"; //客户端跳过工作流的报错,E065.18.95.104及以上版本支持 118 | 119 | arr_local['html_callback'] = jsonParam["callBackName"]; 120 | arr_local['destination'] = "0"; 121 | arr_local['workflow'] = "2"; 122 | arr_local['gdzh'] = gdzh; //股东账号 123 | arr_local['kyzj'] = kyzj; //可用资金 124 | arr_local['wtData'] = wtData; //委托数据 125 | 126 | SendRequest(arr_std,arr_ext,arr_local); 127 | } 128 | 129 | /******************************************************************* 130 | * creator : @niuyaozong 131 | * function : 从自运营服务查询国债行情数据 132 | * Date : 2017-12-15 133 | * parameter : callbackName :回调函数名 134 | * datatype :数据类型,取值 1(获取仅最新价)和 2(获取最新价和五档价格 ) 135 | * codelist :代码列表格式如下,行情市场1(代码1,代码2),行情市场2(代码1,代码2)等行情市场示例:上海A股(17)、上海债券(19)、深圳A股(33)、深圳债券(35) 136 | * mmlb :买卖列表,取值 B(买入价格)和 S(卖出价格),该值可以不传默认返回买入价格 137 | * return : 138 | * *****************************************************************/ 139 | function GZNHG_QueryHqDataFromZyy(callbackName, datatype, codelist, mmlb) 140 | { 141 | var arr_std = {}; 142 | var arr_ext = {}; 143 | var arr_local = {}; 144 | arr_std['reqtype'] = "2318"; // XT_QU_STOCKINFO 145 | arr_std['refresh'] = "1"; // 是否强制后台查询 146 | arr_std['userkey'] = g_curUserInfo; // USERKEY用户标识 147 | 148 | arr_ext['cmd'] = "Query_HQData"; // DataTrans请求的子请求类型 149 | arr_ext['datatype'] = datatype; 150 | arr_ext['codelist'] = codelist; 151 | arr_ext['mmlb'] = mmlb; 152 | 153 | arr_local['html_callback'] = callbackName; 154 | arr_local['destination'] = "1"; 155 | 156 | SendRequest(arr_std,arr_ext,arr_local); 157 | } 158 | 159 | /******************************************************************* 160 | * creator : @ji 161 | * function : 注册机制行情客户端查询行情 162 | * Date : 2017-01-23 163 | * parameter : arrStockCode:股票代码数组 164 | * return : 165 | * *****************************************************************/ 166 | function GZNHG_RegisterHqDataPushFromHqClient(arrStockCode) 167 | { 168 | var strStockCodes = ''; 169 | for(var nIndex in arrStockCode) 170 | { 171 | strStockCodes = strStockCodes + arrStockCode[nIndex] + ','; 172 | } 173 | 174 | var arrParam = {}; 175 | arrParam["stock_code"] = strStockCodes; 176 | arrParam["data_grade"] = "0"; 177 | 178 | var strParam = window.JSON.stringify(arrParam); 179 | fnFunction("reg_push_from_hq", strParam); 180 | } 181 | 182 | /******************************************************************* 183 | * creator : @ji 184 | * function : 注销行情客户端行情数据推送 185 | * Date : 2017-01-23 186 | * parameter : arrStockCode:股票代码数组 187 | * return : 188 | * *****************************************************************/ 189 | function GZNHG_UnregisterHqDataPushFromHqClient(arrStockCode) 190 | { 191 | var strStockCodes = ''; 192 | for(var nIndex in arrStockCode) 193 | { 194 | strStockCodes = strStockCodes + arrStockCode[nIndex] + ','; 195 | } 196 | 197 | var arrParam = {}; 198 | arrParam["stock_code"] = strStockCodes; 199 | arrParam["data_grade"] = "0"; 200 | 201 | var strParam = window.JSON.stringify(arrParam); 202 | fnFunction("unreg_push_from_hq", strParam); 203 | } 204 | 205 | /******************************************************************* 206 | * creator : @niuyaozong 207 | * function : 国债逆回购向自运营服务器上传日志 208 | * Date : 2017-12-07 209 | * parameter : datatype:日志类型 retcode:返回码 retmsg:返回信息 cbasdata:扩展返回数据 210 | * return : 211 | * *****************************************************************/ 212 | function GZNHG_UploadLog(datatype, retcode, retmsg, cbasdata) 213 | { 214 | var arr_ext = {}; 215 | var arr_std = {}; 216 | var arr_local = {}; 217 | 218 | arr_std['reqtype'] = "2318"; 219 | arr_std['setcode'] = ""; 220 | arr_std['refresh'] = "1"; 221 | arr_std['cachedata'] = "1"; 222 | arr_std['userkey'] = g_curUserInfo; 223 | 224 | arr_ext['cmd'] = "cbas_ipo_log"; 225 | arr_ext['xd_local_notify_req'] = "1"; 226 | arr_ext['datatype'] = datatype; 227 | arr_ext['retcode'] = retcode; 228 | arr_ext['retmsg'] = retmsg; 229 | arr_ext['cbasdata'] = cbasdata; 230 | arr_ext['ldatetime'] = GetLocalTime() + GetLocalTimeZone(); 231 | arr_ext['zjzh'] = GetZjzh(g_curUserInfo); //hxcomm.js 函数 232 | arr_ext['pkgver'] = g_pkgver; 233 | arr_ext['qsid'] = g_qsid; 234 | arr_ext['userkey'] = g_curUserInfo; 235 | arr_ext['module'] = 'GZNHG'; 236 | 237 | arr_local['html_callback'] = 'GZNHG_UploadLogCallBack'; 238 | arr_local['destination'] = "1"; 239 | 240 | SendRequest(arr_std,arr_ext,arr_local); 241 | } 242 | /******************************************************************* 243 | * creator : @ji 244 | * function : 查询资金 245 | * Date : 2017-06-05 246 | * parameter : callbackName:回调函数名 247 | * return : 248 | * *****************************************************************/ 249 | function QueryZijin(callbackName) 250 | { 251 | var arr_std = {}; 252 | var arr_ext = {}; 253 | var arr_local = {}; 254 | 255 | arr_std['reqtype'] = "5"; 256 | arr_std['userkey'] = g_curUserInfo; 257 | arr_std['entrustamount'] = "555"; 258 | arr_std['refresh'] = "1" 259 | arr_std['cachedata'] = "1"; 260 | 261 | arr_ext['xd_local_name'] = "query_zijin"; 262 | arr_ext['zjzh'] = fnFunction("get_zjzh_ex",g_curUserInfo); 263 | 264 | arr_local['html_callback'] = callbackName; 265 | 266 | SendRequest(arr_std,arr_ext,arr_local); 267 | } 268 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/js/iepng.js: -------------------------------------------------------------------------------- 1 | eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2 E={J:\'E\',Z:{},1E:7(){4(x.1l&&!x.1l[6.J]){x.1l.23(6.J,\'24:25-26-27:3\')}4(1F.11){1F.11(\'28\',7(){E=29})}},1G:7(){2 a=x.1m(\'8\');x.1H.1b.1n(a,x.1H.1b.1b);2 b=a.1o;b.1c(6.J+\'\\\\:*\',\'{12:2a(#1I#2b)}\');b.1c(6.J+\'\\\\:9\',\'Q:1p;\');b.1c(\'1J.\'+6.J+\'1K\',\'12:y; 1q:y; Q:1p; z-2c:-1; 1d:-1r; 1L:1M;\');6.1o=b},1N:7(){2 a=13.2d;4(13.1e.K(\'2e\')!=-1||13.1e.K(\'1q\')!=-1){E.1f(a)}4(13.1e==\'8.1s\'){2 b=(a.F.1s==\'y\')?\'y\':\'2f\';G(2 v M a.3){a.3[v].9.8.1s=b}}4(13.1e.K(\'14\')!=-1){E.1t(a)}},1t:7(a){4(a.F.14.K(\'2g\')!=-1){2 b=a.F.14;b=1u(b.2h(b.1v(\'=\')+1,b.1v(\')\')),10)/2i;a.3.N.9.8.14=a.F.14;a.3.C.I.2j=b}},15:7(a){2k(7(){E.1f(a)},1)},2l:7(a){2 b=a.1O(\',\');G(2 i=0;ig.H){c.B=g.H}e.3.C.9.8.1Z=\'20(\'+c.T+\'u \'+(c.R+i)+\'u \'+c.B+\'u \'+(c.L+i)+\'u)\'}U{e.3.C.9.8.1Z=\'20(\'+p.T+\'u \'+p.R+\'u \'+p.B+\'u \'+p.L+\'u)\'}},1P:7(a){a.8.12=\'y\';4(a.17==\'32\'||a.17==\'33\'||a.17==\'34\'){1g}a.O=V;4(a.17==\'35\'){4(a.1h.21().K(/\\.22$/)!=-1){a.O=P;a.8.1L=\'1M\'}U{1g}}U 4(a.F.19.21().K(\'.22\')==-1){1g}2 b=E;a.3={N:{},C:{}};2 c={9:{},I:{}};G(2 r M a.3){G(2 e M c){2 d=b.J+\':\'+e;a.3[r][e]=x.1m(d)}a.3[r].9.36=V;a.3[r].9.37(a.3[r].I);a.38.1n(a.3[r].9,a)}a.3.C.9.39=\'y\';a.3.C.I.3a=\'3b\';a.3.N.I.1w=V;b.1T(a);b.1x(a);b.1x(a.3c);b.1f(a)}};3d{x.3e("3f",V,P)}3g(r){}E.1E();E.1G();',62,203,'||var|vml|if||this|function|style|shape|||||||||||||||||||||px|||document|none||||image|vmlBg|EvPNG|currentStyle|for||fill|ns|search||in|color|isImg|true|position||runtimeStyle||else|false||||imgSize||attachEvent|behavior|event|filter|handlePseudoHover|vmlOffsets|nodeName|backgroundColor|backgroundImage|case|firstChild|addRule|top|propertyName|applyVML|return|src|width|height|bLW|namespaces|createElement|insertBefore|styleSheet|absolute|border|10000px|display|vmlOpacity|parseInt|lastIndexOf|on|giveLayout|left|bTW|break|b1|b2|repeat|createVmlNameSpace|window|createVmlStyleSheet|documentElement|default|img|_sizeFinder|visibility|hidden|readPropertyChange|split|fixPng|cssText|vmlFill|copyImageBorders|attachHandlers|zIndex|transparent|removeAttribute|body|0l|clip|rect|toLowerCase|png|add|urn|schemas|microsoft|com|onbeforeunload|null|url|VML|index|srcElement|background|block|lpha|substring|100|opacity|setTimeout|fix|length|expression|resize|move|mouseleave|mouseenter|focus|blur|onpropertychange|zoom|static|relative|borderStyle|borderWidth|borderColor|substr|className|onload|offsetWidth|offsetHeight|clientWidth|clientHeight|offsetLeft|offsetTop|clientLeft|clientTop|coordsize|coordorigin|path|m0|l0|xe|switch|center|right|bottom|01|Math|ceil|backgroundPosition|backgroundRepeat|toUpperCase|BODY|TD|TR|IMG|stroked|appendChild|parentNode|fillcolor|type|tile|offsetParent|try|execCommand|BackgroundImageCache|catch'.split('|'),0,{})) -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/js/jquery.leanModal.min.js: -------------------------------------------------------------------------------- 1 | // leanModal v1.1 by Ray Stone - http://leanmodal.finelysliced.com.au 2 | // Dual licensed under the MIT and GPL 3 | 4 | (function ($) { 5 | $.fn.extend({ 6 | leanModal : function (options) { 7 | var defaults = { 8 | top : 100, 9 | overlay : 0.5, 10 | closeButton : null 11 | }; 12 | options = $.extend(defaults, options); 13 | return this.each(function () { 14 | var o = options; 15 | $(this).click(function (e) { 16 | var modal_id = $(this).attr("href"); 17 | $(".confirm_box").click(function () { 18 | close_modal(modal_id); 19 | }); 20 | $(".close_sign").click(function () { 21 | close_modal(modal_id) 22 | }); 23 | var modal_height = $(modal_id).outerHeight(); 24 | var modal_width = $(modal_id).outerWidth(); 25 | var strImage = $(".switch").children("img.switch_test").attr('src'); 26 | var nSwitchStatus = ((strImage == "images/switch_on.png") ? 1 : 0); 27 | if (nSwitchStatus) 28 | { 29 | $(modal_id).css({ 30 | "display" : "block", 31 | "position" : "absolute", 32 | "opacity" : 0, 33 | "z-index" : 11000, 34 | "left" : 50 + "%", 35 | "margin-left" : - (modal_width / 2) + "px", 36 | "top" : o.top + "px" 37 | }); 38 | $(modal_id).fadeTo(200, 1); 39 | } 40 | else 41 | { 42 | $(modal_id).css({ 43 | "display" : "none" 44 | }) 45 | } 46 | 47 | e.preventDefault() 48 | }) 49 | }); 50 | function close_modal(modal_id) { 51 | $(modal_id).css({ 52 | "display" : "none" 53 | }) 54 | } 55 | } 56 | }) 57 | })(jQuery); 58 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/js/search.js: -------------------------------------------------------------------------------- 1 | // select 请换成id绑定 2 | $('.form-group-select').click(function(){ 3 | $(this).next('.form-group-options').toggle(); 4 | }); 5 | $('.form-group-options .item').click(function(){ 6 | var text = $(this).find('a').text(); 7 | var index = $(this).attr("index"); 8 | setInfoToHtml(index); 9 | $('.form-group-select .fl').text(text); 10 | $('.form-group-options').hide(); 11 | }); 12 | $(document).click(function(e){ 13 | if($('.form-group-options').css('display') === 'none') {return;} 14 | if($(e.target).parent().is('.form-group-select')){return;} 15 | if($(e.target).parents().is('.form-group-options')){return;} 16 | $('.form-group-options').hide(); 17 | }); 18 | 19 | // $(function(){ 20 | // checkNumAccount('45564564'); 21 | // checkNumContent('asd 45 642 1'); 22 | // }); 23 | 24 | // 填充 起始配号 25 | function checkNumContent(value){ 26 | var $dom = $('#input-num-content'); 27 | var res = value; 28 | if(res!==''){ 29 | $('#input-num-content-warn').hide(); 30 | if($('#input-num-account').val()){ 31 | enableSearch(); 32 | } 33 | }else { 34 | $('#input-num-content-warn').show(); 35 | unableSearch(); 36 | } 37 | $dom.val(res); 38 | return res; 39 | } 40 | 41 | // 填充 配号数量 42 | function checkNumAccount(value){ 43 | var $dom = $('#input-num-account'); 44 | value = value.replace(/[^\d]/g,'').substring(0,4); 45 | if(value!==''){ 46 | $('#input-num-account-warn').hide(); 47 | if($('#input-num-content').val()){ 48 | enableSearch(); 49 | } 50 | }else { 51 | $('#input-num-account-warn').show(); 52 | unableSearch(); 53 | } 54 | $dom.val(value); 55 | return value; 56 | } 57 | 58 | 59 | function enableSearch(){ 60 | $('#btn-search').removeClass('btn-ban'); 61 | } 62 | 63 | function unableSearch(){ 64 | $('#btn-search').addClass('btn-ban'); 65 | } 66 | 67 | // 查询 68 | function doSearch(){ 69 | var data = {}; 70 | data.code = $('#input-code').text().replace(/[^\d]/g,''); 71 | data.num = $('#input-num-content').val().replace(/[^\d]/g,''); 72 | data.account = $('#input-num-account').val().replace(/[^\d]/g,'').substring(0,4); 73 | } -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/html/upload_userph.js: -------------------------------------------------------------------------------- 1 | document.write(''); 2 | document.write(''); 3 | document.write(''); 4 | 5 | /* 6 | *g_arrayInitialpeihaoValue[xg_num][0] 证券代码 7 | *g_arrayInitialpeihaoValue[xg_num][1] 起始配号 8 | *g_arrayInitialpeihaoValue[xg_num][2] 成交笔数 9 | */ 10 | var g_arrayInitialpeihaoValue = new Array(); //用户配号数据 11 | 12 | var g_upload_once = 0; //调用一次页面最多只上传两次,失败不再上传 13 | var g_userphdata = ''; //按上传格式存储用户配号数据 14 | /* 15 | * 函数功能说明: 16 | * 1、查询当前用户相关配号的回调处理函数 17 | * 2、将获取数据,存在g_arrayInitialpeihaoValue 18 | * 19 | *------------------------------------------------------ 20 | *步骤说明: 21 | *数据处理: 解析入口参数和数据, 22 | */ 23 | function fn_UserPeihao(getpeihaoValuestr) 24 | { 25 | var strdes = fun_str_replace(getpeihaoValuestr); 26 | var strToObj = new Function("return" + strdes)(); 27 | var log_str = window.JSON.stringify(strToObj); 28 | g_xginfolog_ext[7] = log_str; //查用户配号返回数据,记录日志使用 29 | 30 | // 东海配号问题,有配号数量没有配号 31 | write_html_log('中签预查询fn_callback_UserPeihao() data:' + getpeihaoValuestr); 32 | var array_xgpeihaoValue = parse_xgph(g_qsid, getpeihaoValuestr, g_curUserInfo); //用户配号初始数据 33 | for(var index = 0; index < array_xgpeihaoValue.length; index++) 34 | { 35 | g_arrayInitialpeihaoValue[index] = new Array(); //保存用户配号数据 36 | g_arrayInitialpeihaoValue[index][0] = array_xgpeihaoValue[index][0]; // 证券代码 37 | g_arrayInitialpeihaoValue[index][1] = array_xgpeihaoValue[index][1]; // 起始配号 38 | 39 | // 平安等证券,配号查询列"成交数量"取值错误问题 20170519 增加券商143,302 40 | // 信达证券(33) 中投证券(57) 平安证券(59) 安信证券(83) 国元证券(143) 申万宏源-宏源(302) 华融证券(347) 41 | if(g_qsid == '33' || g_qsid == '57' || g_qsid == '59' || g_qsid == '83' || g_qsid == '143' || g_qsid == '302' || g_qsid == '347') 42 | { 43 | var sc = (array_xgpeihaoValue[index][0]).toString().charAt(0); // 股票代码的第一位数字 44 | 45 | if(parseInt(sc) == 3 || parseInt(sc) == 0) // 3,0开头的是深圳市场 46 | { 47 | array_xgpeihaoValue[index][2] = array_xgpeihaoValue[index][2] / 500; 48 | array_xgpeihaoValue[index][2] = array_xgpeihaoValue[index][2].toString(); 49 | } 50 | else // 如果是上海市场 51 | { 52 | array_xgpeihaoValue[index][2] = array_xgpeihaoValue[index][2] / 1000; 53 | array_xgpeihaoValue[index][2] = array_xgpeihaoValue[index][2].toString(); 54 | } 55 | } 56 | g_arrayInitialpeihaoValue[index][2] = array_xgpeihaoValue[index][2]; // 配号数量 57 | } 58 | write_html_log('fn_callback_UserPeihao() 起始配号解析以后的起始配号数字长度:' + g_arrayInitialpeihaoValue.length ); 59 | 60 | /* 61 | 格式:配号代码1|起始配号|配号数量||配号代码2|起始配号|配号数量||配号代码3|。。依次类推 62 | 例子:300396|6002978|5||300397|600029855|3 63 | */ 64 | var qsph = ''; 65 | var sign_index = 0; 66 | var tableArray = []; 67 | var qsphFlag = false; 68 | var cjslFlag = false; 69 | var qsid = parseInt(g_qsid); 70 | //组成json串格式 71 | for(var i = 0; i < g_arrayInitialpeihaoValue.length; i++) 72 | { 73 | qsph = g_arrayInitialpeihaoValue[i][1]; 74 | sign_index = qsph.indexOf(':'); //起始配号由':'分隔符分隔 75 | g_arrayInitialpeihaoValue[i][1] = qsph.substring(sign_index + 1); 76 | // 起始配号不为空,起始配号不为0,可转化为整数 若为undefined sginfo.js中处理已转为空字符串 77 | if(parseInt(g_arrayInitialpeihaoValue[i][1]) != '' && g_arrayInitialpeihaoValue[i][1] != '0' && !isNaN(parseInt(g_arrayInitialpeihaoValue[i][1]))) 78 | { 79 | qsphFlag = true; 80 | } 81 | //成交数量不为0,可转化为整数,若为空字符串或undefined sginfo.js中处理已转为NaN 82 | if(parseInt(g_arrayInitialpeihaoValue[i][2]) != '0' && !isNaN(parseInt(g_arrayInitialpeihaoValue[i][2]))) 83 | { 84 | cjslFlag = true; 85 | } 86 | if(qsphFlag && cjslFlag) 87 | { 88 | if(qsid == 131)//中金证券 |费用划转 89 | { 90 | sign_index = qsph.indexOf('|'); 91 | if(sign_index != -1) //找到'|' 92 | { 93 | g_arrayInitialpeihaoValue[i][1] = qsph.substring(0,sign_index); 94 | } 95 | } 96 | 97 | tableArray.push({ 98 | "zqdm":g_arrayInitialpeihaoValue[i][0], 99 | "cj_ph":g_arrayInitialpeihaoValue[i][1], 100 | "gp_cjsl":g_arrayInitialpeihaoValue[i][2] 101 | }); 102 | } 103 | } 104 | g_xginfolog[0] = "DT_YCX_XGPH"; 105 | //无用户配号 106 | if(tableArray.length == 0) //包括有配号记录但配号数量为0情况 107 | { 108 | g_xginfolog[2] = '-1'; 109 | g_xginfolog[3] = '未查询到用户配号'; 110 | //只有用户配号数量为0但仍有配号记录才记录查用户配号请求数据,返回数据 111 | if(g_arrayInitialpeihaoValue.length == 0) 112 | { 113 | g_xginfolog[4] = g_userphdate; //记录查用户配号日期 114 | } 115 | else 116 | { 117 | g_xginfolog[3] = '用户配号异常'; 118 | g_xginfolog[4] = g_xginfolog_ext[6] + '||' + g_xginfolog_ext[7]; 119 | } 120 | fn_requestlog(g_xginfolog); 121 | fnSetConfigData('XGSG',g_curUserInfo,GetDateStr(0));//设置key,当天下次不再查询 122 | return; 123 | } 124 | else 125 | { 126 | if(tableArray.length < g_arrayInitialpeihaoValue.length) 127 | { 128 | g_xginfolog[2] = '-1'; 129 | g_xginfolog[3] = '异常配号上传'; 130 | g_xginfolog[4] = g_xginfolog_ext[6] + '||' + g_xginfolog_ext[7]; 131 | fn_requestlog(g_xginfolog); 132 | } 133 | g_userphdata = window.JSON.stringify(tableArray); 134 | g_upload_once++; //上传第一次 g_upload_once = 1; 135 | g_callbackName = 'fn_callback_upload_userphdata'; 136 | fn_uploadUserph(g_callbackName,g_userphdata); //将用户的起始配号上传 137 | } 138 | } 139 | 140 | //err_code = 0 上传成功 其他上传失败 141 | //上传用户配号的回调处理函数 142 | function fn_upload_userphdata(upload_userph_list) 143 | { 144 | write_html_log('fn_callback_userphdata()' + upload_userph_list); 145 | var strdes = fun_str_replace(upload_userph_list); 146 | var strToObj = new Function("return" + strdes)(); 147 | g_xginfolog[0] = "DT_YCX_XGPH"; 148 | g_xginfolog[2] = strToObj.reply.err_code; 149 | g_xginfolog[3] = strToObj.reply.err_msg; 150 | if(parseInt(strToObj.reply.err_code)) 151 | { 152 | //上传用户配号失败记录用户配号,请求数据,返回数据 153 | g_xginfolog[4] = g_userphdata + '||' + g_xginfolog_ext[6] + '||' + g_xginfolog_ext[7]; 154 | fn_requestlog(g_xginfolog); 155 | } 156 | if(g_upload_once != 2 && parseInt(strToObj.reply.err_code)) //第一次上传失败,上传第二次 157 | { 158 | write_html_log('fn_callback_upload_userphdata err_code is'+ strToObj.reply.err_code +'fn_callback_upload_userphdata err_msg is '+ strToObj.reply.err_msg); 159 | g_upload_once++; //上传第二次 g_upload_once = 2; 160 | g_callbackName = 'fn_callback_upload_userphdata'; 161 | fn_uploadUserph(g_callbackName,g_userphdata); 162 | return; //防止第二次才上传成功 重复调用新股申购页面 163 | } 164 | if(!parseInt(strToObj.reply.err_code)) //只有上传成功 才设置key 165 | { 166 | g_xginfolog[4] = g_userphdate + '||' + g_userphdata; 167 | fn_requestlog(g_xginfolog); 168 | fnSetConfigData('XGSG',g_curUserInfo,GetDateStr(0)); //设置key 下面走新股申购逻辑 169 | } 170 | } 171 | -------------------------------------------------------------------------------- /thstrade/RES/Zyy/zyy/scripts/wtconfig.scr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/RES/Zyy/zyy/scripts/wtconfig.scr -------------------------------------------------------------------------------- /thstrade/ThsEngine.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/ThsEngine.exe -------------------------------------------------------------------------------- /thstrade/ThsGUI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/ThsGUI.dll -------------------------------------------------------------------------------- /thstrade/VirusScan.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/VirusScan.dat -------------------------------------------------------------------------------- /thstrade/hcrypt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/hcrypt.dll -------------------------------------------------------------------------------- /thstrade/hssl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/hssl.dll -------------------------------------------------------------------------------- /thstrade/htmlayout.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/htmlayout.dll -------------------------------------------------------------------------------- /thstrade/libeay32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/libeay32.dll -------------------------------------------------------------------------------- /thstrade/libmicrohttpd-dll.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/libmicrohttpd-dll.dll -------------------------------------------------------------------------------- /thstrade/lua5.1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/lua5.1.dll -------------------------------------------------------------------------------- /thstrade/mfc42.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/mfc42.dll -------------------------------------------------------------------------------- /thstrade/msvcr100.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/msvcr100.dll -------------------------------------------------------------------------------- /thstrade/order_engine.ini: -------------------------------------------------------------------------------- 1 | ; Isaac trading service control configuration 2 | ; @2018.10, by Yoyotek.cn software Inc. 3 | ; Do not delete this file!!! 4 | ; Setting the web service port and others. 5 | [license] 6 | token=THS_ 7 | param=ver=1 "0711296a70d754486417e81e747c6d7a3809e4f51d0cfecea25dfd8305321673b3ed95f1c6815fabbfaff3ea3fe81591e244ac61ccd70ea6a3b17d3411f2407f" 8 | ;支持华泰 9 | ;param= ver=1 "9f8f35d1d689a7bad35f221a85bd8430621d2876a5f8486a541459aef04b200f261265b9eb8f7d9c1014a884ee7156ce2383354104e978dfd21ff7d7edf34533ece4c0108af030e9192af37acd789b6590d79a59c74f97feec9bf2aee3b736bbc5b9a8a6aa635df694d36aeec98fabde921ecdd8cf1d6b42fb61b908d29aba6729932ebdd7ff0426c8897ccaf273ce26fab4782a10479b6f56612537c279c45a20b9830cdeea2e94008744b3e15bc9131101099b4573d13c59d1b991d89675efd36dacfbabb9db70b1623616c72398cf12641cb542d22862" 10 | [service] 11 | ; web service port number, would be modified by actions from user interface. 12 | ; modify the default number to avoid confilicts. 13 | http_port=12964 14 | -------------------------------------------------------------------------------- /thstrade/payload/xiadan.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/payload/xiadan.exe -------------------------------------------------------------------------------- /thstrade/payload/xiadan.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/payload/xiadan.zip -------------------------------------------------------------------------------- /thstrade/private.ini: -------------------------------------------------------------------------------- 1 | 2 | [100_WT_SERVER] 3 | TCP/IP_ENABLEHXGC=0 4 | TCP/IP_PROXYADDR= 5 | TCP/IP_PROXYPORT=0 6 | TCP/IP_PROXYPWD= 7 | TCP/IP_PROXYTYPE=0 8 | TCP/IP_PROXYUSER= 9 | TCP/IP_USEPROXY=0 10 | -------------------------------------------------------------------------------- /thstrade/riched20.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/riched20.dll -------------------------------------------------------------------------------- /thstrade/runinfo.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/runinfo.ini -------------------------------------------------------------------------------- /thstrade/sqlite30.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/sqlite30.dll -------------------------------------------------------------------------------- /thstrade/system.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/system.dat -------------------------------------------------------------------------------- /thstrade/user.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/user.dat -------------------------------------------------------------------------------- /thstrade/virusscan.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/virusscan.dll -------------------------------------------------------------------------------- /thstrade/xiadan.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/xiadan.exe -------------------------------------------------------------------------------- /thstrade/xiadan.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/xiadan.ini -------------------------------------------------------------------------------- /thstrade/同花顺程序化交易接口.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/thstrade/同花顺程序化交易接口.docx -------------------------------------------------------------------------------- /海通融资融券5.0/CntSSL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/CntSSL.dll -------------------------------------------------------------------------------- /海通融资融券5.0/HtOnLine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/HtOnLine.dll -------------------------------------------------------------------------------- /海通融资融券5.0/Key.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/Key.dat -------------------------------------------------------------------------------- /海通融资融券5.0/MyToolLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/MyToolLib.dll -------------------------------------------------------------------------------- /海通融资融券5.0/SQLITE30.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/SQLITE30.dll -------------------------------------------------------------------------------- /海通融资融券5.0/ThsEngine.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/ThsEngine.exe -------------------------------------------------------------------------------- /海通融资融券5.0/ThsGUI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/ThsGUI.dll -------------------------------------------------------------------------------- /海通融资融券5.0/VirusScan.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/VirusScan.dat -------------------------------------------------------------------------------- /海通融资融券5.0/VirusScan.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/VirusScan.dll -------------------------------------------------------------------------------- /海通融资融券5.0/bit.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/bit.dll -------------------------------------------------------------------------------- /海通融资融券5.0/cpkg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/cpkg.dll -------------------------------------------------------------------------------- /海通融资融券5.0/cryptodll.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/cryptodll.dll -------------------------------------------------------------------------------- /海通融资融券5.0/hcrypt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/hcrypt.dll -------------------------------------------------------------------------------- /海通融资融券5.0/hssl.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/hssl.dll -------------------------------------------------------------------------------- /海通融资融券5.0/htmlayout.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/htmlayout.dll -------------------------------------------------------------------------------- /海通融资融券5.0/htoken.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/htoken.dll -------------------------------------------------------------------------------- /海通融资融券5.0/libeay32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/libeay32.dll -------------------------------------------------------------------------------- /海通融资融券5.0/libmicrohttpd-dll.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/libmicrohttpd-dll.dll -------------------------------------------------------------------------------- /海通融资融券5.0/lua5.1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/lua5.1.dll -------------------------------------------------------------------------------- /海通融资融券5.0/order_engine.ini: -------------------------------------------------------------------------------- 1 | ; Isaac trading service control configuration 2 | ; @2018.10, by Yoyotek.cn software Inc. 3 | ; Do not delete this file!!! 4 | ; Setting the web service port and others. 5 | [license] 6 | token=HTRR_LhXCM8IiFwHpNA3Jaq7CiIqc1u5cqy%2b6Q3EUHZ58EpffxsdwKLCTPIzA9RdEx27b7oohnaDQjplK5MLZvdrWdQ%3d%3d 7 | param= ver=1 "0711296a70d754486417e81e747c6d7a3809e4f51d0cfecea25dfd8305321673b3ed95f1c6815fabbfaff3ea3fe81591e244ac61ccd70ea6a3b17d3411f2407f" 8 | [service] 9 | ; web service port number, would be modified by actions from user interface. 10 | ; modify the default number to avoid confilicts. 11 | http_port=12962 12 | -------------------------------------------------------------------------------- /海通融资融券5.0/private.ini: -------------------------------------------------------------------------------- 1 | 2 | [WT_SERVER] 3 | TCP/IP_ENABLEHXGC=0 4 | TCP/IP_PROXYADDR= 5 | TCP/IP_PROXYPORT=0 6 | TCP/IP_PROXYPWD= 7 | TCP/IP_PROXYTYPE=0 8 | TCP/IP_PROXYUSER= 9 | TCP/IP_USEPROXY=0 10 | -------------------------------------------------------------------------------- /海通融资融券5.0/system.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/system.dat -------------------------------------------------------------------------------- /海通融资融券5.0/unins000.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/unins000.dat -------------------------------------------------------------------------------- /海通融资融券5.0/unins000.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/unins000.exe -------------------------------------------------------------------------------- /海通融资融券5.0/user.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/user.dat -------------------------------------------------------------------------------- /海通融资融券5.0/xiadan.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/xiadan.exe -------------------------------------------------------------------------------- /海通融资融券5.0/xiadan.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/xiadan.ini -------------------------------------------------------------------------------- /海通融资融券5.0/zip.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/zip.dll -------------------------------------------------------------------------------- /海通融资融券5.0/zlib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/zlib.dll -------------------------------------------------------------------------------- /海通融资融券5.0/zlib1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhaoyu162/IsaacTrade/c26823622babe0a8e82222473f05b71dcdf04d73/海通融资融券5.0/zlib1.dll --------------------------------------------------------------------------------