infoHomep.ss.jsp 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500
  1. <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  2. <html>
  3. <head>
  4. <style type="text/css">
  5. #wh_content img:nth-of-type(1){
  6. position: relative;
  7. }
  8. #wh_content img:nth-of-type(n+2){
  9. position: absolute;
  10. z-index: 999;
  11. }
  12. #ascrail2013 {
  13. display:none!important;
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <div id="sybj">
  19. <div class="plugin-component-div">
  20. <div id="sybjBody" class="seif-info" style="width: 100%;">
  21. <div id="sybjBodyInner">
  22. <div style="position: relative;overflow: hidden;">
  23. <span style="float: right;margin-right: 6px;">
  24. <span id="refreshButton" style="display:none;" class="img-header plugin-icon todoPlugin-icon"></span>
  25. <span class="icon-setHelpButton" style="position: relative;top: 5px;display: inline-block;">
  26. </span>
  27. <span class="icon-helpButton" style="position: relative;top: 5px;">
  28. </span>
  29. <span class="icon-set" style="position: relative;top: 5px;display: inline-block;"
  30. onclick='<serv.ss dlg="true" name="ryxxGrtjTx" dest="infoHomep_set" parm="{ryid:&quot;${ry.ryid}&quot;}" title="个人头像上传"/>' >
  31. </span>
  32. </span>
  33. <div class="personalPhoto cursor-click" style="float: left;margin-top: 12px;margin-left: 15px;margin-right:20px;">
  34. <img name="p_ry_ck"
  35. onclick='<serv.ss dlg="true" name="p_ry_cx" dest="persHome" title="个人资料" parm="{ryid:&quot;${ry.ryid}&quot;,bmid:&quot;${ry.bmid}&quot;}"/>'
  36. <%-- 再增加 type="img"。Lin
  37. src="<serv@ss name='dlByHttp' parm='{path:"${empty ry.yszwj?ry.zjzwj:ry.yszwj}"}'/>" --%>
  38. src="<serv.ss name='dlByHttp' parm='{type:"img",path:"${empty ry.yszwj?ry.zjzwj:ry.yszwj}"}'/>"
  39. onerror="this.src='${sessionScope.ssUser.skinDir}image/default-personalPhoto.png'"/>
  40. </div>
  41. <div style="float: left;width: 140px;margin-top: 34px;box-sizing: border-box;padding-right: 5px;">
  42. <div style="padding-bottom: 7px;width: 100%;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;" class="hLine">
  43. <%-- 问候语 --%>
  44. <span class="plugin-boldText" name="p_ry_ck"
  45. onclick='<serv.ss dlg="true" dest="persHome" title="个人资料"/>'>
  46. <txt.ss val="${xm}"/></span>
  47. <span id="msg" class="plugin-text" style="display: inline-block;height: 14px;line-height: 14px;">,${whymsg}</span>
  48. </div>
  49. <div style="<equal.ss val="${empty whList}" val2="false">
  50. display:none;
  51. </equal.ss>"
  52. class="plugin-smallText zhdlsj">
  53. <h1>最近登录时间:</h1>
  54. <%-- 改。Lin
  55. <span style="margin-right: 17px"><txt.ss val="${scdlsj}" fmt="MM" />月
  56. <txt.ss val="${scdlsj}" fmt="dd" />日</span>
  57. <span><txt.ss val="${scdlsj}" fmt="HH:mm" /></span> --%>
  58. <span style="margin-right: 17px"><txt.ss val="${scdlsj}" fmt="MM月dd日 HH:mm"/></span>
  59. </div>
  60. <%-- 问候卡片放置区 --%>
  61. <equal.ss val="${empty whList}" val2="false">
  62. <div id="wh_content" style="position: relative;margin-top:5px;height: 60px;" class="whList">
  63. <equal.ss val="${whzs &lt;= 1}" val2="false">
  64. <span class="xxx${whzs} ${whzs<=9?'icon-num':''} ${whzs>9&&whzs<=99?'icon-fullNum':''}" style="z-index: 999;display: inline-block;right: -5px;top:-3px;position: absolute;text-align: center;">${whzs<=9?whzs:''}${whzs>99?'99+':''}</span>
  65. </equal.ss>
  66. <rpt.ss name="whList" id="item">
  67. <equal.ss val="${index}" val2="0"> <%-- 改 equal:val1="${index==0}" val2="true"。Lin --%>
  68. <div class="dHover" style="width: 100%;height: 44px;margin-top: 5px;overflow: hidden;display: flex;justify-content: center;align-items: center;">
  69. <img style="max-width: 100%;max-height: 100%;" title="${item.topmsg}"
  70. <%-- 再增加 type="img"。Lin
  71. src="<serv@ss name='dlByHttp' parm='{path:"${item.sltwj}"}'/>" /> --%>
  72. src="<serv.ss name='dlByHttp' parm='{type:"img",path:"${item.sltwj}"}'/>" />
  73. </div>
  74. </equal.ss>
  75. <equal.ss val="${index}" val2="1"> <%-- 改 equal:val1="${index==1}" val2="true"。Lin --%>
  76. <div id="cardList" ><div class="popup-div" style="position: absolute;z-index: 99999;width: 140px;padding-top:6px;padding-right: 2px;box-sizing: border-box;"><div class="smallScr" style="max-height: 100px;overflow: auto;">
  77. </equal.ss>
  78. <equal.ss val="${index &gt; 0}" val2="true">
  79. <div style="width: 134px;height: 44px;display: flex;justify-content: center;align-items: center;margin-bottom: 6px;margin-right: 2px;">
  80. <img style="max-height: 100%;max-width: 100%;" title="${item.topmsg}"
  81. <%-- 再增加 type="img"。Lin
  82. src="<serv@ss name='dlByHttp' parm='{path:"${item.sltwj}"}'/>" /> --%>
  83. src="<serv.ss name='dlByHttp' parm='{type:"img",path:"${item.sltwj}"}'/>" />
  84. </div>
  85. </equal.ss>
  86. </rpt.ss>
  87. <rpt.ss name="whList" id="item">
  88. <equal.ss val="${index}" val2="1"> <%-- 改 equal:val1="${index==1}" val2="true"。Lin --%>
  89. </div></div></div>
  90. </equal.ss>
  91. </rpt.ss>
  92. </div>
  93. </equal.ss>
  94. </div>
  95. </div>
  96. <notEqual.ss val="${ry.rylbm}" val2="1100"> <%-- 改 equal:val1="${ry.rylbm eq 1100}" val2="false"。Lin --%>
  97. <%-- <div class="" style="position: relative;width: calc(100% - 2px);margin-left: 1px;height: 24px;overflow: hidden;"> --%>
  98. <%-- 进度条 --%>
  99. <%-- <span class="fl">工作量:</span><span class="gzl2">${grgzl}</span> --%>
  100. <%-- <div style="overflow: hidden;">
  101. <div class="progress-button tjlb" style="min-width: 70px;" onclick='@service{name:"p_ry_ck_gzl_jd",dest:"p_gzl_cx",show:"wdDialog",title:"工作量明细"}@'>
  102. ${grgzl}/${edgzl}
  103. </div>
  104. </div>
  105. <div class="progress-div" name="p_ry_ck_gzl_jd" >
  106. <div class="progress-done gzl1">
  107. </div>
  108. </div>
  109. </div> --%>
  110. </notEqual.ss>
  111. <equal.ss val="${empty grtjList}" val2="true">
  112. <div class="" style="position:absolute;width: calc(100% - 2px);margin-left: 1px;height: 24px;overflow: hidden;margin-top: 10px;">
  113. <div class="progress-div" >
  114. <div class="progress-done ">
  115. </div>
  116. </div>
  117. </div>
  118. </equal.ss>
  119. <equal.ss val="${empty grtjList[0]}" val2="false"> <%-- 改 equal:val1="${not empty grtjList[0]}" val2="true"。Lin --%>
  120. <div id="grtjList-div" style="position:absolute;width: 100%;text-align: left;z-index: 1001;background-color:#FFF;">
  121. <rpt.ss name="grtjList" id="item">
  122. <equal.ss val="${index &gt; 0}" val2="false">
  123. <div style="position:relative;width: calc(100% - 2px);margin-left:1px;height: 24px;overflow: hidden;"
  124. onclick='<varServ.ss dlg="true" name="${grtjList[0].detail.service}" dest="${grtjList[0].detail.dest}" title="${grtjList[0].detail.desc}" width="${grtjList[0].detail.width}" height="${grtjList[0].detail.height}" minHeight="${grtjList[0].detail.height}" maxHeight="${grtjList[0].detail.height}"/>' >
  125. <%-- 进度条列表 --%>
  126. <div style="overflow: hidden;">
  127. <div class="progress-button tjlb-child" style="min-width: 70px;" >
  128. ${grtjList[0].fz}/${grtjList[0].fm}
  129. </div>
  130. </div>
  131. <div class="progress-div" name="p_ry_ck_gzl_jd" >
  132. <div class="progress-done grtj${grtjList[0].grtjid}"> </div>
  133. </div>
  134. <script>
  135. var fm${item.grtjid} = parseFloat("${item.fm}");
  136. fm${item.grtjid} = isNaN("${item.fm}") ? 0 : fm${item.grtjid};
  137. fm${item.grtjid} = fm${item.grtjid} > 0 ? fm${item.grtjid} : 100;
  138. var fz${item.grtjid} = parseFloat("${item.fz}");
  139. fz${item.grtjid} = isNaN("${item.fz}") ? 0 : fz${item.grtjid};
  140. var p${item.grtjid} = fz${item.grtjid} / fm${item.grtjid};
  141. $(".grtj${item.grtjid}").css("width", (p${item.grtjid} > 1 ? 1 : p${item.grtjid}) * 100 + "%");
  142. </script>
  143. </div>
  144. <%-- 子进度条列表 开始--%>
  145. <equal.ss val="${empty grtjList[0].child}" val2="false">
  146. <div id="grtjList-child-div" style="height:100%;max-height:250px;position: relative;width: calc(100% - 10px);margin-left:5px;text-align: left;z-index:1011;display:none;background-color:#FFF; box-shadow: 4px 4px 9px rgba(0, 0, 0, .13);box-sizing: border-box; border-left: 1px solid #e1e1e1;border-right: 1px solid #e1e1e1;border-bottom: 1px solid #e1e1e1; border-top: 1px solid #6c9ed7;">
  147. <rpt.ss name="${grtjList[0].child}" id="item2">
  148. <div class="plugin-largeText hLine" style="height: 40px;line-height: 40px;text-align: left;text-indent: 6px;background-color:#FFF;">
  149. <div onclick='<varServ.ss dlg="true" name="${item2.detail.service}" dest="${item2.detail.dest}" title="${item2.detail.desc}" width="${item2.detail.width}" height="${item2.detail.height}" minHeight="${item2.detail.height}" maxHeight="${item2.detail.height}"/>' >
  150. <span>${item2.mc}</span><span> ${item2.sl}</span></div>
  151. </div>
  152. </rpt.ss>
  153. </div>
  154. </equal.ss>
  155. <%-- 子进度条列表 结束 --%>
  156. </equal.ss>
  157. </rpt.ss>
  158. </div>
  159. </equal.ss>
  160. </div>
  161. <equal.ss val="${empty grtjList}" val2="true">
  162. <div id="rc_content" style="margin-top: 25px;text-align: center;height: 41px;box-sizing: border-box;width: calc(100% - 12px);margin-left: 6px;position: relative;text-indent: 6px;" class="hLine-highlight">
  163. </equal.ss>
  164. <equal.ss val="${empty grtjList}" val2="false">
  165. <div id="rc_content" style="margin-top: 25px;text-align: center;height: 41px;box-sizing: border-box;width: calc(100% - 12px);margin-left: 6px;position: relative;text-indent: 6px;" >
  166. </equal.ss>
  167. <equal.ss val="${rcNum &lt;= 1}" val2="false">
  168. <span class="xxx${rcNum} ${rcNum<=9?'icon-num':''} ${rcNum>9&&rcNum<=99?'icon-fullNum':''}" style="z-index: 999;display: inline-block;right: 0px;top:1px;position: absolute;text-align: center;text-indent: 0px;">${rcNum<=9?rcNum:''}${rcNum>99?'99+':''}</span>
  169. </equal.ss>
  170. <equal.ss val="${empty rclist}" val2="false">
  171. <rpt.ss name="rclist" id="item">
  172. <equal.ss val="${index}" val2="0"> <%-- 改 equal:val1="${index==0}" val2="true"。Lin --%>
  173. <div class="dHover2 cursor-click" style="height: 40px;text-align: left;"
  174. onclick='<serv.ss dlg="true" name="rdSysDate" dest="sched" title="日历"/>'> <%-- "getSystemTime" > "nz"。Lin --%>
  175. <div class="plugin-largeText" style="display: inline-block;max-width: calc(100% - 4px);margin-left: 2px;margin-top: 12px;height: 20px;position: relative;text-indent: 0px;">
  176. ${item.mc}
  177. </div>
  178. </div>
  179. </equal.ss>
  180. <equal.ss val="${index}" val2="1"> <%-- 改 equal:val1="${index==1}" val2="true"。Lin --%>
  181. <div id="cardList2" style="margin-top: 0px;">
  182. <div class="popup-div" style="width: 100%;padding: 0px;">
  183. <div class="smallScr" style="max-height: 80px;width: calc(100% - 2px);padding-right: 2px;box-sizing: border-box;margin-top: 2px;overflow: auto;">
  184. </equal.ss>
  185. <equal.ss val="${index &gt; 0}" val2="true">
  186. <div class="plugin-largeText hLine" style="height: 40px;line-height: 40px;text-align: left;text-indent: 6px;">
  187. <div onclick='<serv.ss dlg="true" name="rdSysDate" dest="sched" title="日历"/>'> <%-- "getSystemTime" > "nz"。Lin --%>
  188. ${item.mc}</div>
  189. </div>
  190. </equal.ss>
  191. </rpt.ss>
  192. <rpt.ss name="rclist" id="item">
  193. <equal.ss val="${index}" val2="1"> <%-- 改 equal:val1="${index==1}" val2="true"。Lin --%>
  194. </div>
  195. </div>
  196. </div>
  197. </equal.ss>
  198. </rpt.ss>
  199. </equal.ss>
  200. <div id="nowDate" onclick='<serv.ss dlg="true" name="rdSysDate" dest="sched" title="日历"/>' <%-- "getSystemTime" > "nz"。Lin --%>
  201. class="plugin-largeText nowDateGrxx"
  202. style="display:
  203. <equal.ss val="${empty rclist}" val2="true">
  204. inline-block;
  205. </equal.ss>
  206. <equal.ss val="${empty rclist}" val2="false">
  207. none;
  208. </equal.ss>
  209. max-width: calc(100% - 4px);margin-left: 2px;margin-top: 12px;height: 20px;">
  210. </div>
  211. <equal.ss val="${empty grtjList[0]}" val2="false"> <%-- 改 equal:val1="${not empty grtjList[0]}" val2="true"。Lin --%>
  212. <rpt.ss name="grtjList" id="item">
  213. <div class="grtjList-num" id="${item.grtjid}" style="position:relative;width: calc(100% - 2px);text-align: left;z-index:1000;background-color:#FFF;border-bottom: 1px solid #6c9ed7;">
  214. <equal.ss val="${index &gt; 0}" val2="true">
  215. <div style="height: 40px;text-align: left;"
  216. onclick='<varServ.ss dlg="true" name="${item.detail.service}" dest="${item.detail.dest}" title="${item.detail.desc}" width="${item.detail.width}" height="${item.detail.height}" minHeight="${item.detail.height}" maxHeight="${item.detail.height}"/>' >
  217. <div class="plugin-largeText cursor-click" style="display: inline-block;max-width: calc(100% - 4px);margin-left: 2px;margin-top: 12px;height: 20px;position: relative;text-indent: 0px;">
  218. ${item.mc}
  219. </div>
  220. </div>
  221. <equal.ss val="${empty item.child}" val2="false">
  222. <div class="grtjList-child-num" parentId="${item.grtjid}" style="position: fixed;width:0px;padding-right: 2px;text-align: left;z-index:1001;display:none;background-color:#FFF; box-shadow: 4px 4px 9px rgba(0, 0, 0, .13);box-sizing: border-box; border-left: 1px solid #e1e1e1;border-right: 1px solid #e1e1e1;border-bottom: 1px solid #e1e1e1; border-top: 1px solid #6c9ed7;">
  223. <div style="position: relative;max-height: 207px;" class="smallScrollbar">
  224. <rpt.ss name="${item.child}" id="item2">
  225. <div class="plugin-largeText hLine" style="width:100%;height: 40px;line-height: 40px;text-align: left;text-indent: 6px;background-color:#FFF;">
  226. <div onclick='<varServ.ss dlg="true" name="${item2.detail.service}" dest="${item2.detail.dest}" title="${item2.detail.desc}" width="${item2.detail.width}" height="${item2.detail.height}" minHeight="${item2.detail.height}" maxHeight="${item2.detail.height}"/>' >
  227. <span>${item2.mc}</span><span> ${item2.sl}</span></div>
  228. </div>
  229. </rpt.ss>
  230. </div>
  231. </div>
  232. </equal.ss>
  233. </equal.ss>
  234. </div>
  235. </rpt.ss>
  236. </equal.ss>
  237. </div>
  238. <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NkAAIAAAoAAggA9GkAAAAASUVORK5CYII=" onload="initJs${sybjId}(this)" />
  239. </div>
  240. </div>
  241. </div>
  242. <script>
  243. var initJs${sybjId} = function(img) {
  244. var e = parseFloat("${edgzl}");
  245. e = isNaN("${edgzl}") ? 0 : e;
  246. e = e > 0 ? e : 100;
  247. var g = parseFloat("${grgzl}");
  248. g = isNaN("${grgzl}") ? 0 : g;
  249. var p = g / e;
  250. $(".gzl1").css("width", (p > 1 ? 1 : p) * 100 + "%");
  251. $(".gzlpe").html((p * 100).toFixed(2));
  252. function showTime(){
  253. var nowtime=new Date();
  254. var year=nowtime.getFullYear();
  255. var month=nowtime.getMonth()+1;
  256. var date=nowtime.getDate();
  257. var m = (nowtime.getMinutes() < 10 ? '0'+(nowtime.getMinutes()) : nowtime.getMinutes());
  258. $(".nowDateGrxx").text(year+"年"+month+"月"+date+"日 "+nowtime.getHours()+":"+m);
  259. }
  260. setInterval(showTime,1000);
  261. var timer = null;
  262. $(".dHover").mouseenter(function() {
  263. tips($(this),"cardList");
  264. });
  265. $(".dHover").mouseleave(function() {
  266. clearTimeout(timer);
  267. timer = setTimeout(function() { tipsHidden() }, 100);
  268. });
  269. $(".dHover2").mouseenter(function(e) {
  270. e.stopPropagation();
  271. tips($(this),"cardList2");
  272. // $(".whkDivHover").find(".smallScr").addClass("smallScrollbar");
  273. // 初始化滚动条
  274. setTimeout(function() {
  275. top.loadSmallScorll(top.$(".popup-div"));
  276. }, 100)
  277. });
  278. $(".dHover2").mouseleave(function(e) {
  279. clearTimeout(timer);
  280. timer = setTimeout(function() { tipsHidden() }, 100);
  281. });
  282. function tips(obj,eleId) {
  283. console.log("come in");
  284. if($("#"+eleId).html() == null) {
  285. return;
  286. }
  287. var bounding = $(obj)[0].getBoundingClientRect();
  288. var xy = this.recursionIframe();
  289. var left = bounding.left + xy.left;
  290. var top_z = bounding.top + bounding.height + xy.top;
  291. var htmls = "<div class='whkDivHover' style = 'width:"+$(obj).width()+"px; height: 102px; position: absolute; left: " + left + "px; top:" + top_z + "px; z-index:999999;' ><div class='popup-div smallScrollbar' style='width: 100%;padding: 0px;overflow:auto'><div class='smallScr cursor-click ' style='max-height: 120px;height: 100px;width: calc(100% - 2px);padding-right: 2px;box-sizing: border-box;margin-top: 2px;'>";
  292. htmls += $("#"+eleId).find('.smallScr').html();
  293. htmls += "</div></div></div>";
  294. top.$("body").append(htmls);
  295. var scr=document.createElement("script");
  296. $(scr).append("initNiceScorll();");
  297. top.$("body").append(scr);
  298. top.$(".whkDivHover").find(".popup-div").show();
  299. top.$(".whkDivHover").mouseenter(function() {
  300. clearTimeout(timer);
  301. });
  302. top.$(".whkDivHover").find(".popup-div").mouseleave(function() {
  303. tipsHidden();
  304. });
  305. }
  306. function tipsHidden() {
  307. top.$(".whkDivHover").remove();
  308. }
  309. this.recursionIframe = function(win) {
  310. win = win || window;
  311. function getTop(e) {
  312. var offset = e.offsetTop;
  313. if (e.offsetParent != null) offset += getTop(e.offsetParent);
  314. return offset;
  315. }
  316. function getLeft(e) {
  317. var offset = e.offsetLeft;
  318. if (e.offsetParent != null) offset += getLeft(e.offsetParent);
  319. return offset;
  320. }
  321. if (win.parent == top && win.parent == win) {
  322. return {
  323. "left": 0,
  324. "top": 0
  325. };
  326. }
  327. var winPar = win.parent;
  328. var iframeArr = winPar.document.getElementsByTagName('IFRAME');
  329. var targetIframe;
  330. var iframeArr1 = win.document.getElementsByTagName('IFRAME');
  331. for (var i = 0; i < iframeArr1.length; i++) {
  332. var iframeElem = iframeArr1[i];
  333. if (iframeElem.contentWindow == win) {
  334. targetIframe = iframeElem;
  335. break;
  336. }
  337. }
  338. for (var i = 0; i < iframeArr.length; i++) {
  339. var iframeElem = iframeArr[i];
  340. if (iframeElem.contentWindow == win) {
  341. targetIframe = iframeElem;
  342. break;
  343. }
  344. }
  345. var xy = {
  346. left: getLeft(targetIframe),
  347. top: getTop(targetIframe)
  348. }
  349. if (winPar.parent != winPar) {
  350. var xy2 = this.recursionIframe(winPar);
  351. xy.left += xy2.left;
  352. xy.top += xy2.top;
  353. }
  354. return xy
  355. }
  356. $("#wh_content").find(".popup-div").hide();
  357. $("#rc_content").find(".popup-div").hide();
  358. $('.popup-div').hide();
  359. $("#wh_content").click(function(){
  360. var url = '<serv.ss dlg="true" name="bj_cxgz" dest="cmsPlay" parm="{sfgxwkh:&quot;1&quot;}"/>';
  361. eval(url);
  362. $("div.zhdlsj").show();
  363. $("#wh_content").hide();
  364. })
  365. }
  366. </script>
  367. <script>
  368. $("#grtjList-div").mouseleave(function() {
  369. $("#grtjList-child-div").css("display","none");
  370. });
  371. $(".tjlb-child").mouseenter(function() {
  372. $("#grtjList-child-div").css("display","block");
  373. });
  374. $("#grtjList-child-div").mouseleave(function(){
  375. $("#grtjList-child-div").css("display","none");
  376. });
  377. loadSmallScorll( $("#grtjList-child-div"));
  378. </script>
  379. <script>
  380. var divw = $(".grtjList-num").width();
  381. $(".grtjList-num").mouseleave(function() {
  382. $(this).find("div[parentId]").css("display", "none");
  383. });
  384. $(".grtjList-num").mouseenter(function() {
  385. var id = $(this).attr("id");
  386. if (id) {
  387. $("div[parentId]").css("display", "none");
  388. $("div[parentId='" + id + "']").css("display", "block");
  389. }
  390. // loadSmallScorll($(".grtjList-child-num"));
  391. $(".grtjList-child-num").width(divw);
  392. });
  393. setTimeout(function() {
  394. loadSmallScorll($(".grtjList-child-num"));
  395. }, 100)
  396. $(".grtjList-child-num").width(divw);
  397. </script>
  398. </body>
  399. </html>