死亡的意义是什么?

展开阅读全文
博主设置当前文章不允许评论。

这段代码的意义是什么

05-10

![图片说明](https://img-ask.csdn.net/upload/201605/10/1462868776_724621.png)rnfunction grabEvent(__key_code) rn var key_code = 0;rn if (__USER_AGENT__ == 'android')rn rn key_code = __key_code;rn rn elsern rn key_code = transform_key_value(event.which || event.keyCode);rn rn if (key_code < 58 && key_code > 47)rn rn key_code = key_code - 48;rn if (body_selector_show && body_focus_area == 1)rn rn get_num(key_code);rn rn return 0;rn rn elsern rn switch(key_code) rn case 1://uprn if (error_show || wait_tips)rn rn return 0;rn rn if (body_selector_show)rn rn if(body_focus_area == 1) rn if(keyPadWeight.focusIdx < 6) rn //to 顶部rn $("focusInputItem").style.left = inputItemPos[body_pos] + "px";rn $("focusInputItem").style.visibility = "visible";rn body_focus_area = 0;rn $("keyborad_focus").style.visibility = "hidden";rn set_input_style(0);rn else rn keyPadWeight.focusChg(-6);rn rn rn rn else rn rn if (focus_area == 1)rn rn rn focus_area = 0;rn $("uu" + pos).style.visibility = "hidden";rn $("u" + pos).style.visibility = "visible";rn $("gb1").style.visibility = "hidden";rn rn rn return 0;rn break; rn case 2://down rn if (error_show || wait_tips)rn rn return 0;rn rn if (body_selector_show)rn rn if (body_focus_area == 0)rn rn $("keyborad_focus").style.visibility = "visible";rn $("focusInputItem").style.visibility = "hidden";rn input_objs[body_pos].showCursor();rn body_focus_area = 1;rn else if(body_focus_area == 1) rn if(keyPadWeight.focusIdx < 6) rn keyPadWeight.focusChg(6);rn rn rn rn else rn rn if (focus_area == 0)rn rn rn focus_area = 1;rn $("uu" + pos).style.visibility = "visible";rn $("u" + pos).style.visibility = "hidden";rn $("gb1").style.visibility = "visible";rn rn rn return 0; rn break; rn case 3://left rn if (error_show || wait_tips)rn rn return 0;rn rn if (sex_selector_show)rn rn change_sex_pos(-1);rn return 0;rn rn else if (vocation_selector_show)rn rn change_vocation_pos(-1);rn return 0;rn rn else if (body_selector_show)rn rn if (body_focus_area == 0)rn rn if(body_pos > 0) rn body_pos--;rn $("focusInputItem").style.left = inputItemPos[body_pos] + "px";rn rn rn else if(body_focus_area == 1) rn rn keyPadWeight.focusChg(-1);rn rn return 0;rn rn if (focus_area == 1)rn rn change_icon_focus(-1);rn rn return 0;rn break;rn case 4://right rn if (error_show || wait_tips)rn rn return 0;rn rn if (sex_selector_show)rn rn change_sex_pos(1);rn return 0;rn rn else if (vocation_selector_show)rn rn change_vocation_pos(1);rn return 0;rn rn else if (body_selector_show)rn rn if (body_focus_area == 0)rn rn if(body_pos < 2) rn body_pos++;rn $("focusInputItem").style.left = inputItemPos[body_pos] + "px";rn rn rn else if(body_focus_area == 1) rn rn keyPadWeight.focusChg(1);rn rn return 0;rn rn if (focus_area == 1)rn rn change_icon_focus(1);rn rn return 0;rn break;rn rn rn rnrn rn return 1; rnrnrnrnfunction change_icon_focus(__num)rnrn if (pos == 0 && __num < 0) return;rn if (pos == 8 && __num > 0) return;rn $("uu" + pos).style.visibility = "hidden";rn $("u" + pos).style.visibility = "visible";rn pos += __num;rn $("uu" + pos).style.visibility = "visible";rn $("u" + pos).style.visibility = "hidden";rn $("gb1").style.top = focus_index[pos] + "px";rnrnrnrnrnrnfunction $(id)rnrn return document.getElementById(id);rnrnrn 问答

没有更多推荐了,返回首页