根据ul里li中文本排序
 <html>
<head>
<title></title>
</head>
<body>
<ul id="ul1">
<li>2</li>
<li>5</li>
<li>1</li>
<li>4</li>
<li>3</li>
</ul>
</br>
<input type="button" id="SortAdd" On_click="SortAdd"/>顺序
<input type="button" id="Sortjian" On_click="Sortjian"/>倒序
</body>
</html>

编写jQuery脚本点击“顺序”按钮实现顺序排列,点击“逆序”实现逆序排列

4个回答

 <!DOCTYPE html>
<html>
<head>
<script src="/jquery/jquery-1.11.1.min.js">
</script>
<script>
function Sortable(ul,isResverse){
  var li_list=$('li',ul);
  var arr=[];
  for(var i=0;i<li_list.length;i++){
     arr[arr.length]=li_list[i].innerHTML;
  }
  arr.sort();
  for(i=0;i<arr.length;i++){
     if(isResverse){
       li_list[i].innerHTML = arr[arr.length-1-i];
     }else{
       li_list[i].innerHTML = arr[i];
     }
  }
}
function orderli(f){
  ul = $('#ul1');
  Sortable(ul,f)
}
</script>
</head>
<body>
<ul id="ul1"> <li>2</li> <li>5</li> <li>1</li> <li>4</li> <li>3</li></ul>
<button onclick="orderli(0)">顺序</button>
<button onclick="orderli(1)">倒序</button>
</body>
</html>

danielinbiti
danielinbiti sort方式换一下arr.sort(function(a,b){return parseInt(a,10)>parseInt(b,10)?1:-1});
接近 5 年之前 回复

无非就是颠倒下先后位置,不过如你的用户名所说,“SQL数据库 ”做起来更简单。

  <html>
<head>
<title></title>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.2.min.js"></script>
</head>
<body>
<ul id="ul1">
<li>2</li>
<li>5</li>
<li>1</li>
<li>4</li>
<li>3</li>
</ul>
</br>
<input type="button" id="SortAdd" onclick="Sort()" value="顺序"/>
<input type="button" id="Sortjian" onclick="Sort(true)" value="倒序"/>
<script>
    function Sort(desc) {
        var li = $('#ul1 li').get();
        li.sort(function (li1, li2) { return desc ? parseInt(li2.innerHTML) - parseInt(li1.innerHTML) : parseInt(li1.innerHTML) - parseInt(li2.innerHTML) });
        $('#ul1').append(li);
    }
</script>
</body>
</html>

上面写的那么复杂干吗,字符串能够直接比较大小的字符串能够直接比较大小的

 bool desc=false;
var lis = $('li');
lis.sort(function(a,b){
    var v ;
        if($(a).html()>$(b).html())
        {
            v=1;
        }
        else
        {
            v=-1;
        }
        if(desc)
        {
            v=-v;
        }
        return v;
});
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
请问大神们,用js和jQuery对html上的3张图片进行排序,该如何随机排序啊???
代码如下: <ul class="s" id="1"> <li class="sw"><a href=""><img src="images/f.jpg" alt=""/></a></li> <li class="sw"><a href=""><img src="images/e.jpg" alt=""/></a></li> <li class="sw"><a href=""><img src="images/d.jpg" alt=""/></a></li> </ul> 对图片进行随机排序???
asp.net repeater 绑定数据后 怎么改变显示的顺序
<ul style=" margin-left:20px"> <asp:Repeater ID="rep_data" runat="server"> <ItemTemplate> <li ><p ><span><%# Eval("data").ToString()%>:</span></li> </ItemTemplate> </asp:Repeater> </ul> 就是如果显示的是:XXX 待定 xxxx xxxx 能不能将“待定”放在最后一行。谢谢各位了!
求助一个php正则表达式的问题
有一个形式类似下面的字符串 ``` <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&2%2C2%2C">微信公众号营销一本通</a></span> 我想在php环境中用正则表达式匹配出其中书名(微信公众号营销一本通)部分,请问应该怎么写这个正则表达式 更新,整个html文件源代码: <html dir="LTR"> <head> <title>Jinan University Library /All Locations</title> <base target="_self"/> <link rel="stylesheet" type="text/css" href="/scripts/ProStyles.css" /> <link rel="stylesheet" type="text/css" href="/screens/styles.css" /> <link rel="shortcut icon" type="ximage/icon" href="/screens/favicon.ico" /> <script type="text/javascript" src="/scripts/common.js"></script> <script type="text/javascript" src="/scripts/features.js"></script> <script type="text/javascript" src="/scripts/elcontent.js"></script> <script type="text/JavaScript"> <!-- Hide the JS startTimeout(6000000, "/"); // --> </script> <noscript> <meta http-equiv="Refresh" content="6000;URL=/" /> </noscript> <script type="text/javascript" src="/screens/bibdisplay.js"></script><meta name="renderer" content="webkit|ie-comp|ie-stand"> </head> <body bgcolor="#FFFFFF" > <!-- begin toplogo_chx.html file --> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 19 August 2008 --> <script language="JavaScript" type="text/javascript" src="/screens/jquery-1.10.1.min.js"></script> <script language="JavaScript" type="text/javascript" src="/screens/related.js"></script> <script language="JavaScript" type="text/javascript" src="/screens/libinfo.js"></script> <script language="JavaScript" type="text/javascript" src="/screens/searcharg.js"></script> <div class="topLogoDiv"> <div id="skipNav"><a href="#content">跳至內容</a></div> <div class="floatRight"> <ul id="headerNav"> <li class="headerNavFirst"><a href="/*chx">馆藏检索主页</a></li> <li><a href="/screens*chx/help_index_chx.html">帮助</a></li> <li><a href="/patroninfo*chx">登录</a></li> <li><a href="http://opac.jnu.edu.cn/*eng"><font color="#990000"><strong>English</strong></font></a></li> </ul> </div> <a href="/*chx"><img src="/screens/logo.gif" alt="2007 WebPAC PRO"/></a> </div> <div class="clear"> <!-- content div --> <div class="pageNavColumn"><!-- nav menu column--> <span id="limit"></span> <!-- <div id='limit' class="navHeader" style='width:100%;background-color:#D2E0E7; border:1px #666666; text-align:left;'><font size="4"><strong>精确查询,依照:</strong></font></div> <h1 class="navHeader"><font size="3">从哪里查找</font></h1> <ul class="leftCol"> <li><span id="keyword" ></span></li> <li><span id="title" ></span></li> <li><span id="subject"></span></li> <li><span id="author"></span></li> <li><span id="isbnsea"></span></li> <li><span id="callno"></span></li> <li><a href="/search*chx/g">政府文件</a></li> </ul> --> <div id="JNU_QRCode" style="display:none"> </div> <div id="libinfo"></div> <div id="relate"></div> <!-- <h1 class="navHeader"><font size="3">出版年份</font></h1> <ul class="leftCol"> <li style="list-style:none; padding:2px; color:#000"><span id="2009" ></span></li> <li><span id="2008"></span></li> <li><span id="2007"></span></li> <li><span id="2006"></span></li> <li><span id="course"></span></li> <li><a href="/suggest*chx">评论</a></li> </ul> --> <div class="navHeader" style='width:100%;background-color:#D2E0E7; border:1px #666666; text-align:left;'><font size="4"><strong>个性化服务</strong></font></div> <!--<h1 class="navHeader"><font size="3">你的图书馆</h1>--> <ul class="leftCol"> <li><a href="/patroninfo*chx">我的帐户</a></li> <li><a href="/acquire*chx">好书荐购</a></li> <li><a href="/search*chx/X">高级检索</a></li> <li><a href="http://202.116.13.252/newbook/newbook">新书通报</a></li> <li><a href="http://202.116.13.252/reading/" target="_blank"><font color="#990000"><strong>外借排行榜</strong></font></a></li> <li><a href="http://lib.jnu.edu.cn">图书馆主页</a></li> <li><a href="http://toolbar.google.com/buttons/add?url=http://opac.jnu.edu.cn/screens/JNULOPAC.xml">添加OPAC检索按钮到Google工具栏</a></li> <li><a href="http://mycroft.mozdev.org/search-engines.html?name=%E6%9A%A8%E5%8D%97%E5%A4%A7%E5%AD%A6%E5%9B%BE%E4%B9%A6%E9%A6%86" target="_blank" title="点击暨南大学图书馆链接安装插件">OPAC的Firefox搜索引擎插件</a></li> <li><a href="http://202.116.13.41/libStu/video.jsp" target="_blank" title="新生入馆视频指南">新生入馆视频指南</a></li> <li><a href="http://lib.jnu.edu.cn/help/HelpInfo.action?id=34" target="_blank" title="随书光盘系统使用帮助">随书光盘系统使用帮助</a></li> <li><a href="http://202.116.13.4/show.jsp?ID=1339" target="_blank" title="暨南大学图书馆无线网络使用帮助">暨南大学图书馆无线网络使用帮助</a></li> <li><a href="http://lib.jnu.edu.cn/feedback/feedbackList.action?sysid=42&itemid=0" target="_blank"><img src="/screens/aa.gif" /></a></li> <!-- <li><a href="/illb*chx">馆际互借</a></li> <li><a href="/suggest*chx">评论</a></li> </ul> <li><a href="/selfreg*chx">开一个帐户</a></li> <h1 class="navHeader">图书馆链接</h1> <ul class="leftCol"> --> <!--<li><a href="http://toolbar.google.com/buttons/add?url=http://opac.jnu.edu.cn/screens/JNULOPAC.xml" onMouseOver="AdLayer.style.display='inline'" onmouseout="AdLayer.style.display='none'"><font color="#990000"><strong>添加OPAC检索按钮到Google工具栏</strong></font></a></li> --> <!-- <li><a href="/feeds*chx">Feeds</a></li> <li><a href="/screens*chx/rpro_chx.html">Research Pro</a></li> <li><a href="/iii/calendar">活动日程</a></li> <li><a href="/*chx">KidsOnline</a></li> <li><a href="/ftlist*chx">专题馆藏/新书通告</a></li> <li><a href="/screens*chx/resources_index_chx.html">其他资源</a></li> --> <!-- </ul> <h1 class="navHeader">指定参考书</h1> <ul class="leftCol"> <li><a href="/search*chx/r">课程搜索</a></li> <li><a href="/search*chx/p">教师搜索</a></li> --> </ul> </div><!--Styling div--> <!-- 当时用于显示google按钮的 鼠标动作 <div style='position:absolute; width:250px; height:143px; z-index:20; left: 987px; top: 448px;'> <table id="AdLayer" name="AdLayer" border="0" style="display:none"> <tr> <td ><font size="2"> **&#x70B9;&#x51FB;JNUOPAC&#x6309;&#x94AE;&#xFF0C;&#x76F4;&#x63A5;&#x6253;&#x5F00;&#x66A8;&#x5357;&#x5927;&#x5B66;&#x56FE;&#x4E66;&#x9986;&#x4E66;&#x76EE;&#x68C0;&#x7D22;&#x9875;&#x9762;</br></br> **&#x5982;&#x5728;google&#x68C0;&#x7D22;&#x6846;&#x8F93;&#x5165;&#x68C0;&#x7D22;&#x5185;&#x5BB9;&#xFF0C;&#x70B9;&#x51FB;JNUOPAC&#x6309;&#x94AE;&#xFF0C;&#x5C06;&#x4F1A;&#x8FD4;&#x56DE;&#x66A8;&#x5357;&#x5927;&#x5B66;&#x56FE;&#x4E66;&#x9986;&#x4E66;&#x76EE;&#x7684;&#x68C0;&#x7D22;&#x5185;&#x5BB9;&#x3002;</font></td> </tr> </table> </div>--> <div class="pageContentColumn"><!-- content container --> <a name="content"></a> <!--end toplogo_chx.html--> <div align="center" class="navigationRow"> <form> <a href="/search~S1*chx"><img src="/screens/startover_chx.gif" alt="重新检索" border="0" /></a> <a href="/search~S1*chx/X?NOSRCH={u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1"><img src="/screens/modify_chx.gif" alt="修改检索" border="0" /></a> <a href="/search~S1*chx/X"><img src="/screens/another_chx.gif" alt="再次检索" border="0" /></a> <select name=HISTORY onChange="onSelectChange(this, '~S1*chx')"><option value="">(检索历史)</option> <OPTION VALUE="X{u5FAE}{u4FE1}&searchscope=1&SORT=D">关键字: 微信 在 全部馆藏 <option value="+/search~S1*chx/X?{u5FAE}{u4FE1}&searchscope=1&SORT=D&clear_history">(清除检索历史)</option> <option value="+/*chx">(结束检索进程)</option> </select> <noscript> <h2>搜索历史功能需要JavaScript。</h2> </noscript> </form> </div> <!-- BEGIN BROWSE SCREEN TABLE --> <table width="100%" cellpadding="2" cellspacing="0" border="0" class="browseScreen"> <!-- BEGIN SEARCH WIDGET --> <div align="center"> <tr align="center" valign="middle"> <td valign="middle" colspan="2"> <div class="browseSearchtool"> <script type="text/JavaScript"> <!-- Hide the JS var savedScope; var savedTag; var savedSearch; var sortButtonText = null; var savedExactSearch = null; var sortButtonEvent = null; var sortExactBrowseURL = null; var sortTypes = new Array(); var sortLabels = new Array(); sortTypes[0] = "t"; sortLabels[0] = "题名"; sortTypes[1] = "a"; sortLabels[1] = "作者"; sortTypes[2] = "c"; sortLabels[2] = "出版年升序"; sortTypes[3] = "r"; sortLabels[3] = "出版年降序"; sortTypes[4] = "n"; sortLabels[4] = "索书号"; sortTypes[5] = "m"; sortLabels[5] = "载体类型"; sortLabels[6] = "系统排序"; sortTypes[6] = "-"; var sortSelectedValue = "6"; var nonSortTags = "XYZprWw" // Unhide the JS --> </script> <form name="searchtool" target="_self" action="/search~S1*chx/" method='GET'> <label for="searchtype" style="display:none;">SearchType</label> <select name="searchtype" id="searchtype" onChange="initSort()"> <option value="a"> 著者</option> <option value="t"> 题名</option> <option value="d"> 主题</option> <option value="c"> 索书号</option> <option value="i"> 标准号</option> <option value="X" selected="selected"> 关键字</option> </select> &nbsp; <label for="searcharg" style="display:none;">Search</label><input type="text" name="searcharg" id="searcharg" size="30" onchange='return searchtoolSubmitAction()'maxlength="75" value="微信" /> &nbsp; <label for="searchscope" style="display:none;">Search Scope</label><select name="searchscope" id="searchscope"> <option value="1" selected="selected"> 全部馆藏</option> <option value="4"> 本部主要书籍</option> <option value="3"> 本部期刊和报纸</option> <option value="2"> 本部电子资源</option> <option value="7"> 深圳旅游学院</option> <option value="6"> 华文学院图书馆</option> <option value="5"> 暨南文库</option> <option value="8"> 大学城校区</option> </select> &nbsp; <span id="sort_cell"> </span> <script type="text/JavaScript"> <!-- Hide the JS initSort(); // Unhide the JS --> </script> <input type="hidden" name="SORT" value="DZ" /><input type="hidden" name="extended" value="0" /> <input type="submit" name="SUBMIT" value="检索" onclick='return searchtoolSubmitAction();' /> <div> <input type="checkbox" name="availlim" value="1" /> <span class="availLimMessage">只检索可借图书</span><br/> </div> <div> <input type="hidden" name="searchlimits" value="" /> <input type="hidden" name="searchorigarg" value="X{u5FAE}{u4FE1}" /> </div> </form> <div class="browseSearchtoolMessage"> <i>找到 2609 条记录 </i>排序依据 <strong>相关度</strong> | <a href="/search~S1*chx/X?{u5FAE}{u4FE1}&searchscope=1&SORT=DX">日期</a> | <a href="/search~S1*chx/X?{u5FAE}{u4FE1}&searchscope=1&SORT=AX">题名</a> . </div> <div></div></div> </td> </tr> </div> <!-- END SEARCH WIDGET --> <!-- BEGIN BROWSE PAGER --> <!-- begin page widgit --> <tr class="browsePager"><td align="center" class="browsePager" colspan="5"> 结果页面&nbsp;&nbsp;&nbsp;<strong>1</strong> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/13%2C2609%2C2609%2CB/browse">2</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/25%2C2609%2C2609%2CB/browse">3</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/37%2C2609%2C2609%2CB/browse">4</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/49%2C2609%2C2609%2CB/browse">5</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/61%2C2609%2C2609%2CB/browse">6</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/73%2C2609%2C2609%2CB/browse">7</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/85%2C2609%2C2609%2CB/browse">8</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/97%2C2609%2C2609%2CB/browse">9</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/109%2C2609%2C2609%2CB/browse">10</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/121%2C2609%2C2609%2CB/browse">11</a> ... <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/2605%2C2609%2C2609%2CB/browse">218</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/13%2C2609%2C2609%2CB/browse">下一页</a> <!-- end page widgit --> </td> </tr> <!-- END BROWSE PAGER --> <style type="text/css"> <!-- #rategroup1 { display: inline } #rateneed1 { display: none } #rategroupMy1 { display: none } #ratemy1 { display: inline } #rategroup2 { display: inline } #rateneed2 { display: none } #rategroupMy2 { display: none } #ratemy2 { display: inline } #rategroup3 { display: inline } #rateneed3 { display: none } #rategroupMy3 { display: none } #ratemy3 { display: inline } #rategroup4 { display: inline } #rateneed4 { display: none } #rategroupMy4 { display: none } #ratemy4 { display: inline } #rategroup5 { display: inline } #rateneed5 { display: none } #rategroupMy5 { display: none } #ratemy5 { display: inline } #rategroup6 { display: inline } #rateneed6 { display: none } #rategroupMy6 { display: none } #ratemy6 { display: inline } #rategroup7 { display: inline } #rateneed7 { display: none } #rategroupMy7 { display: none } #ratemy7 { display: inline } #rategroup8 { display: inline } #rateneed8 { display: none } #rategroupMy8 { display: none } #ratemy8 { display: inline } #rategroup9 { display: inline } #rateneed9 { display: none } #rategroupMy9 { display: none } #ratemy9 { display: inline } #rategroup10 { display: inline } #rateneed10 { display: none } #rategroupMy10 { display: none } #ratemy10 { display: inline } #rategroup11 { display: inline } #rateneed11 { display: none } #rategroupMy11 { display: none } #ratemy11 { display: inline } #rategroup12 { display: inline } #rateneed12 { display: none } #rategroupMy12 { display: none } #ratemy12 { display: inline } --> </style> <!-- BEGIN BROWSE SCREEN LEFT CELL: BROWSELIST/BRIEFCIT AREA --> <tr><td> <table border="2" cellpadding="3" width="100%"> <tr align="CENTER" valign="MIDDLE"> <td colspan="5" class="browseSaveJump"> <form method="POST" action="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse" name="export_form" id="export_form" > <input type="hidden" name="jumpref" value="X{u5FAE}{u4FE1}"> <input type="hidden" id="save_func" name="save_func" value=""/> <a href="#" onclick="process_save(0);" style="text-decoration:none"> <img src="/screens/savemarked_chx.gif" alt="保存选择" class="button" width="120" height="20" border="0" /></a> <span name='save_page_btn1' id='save_page_btn1' style='visibility: visible' ><a href="#" onclick="process_save(1);" style="text-decoration:none"> <img src="/screens/saveallpage_chx.gif" alt="全部保存" class="button" width="120" height="20" border="0" /></a> </span> <span name='mylist_btn1' id='mylist_btn1' style='visibility: visible' ><a href="#" onclick="save_to_mylist();"> <img src="/screens/save_to_my_lists_chx.gif" alt="保存到我的检索列表" border="0"/></a> </span> </td></tr> </td> </tr> <tr class="browseHeader"> <td align="center" class="browseHeaderData"> 关键词 (1-12 共 2609) </td> </tr> <!-- Right Result rank 1 --> <tr class="browseSuperEntry browseEntryRelGroup1"><td colspan="1"><img src="/screens/relevance5.gif" alt="最相关">&nbsp;最相关题名&nbsp;1-85 条记录</td></tr> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_1'></a> 1</div> <div class="briefcitMedia"> <img src="/screens/media_book.gif" alt="普通图书"></div> <input type="checkbox" name="save" value="b3418326" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&1%2C1%2C">微信品牌营销</a></span> <br/> &nbsp; &nbsp; 北京 : 机械工业出版社, 2016.01&nbsp; &nbsp; 10,188页 ; 25cm<!-- <div> 2016</div> --> <br/> <span>评级:</span> <span id="rategroup1"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_1"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> &nbsp;</div> --> <div class="briefcitItems"> </div> <div class="briefcitItems"> </div> </td> <td align="center" width="5%"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CC/bibimage&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&1%2C1%2C" target="_parent"><img src="http://book.bookday.cn/book/cover?isbn=9787111520054&w=67&h=97 " border="0" alt="书封"></a></td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_2'></a> 2</div> <div class="briefcitMedia"> <img src="/screens/media_book.gif" alt="普通图书"></div> <input type="checkbox" name="save" value="b3422848" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&2%2C2%2C">微信公众号营销一本通</a></span> <br/> / 魏艳,朱虹主编&nbsp; &nbsp; : 化学工业出版社, 2016.01&nbsp; &nbsp; 181页 ; 24cm : 图<!-- <div> 2016</div> --> <br/> <span>评级:</span> <span id="rategroup2"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_2"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> &nbsp;</div> --> <div class="briefcitItems"> </div> <div class="briefcitItems"> 本书详细介绍了微信公众号营销的各种理念和技巧,以微信公众号为切入点,精选多个微信公众号营销的成功实例构建全文。全书分为基础篇、运用篇和实践篇三篇,全面解析微信公众号的基础知识、运营思路、营销战术,以及推广方法和步骤。</div> </td> <td align="center" width="5%"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CC/bibimage&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&2%2C2%2C" target="_parent"><img src="http://book.bookday.cn/book/cover?isbn=9787122252050&w=67&h=97 " border="0" alt="书封"></a></td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_3'></a> 3</div> <div class="briefcitMedia"> <img src="/screens/media_book.gif" alt="普通图书"></div> <input type="checkbox" name="save" value="b3335811" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&3%2C3%2C">深度微信</a></span> <br/> / 韩曰田著&nbsp; &nbsp; 北京 : 机械工业出版社, 2015&nbsp; &nbsp; XI, 282页 : 图 ; 25cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup3"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_3"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CC/requestbrowse~b3335811&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&3%2C3%2C"><img src="/screens/bullet.gif" alt="" border="0" style="margin-right:5px"/>预约</a></div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> &nbsp;</div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/fivefloor.html">本部五楼社科阅览区</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cF713.36%2F201520/cf713+36+201520/-3,-1,,E/browse">F713.36/201520</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/fourfloor.html">本部四楼中文图书外借区</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cF713.36%2F201520/cf713+36+201520/-3,-1,,E/browse">F713.36/201520</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;到期 16-03-18 </td></tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;南校区三楼社科图书借阅区 </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cF713.36%2F201520/cf713+36+201520/-3,-1,,E/browse">F713.36/201520</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;到期 16-04-13 </td></tr> </table> </div> <div class="briefcitItems"> 本书包括微信营销、运营、创业和微信电商4大主题,涵盖公众号和朋友圈两大领域。营销视角,公众号内容推广的5个技巧;公众号增粉的15种方法,粉丝维护的5个技巧,获取粉丝的8个“后悔”;朋友圈分享的9个技巧,朋友圈营销的6大策略;微信营销的6大禁忌。运营视角,企业社交媒体矩阵构建;公众号2大定位方法、6大定位方向、11条取名技巧或学问;公众号内容组织、编辑、推送策略与技巧;朋友圈定位的2大策略和营销的6个技巧;运营团队的人才策略和团队管理;运营数据的分析方法。创业角度,自媒体、自组织、第三方开发、微信营销、旅游、本地服务、移动电商等7大领域的创业思路、方法和案例;订阅号创业的4大风险。电商角度,订阅号的电商策略和价值、微信小店的布局和全流程操作、微信电商引流的8个妙招、朋友圈的销售属性和卖货策略。</div> </td> <td align="center" width="5%"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CC/bibimage&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&3%2C3%2C" target="_parent"><img src="http://book.bookday.cn/book/cover?isbn=9787111484516&w=67&h=97 " border="0" alt="书封"></a></td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_4'></a> 4</div> <div class="briefcitMedia"> <img src="/screens/media_book.gif" alt="普通图书"></div> <input type="checkbox" name="save" value="b3356842" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&4%2C4%2C">微信蓝皮书</a></span> <br/> / 主编方兴东&nbsp; &nbsp; 北京 : 电子工业出版社, 2015-&nbsp; &nbsp; 册 : 图 ; 24cm<!-- <div> 2015-</div> --> <br/> <span>评级:</span> <span id="rategroup4"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_4"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> &nbsp;</div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/sixfloor.html">本部六楼自科阅览区</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cTP393.409%2F20153/ctp393+409+20153/-3,-1,,E/browse">TP393.409/20153</a> <!-- field v -->&nbsp;2014 <!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> </table> </div> <div class="briefcitItems"> 本书全面介绍了微信的发展现状, 深度剖析了微信在互联网金融、移动电子商务、电子政务、自媒体和新媒体营销等领域的实践应用与变革创新, 预测并展望了微信在未来的发展趋势与变革热点, 客观评价了微信作为社交全球化平台中的中国力量代表所蕴藏的战略价值、经济价值和社会价值。本书是国内第一本聚焦微信的精品研究图书, 中国最早的互联网智库--互联网实验室、全球领先的移动互联网研究机构--艾媒咨询强强联合, 国内知名的微信与移动互联网研究者、观察者、实践者鼎力参与。本书研究深入、内容全面、分析独到、可读性强, 极具前瞻性和参考性。</div> </td> <td align="center" width="5%"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CC/bibimage&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&4%2C4%2C" target="_parent"><img src="http://book.bookday.cn/book/cover?isbn=9787121251757&w=67&h=97 " border="0" alt="书封"></a></td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_5'></a> 5</div> <div class="briefcitMedia"> <img src="/screens/media_book.gif" alt="普通图书"></div> <input type="checkbox" name="save" value="b3342924" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&5%2C5%2C">微信营销2.0</a></span> <br/> / 何思南著&nbsp; &nbsp; 北京 : 机械工业出版社, 2015&nbsp; &nbsp; X, 170页 : 图 ; 22cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup5"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_5"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CC/requestbrowse~b3342924&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&5%2C5%2C"><img src="/screens/bullet.gif" alt="" border="0" style="margin-right:5px"/>预约</a></div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> &nbsp;</div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/fivefloor.html">本部五楼社科阅览区</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cF713.36%2F201539/cf713+36+201539/-3,-1,,E/browse">F713.36/201539</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/fourfloor.html">本部四楼中文图书外借区</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cF713.36%2F201539/cf713+36+201539/-3,-1,,E/browse">F713.36/201539</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;到期 16-03-18 </td></tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;南校区三楼社科图书借阅区 </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cF713.36%2F201539/cf713+36+201539/-3,-1,,E/browse">F713.36/201539</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;传递中 </td></tr> </table> </div> <div class="briefcitItems"> 本书内容包括:微信营销进入2.0时代;微信公众平台的创建、运营与营销;微信营销三大步骤;微信营销九大实战技巧;微信营销五大常见错误;微信营销的效果评估;微信营销三大典型案例。</div> </td> <td align="center" width="5%"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CC/bibimage&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&5%2C5%2C" target="_parent"><img src="http://book.bookday.cn/book/cover?isbn=9787111487562&w=67&h=97 " border="0" alt="书封"></a></td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_6'></a> 6</div> <div class="briefcitMedia"> 硕士学位论文</div> <input type="checkbox" name="save" value="b3391400" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&6%2C6%2C">基于微信的企业营销模式创新研究</a></span> <br/> / 侯兴云著&nbsp; &nbsp; 广州 : 暨南大学, 2015&nbsp; &nbsp; 38页 : 图 ; 29cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup6"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_6"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> <a href="http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=F/M2015/171" onclick="window.open('http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=F/M2015/171'); return false;"><img src="/screens/bullet_chx.gif" alt="" border="0" style="margin-right:5px"/>电子资源</a><br /> </div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/sixfloor.html">本部六楼本校博硕学位论文</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cF%2FM2015%2F171/cf+m2015+171/-3,-1,,E/browse">F/M2015/171</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> </table> </div> <div class="briefcitItems"> </div> </td> <td align="center" width="5%"> &nbsp;</td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_7'></a> 7</div> <div class="briefcitMedia"> 硕士学位论文</div> <input type="checkbox" name="save" value="b3392774" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&7%2C7%2C">“罗辑思维”微信公众号运营策略及其效果研究</a></span> <br/> / 黄晓丹著&nbsp; &nbsp; 广州 : 暨南大学, 2015&nbsp; &nbsp; 53页 : 图 ; 29cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup7"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_7"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> <a href="http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=G/M2015/57" onclick="window.open('http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=G/M2015/57'); return false;"><img src="/screens/bullet_chx.gif" alt="" border="0" style="margin-right:5px"/>电子资源</a><br /> </div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/sixfloor.html">本部六楼本校博硕学位论文</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cG%2FM2015%2F57/cg+m2015+57/-3,-1,,E/browse">G/M2015/57</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> </table> </div> <div class="briefcitItems"> </div> </td> <td align="center" width="5%"> &nbsp;</td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_8'></a> 8</div> <div class="briefcitMedia"> 硕士学位论文</div> <input type="checkbox" name="save" value="b3393110" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&8%2C8%2C">基于微信熟人关系圈的自我呈现探析</a></span> <br/> / 张珍珠著&nbsp; &nbsp; 广州 : 暨南大学, 2015&nbsp; &nbsp; 47页 : 图 ; 29cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup8"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_8"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> <a href="http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=G/M2015/86" onclick="window.open('http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=G/M2015/86'); return false;"><img src="/screens/bullet_chx.gif" alt="" border="0" style="margin-right:5px"/>电子资源</a><br /> </div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/sixfloor.html">本部六楼本校博硕学位论文</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cG%2FM2015%2F86/cg+m2015+86/-3,-1,,E/browse">G/M2015/86</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> </table> </div> <div class="briefcitItems"> </div> </td> <td align="center" width="5%"> &nbsp;</td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_9'></a> 9</div> <div class="briefcitMedia"> 硕士学位论文</div> <input type="checkbox" name="save" value="b3391591" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&9%2C9%2C">微信公众平台用户参与、用户价值与用户忠诚度的关系研究</a></span> <br/> / 杨永丽著&nbsp; &nbsp; 广州 : 暨南大学, 2015&nbsp; &nbsp; 57页 : 图 ; 29cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup9"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_9"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> <a href="http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=F/M2015/579" onclick="window.open('http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=F/M2015/579'); return false;"><img src="/screens/bullet_chx.gif" alt="" border="0" style="margin-right:5px"/>电子资源</a><br /> </div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/sixfloor.html">本部六楼本校博硕学位论文</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cF%2FM2015%2F579/cf+m2015+579/-3,-1,,E/browse">F/M2015/579</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> </table> </div> <div class="briefcitItems"> </div> </td> <td align="center" width="5%"> &nbsp;</td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_10'></a> 10</div> <div class="briefcitMedia"> 硕士学位论文</div> <input type="checkbox" name="save" value="b3392748" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&10%2C10%2C">媒介生态学视角下柬泰华文报刊微信发展研究</a></span> <br/> / 黄慧玲著&nbsp; &nbsp; 广州 : 暨南大学, 2015&nbsp; &nbsp; 76页 : 图 ; 29cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup10"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_10"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> <a href="http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=G/M2015/205" onclick="window.open('http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=G/M2015/205'); return false;"><img src="/screens/bullet_chx.gif" alt="" border="0" style="margin-right:5px"/>电子资源</a><br /> </div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/sixfloor.html">本部六楼本校博硕学位论文</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cG%2FM2015%2F205/cg+m2015+205/-3,-1,,E/browse">G/M2015/205</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> </table> </div> <div class="briefcitItems"> </div> </td> <td align="center" width="5%"> &nbsp;</td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_11'></a> 11</div> <div class="briefcitMedia"> 硕士学位论文</div> <input type="checkbox" name="save" value="b3391625" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&11%2C11%2C">柬埔寨《华商日报》微信运营策略研究</a></span> <br/> / 陈毅著&nbsp; &nbsp; 广州 : 暨南大学, 2015&nbsp; &nbsp; 50页 : 图 ; 29cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup11"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_11"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> <a href="http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=G/M2015/219" onclick="window.open('http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=G/M2015/219'); return false;"><img src="/screens/bullet_chx.gif" alt="" border="0" style="margin-right:5px"/>电子资源</a><br /> </div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/sixfloor.html">本部六楼本校博硕学位论文</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cG%2FM2015%2F219/cg+m2015+219/-3,-1,,E/browse">G/M2015/219</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> </table> </div> <div class="briefcitItems"> </div> </td> <td align="center" width="5%"> &nbsp;</td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 01 July 2008 --> <tr> <td class="briefCitRow"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="5%" align="center" class="briefcitEntry" > <div class="briefcitEntryNum"> <a name='anchor_12'></a> 12</div> <div class="briefcitMedia"> 硕士学位论文</div> <input type="checkbox" name="save" value="b3392933" > </td> <td align="left" class="briefcitDetail"> <!--{nohitmsg}--> <span class="briefcitTitle"> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/frameset&FF=X{u5FAE}{u4FE1}&searchscope=1&SORT=D&12%2C12%2C">基于使用与满足理论的政务微信运营效果评价研究</a></span> <br/> / 吴翀著&nbsp; &nbsp; 广州 : 暨南大学, 2015&nbsp; &nbsp; 75页 : 图 ; 29cm<!-- <div> 2015</div> --> <br/> <span>评级:</span> <span id="rategroup12"><a href="/patroninfo~S1*chx/0/redirect=/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse#anchor_12"><img src="/screens/rate_no.gif" border="0" width="75" height="14" alt="No one has rated this material" title="No one has rated this material" /></a> </span><div class="briefcitRequest"> </div> <span class="briefcitStatus"> </span> <!-- <div class="briefcitActions"> <a href="http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=D/M2015/193" onclick="window.open('http://lib.jnu.edu.cn/webservice/TPIAction.action?callno=D/M2015/193'); return false;"><img src="/screens/bullet_chx.gif" alt="" border="0" style="margin-right:5px"/>电子资源</a><br /> </div> --> <div class="briefcitItems"> <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> 馆藏地 </th> <th width="43%" class="bibItemsHeader"> 索书号 </th> <th width="24%" class="bibItemsHeader"> 处理状态 </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 -->&nbsp;<a href="http://202.116.13.43/douban/floor/sixfloor.html">本部六楼本校博硕学位论文</a> </td> <td width="43%" ><!-- field C -->&nbsp;<a href="/search~S1*chx?/cD%2FM2015%2F193/cd+m2015+193/-3,-1,,E/browse">D/M2015/193</a> <!-- field v --><!-- field # -->&nbsp;</td> <td width="24%" ><!-- field % -->&nbsp;馆内阅览 </td></tr> </table> </div> <div class="briefcitItems"> </div> </td> <td align="center" width="5%"> &nbsp;</td> </tr> </table> </td> </tr> <!--this is customized <screens/briefcit_chx.html>--> <tr align="CENTER" valign="MIDDLE"> <td colspan="5" class="browseSaveJump"> <a href="#" onclick="process_save(0);" style="text-decoration:none"> <img src="/screens/savemarked_chx.gif" alt="保存选择" class="button" width="120" height="20" border="0" /></a> <span name='save_page_btn2' id='save_page_btn2' style='visibility: visible' ><a href="#" onclick="process_save(1);" style="text-decoration:none"> <img src="/screens/saveallpage_chx.gif" alt="全部保存" class="button" width="120" height="20" border="0" /></a> </span> </form> <form action="/search~S1*chx/X?{u5FAE}{u4FE1}&searchscope=1&SORT=D" method="POST"> <input type="HIDDEN" name="jumpref" value="X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/1%2C2609%2C2609%2CB/browse"> <script type="text/JavaScript"> function iiiDoSubmit_1() { //getFormHandleForm() is in common.js var obj = getFormHandleForm(1); obj.submit(); } </script> <input type="hidden" id="iiiFormHandle_1"/> <a href="#" onclick="iiiDoSubmit_1();"><img src="/screens/locateinresults_chx.gif" alt="Locate in results" class="button" width="120" height="20" border="0" /></a> <script type="text/JavaScript"> //getFormHandleForm() is in common.js var evtobj = getFormHandleForm(1); if (document.layers) { document.captureEvents(Event.KEYUP); } document.onkeyup = function(evt) { if (!evt) evt = window.event; var keyCode; if (evt.which) keyCode = evt.which; else if (evt.keyCode) keyCode = evt.keyCode; var targ; if (evt.target) targ = evt.target; else if (evt.srcElement) targ = evt.srcElement; if (targ.nodeType == 3) //for Safari bug targ = targ.parentNode; if (targ.form) { targ = targ.form; //alert('targ='+targ+' evtobj='+evtobj); if (keyCode == 13 && targ == evtobj) { iiiDoSubmit_1(); } } }; </script> <input type="TEXT" name="jumpto" value="2609" size="4" maxlength="4"> </form> </td></tr> </td> </tr> </table> <!-- END BROWSELIST/BRIEFCIT AREA --> </td> <!-- END BROWSE SCREEN LEFT CELL --> </tr> <!-- BEGIN BOTTOM BROWSE PAGER --> <!-- begin page widgit --> <tr class="browsePager"><td align="center" class="browsePager" colspan="5"> 结果页面&nbsp;&nbsp;&nbsp;<strong>1</strong> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/13%2C2609%2C2609%2CB/browse">2</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/25%2C2609%2C2609%2CB/browse">3</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/37%2C2609%2C2609%2CB/browse">4</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/49%2C2609%2C2609%2CB/browse">5</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/61%2C2609%2C2609%2CB/browse">6</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/73%2C2609%2C2609%2CB/browse">7</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/85%2C2609%2C2609%2CB/browse">8</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/97%2C2609%2C2609%2CB/browse">9</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/109%2C2609%2C2609%2CB/browse">10</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/121%2C2609%2C2609%2CB/browse">11</a> ... <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/2605%2C2609%2C2609%2CB/browse">218</a> <a href="/search~S1*chx?/X{u5FAE}{u4FE1}&searchscope=1&SORT=D/X{u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1/13%2C2609%2C2609%2CB/browse">下一页</a> <!-- end page widgit --> </td> </tr> <!-- END BOTTOM BROWSE PAGER --> </table> <!-- END BROWSE SCREEN TABLE --> <div align="center" class="navigationRow"> <form> <a href="/search~S1*chx"><img src="/screens/startover_chx.gif" alt="重新检索" border="0" /></a> <a href="/search~S1*chx/X?NOSRCH={u5FAE}{u4FE1}&searchscope=1&SORT=D&SUBKEY=%E5%BE%AE%E4%BF%A1"><img src="/screens/modify_chx.gif" alt="修改检索" border="0" /></a> <a href="/search~S1*chx/X"><img src="/screens/another_chx.gif" alt="再次检索" border="0" /></a> <select name=HISTORY onChange="onSelectChange(this, '~S1*chx')"><option value="">(检索历史)</option> <OPTION VALUE="X{u5FAE}{u4FE1}&searchscope=1&SORT=D">关键字: 微信 在 全部馆藏 <option value="+/search~S1*chx/X?{u5FAE}{u4FE1}&searchscope=1&SORT=D&clear_history">(清除检索历史)</option> <option value="+/*chx">(结束检索进程)</option> </select> </form> </div> <!-- begin botlogo.html file --> <!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 27 June 2008 --> </div><!-- end content container --> </div> <!-- end clearing div --> <div style="clear:both"></div> <!-- end botlogo.html file --> </body> </html> ```
为什么我的echarts图表动态加载数据,两个总是有影响啊,只能出现一个,下面是我的jsp代码
Echarts从后台动态加载数据,一个页面有两个图,一个饼图,一个柱状图,但是只能出现一个,两个互相影响,总不能同时出来 ``` <%@ page language="java" contentType="text/html; charset=UTF-8"%> <jsp:include page="../tld.jsp" /> <div class="row clearfix"> <div class="col-md-4" style="padding: 0 1em 1em 0"> <div id="org_chart" style="height: 20em"></div> </div> <div class="col-md-8" style="padding: 0 0 1em 1em;"> <div id="serv_type" style="height: 20em"></div> </div> </div> <div class="row clearfix" style="background-color: #fff; padding-top: 1em"> <div class="col-md-12 column"> <div class="form-group form-inline" style="margin-left: 1em"> 中介机构名称&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" class="form-control" id="" placeholder="请输入机构名称" /> &nbsp;&nbsp; <button class="btn btn-primary">查询</button> </div> <div class="form-group form-inline" style="margin-left: 1em"> 服务类型&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <button id="agencytype" class="btn btn-primary">请选择</button> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <div class="form-group form-inline" style="margin-left: 1em"> 机构服务&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <button class="btn btn-primary">请选择</button> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;企业</span> <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;事业单位</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;社会组织 </div> <div class="form-group form-inline" style="margin-left: 1em"> <div class="dropdown"> 归属地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> 中国 <span class="caret"></span> </button> <ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> <li><a href="#">美国</a></li> <li><a href="#">英国</a></li> <li><a href="#">德国</a></li> <li role="separator" class="divider"></li> <li><a href="#">阿拉伯</a></li> </ul> <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> 省 <span class="caret"></span> </button> <ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> <li><a href="#">陕西</a></li> <li><a href="#">山东</a></li> <li><a href="#">山西</a></li> </ul> <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> 市 <span class="caret"></span> </button> <ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> <li><a href="#">西安</a></li> <li><a href="#">延安</a></li> <li><a href="#">宝鸡</a></li> </ul> <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> 区 <span class="caret"></span> </button> <ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> <li><a href="#">新城区</a></li> <li><a href="#">雁塔区</a></li> <li><a href="#">未央区</a></li> </ul> </div> </div> </div> </div> <!-- <div class="row clearfix" style="margin-top: 1em;padding: 1em;background-color: #fff"> <div class="col-md-12"> <div class="form-group form-inline" style="margin-left: 1em"> 排序:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<button class="btn btn-primary">最新</button> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;好评 </div> </div> </div> --> <div id="dataBody" class="row clearfix" style="margin-top: 1em; margin-bottom: 1em;"></div> <%-- <script src="${ctx}/site/js/myEchart.js"></script> --%> <script> /* 饼图 */ var dom = document.getElementById("org_chart"); var myChart = echarts.init(dom); var app = {}; option = null; option = { backgroundColor: '#FFFFFF', title: { text: '服务机构数量(单位:个)', left: 'left', top: 20 }, tooltip: { trigger: 'item', formatter: "{a} <br/>{b} : {c} ({d}%)" }, visualMap: { show: false, min: 80, max: 600, inRange: { colorLightness: [0, 1] } }, series: [ { name: '访问来源', type: 'pie', radius: '55%', center: ['50%', '50%'], data: [].sort(function (a, b) { return a.value - b.value; }), roseType: 'radius', label: { normal: { textStyle: { color: 'rgba(65,105,225, 0.3)' } } }, labelLine: { normal: { lineStyle: { color: 'rgba(65,105,225, 0.3)' }, smooth: 0.2, length: 10, length2: 20 } }, itemStyle: { normal: { color: '#096ac2', shadowBlur: 200, shadowColor: 'rgba(0, 0, 0, 0.5)' } }, animationType: 'scale', animationEasing: 'elasticOut', animationDelay: function (idx) { return Math.random() * 200; } } ] }; function initPieEcharts(){ $.ajax({            type: "POST",            url: "${ctx}/site/portal/josnFindNatureConunt",            cache : false,    //禁用缓存            dataType: "json",            success: function(result) {                 var names=["国家机关","事业单位","国有企业","国有控股企业","外资企业","合资企业","私营企业","社会组织","个人"];//定义两个数组                   var nums=[];                   $.each(result.dataList,function(key,values){                       var obj = new Object();                       obj.name = values.nature;                       obj.value = values.count;                       nums.push(obj);                    });                 myChart.setOption({ //加载数据图表                           legend: {                                 data: names                                },                         series: {                                 name: ['数量'],                                 data: nums                        }                });            } }); } /* 柱状图 */ var dom_serv_type = document.getElementById("serv_type"); var myChartSecond = echarts.init(dom_serv_type); var app = {}; option_serv_type = null; option_serv_type = { backgroundColor: '#FFFFFF', title: { text: '服务类型数量(单位:个)', left: 'left', top: 20 }, color: ['#3398DB'], tooltip: { trigger: 'axis', axisPointer: { // 坐标轴指示器,坐标轴触发有效 type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' } }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: [ { type: 'category', data: [], axisTick: { alignWithLabel: true } } ], yAxis: [ { type: 'value' } ], series: [ { name: '个数', type: 'bar', barWidth: '60%', data: [] } ] }; ; function initBarEcharts(){ $.ajax({            type: "POST",            url: "${ctx}/site/portal/josnFindAgencyTypeConunt",            cache : false,    //禁用缓存            dataType: "json",            success: function(result) {                var linNames=[]; var linNums=[];                   $.each(result.dataList,function(key,values){                       linNames.push(values.typeName); linNums.push(values.count);                    });                 myChartSecond.setOption({ //加载数据图表                           xAxis: { data: linNames },                         series: {                                 name: ['数量'],                                 data: linNums                        }                });            } }); } $(function(){ findUnitAgencyList(); findAgencyTypeList(); initPieEcharts(); if (option && typeof option === "object") { myChart.setOption(option, true); }; initBarEcharts(); if (option_serv_type && typeof option_serv_type === "object") { myChart.setOption(option_serv_type, true); }; }); function findAgencyTypeList(){ $.post("${ctx}/site/portal/jsonFindAgencyTypeList",{},function(data){ var type = $("#agencytype"); var agenyTypeList = data.dataList; $.each(agenyTypeList,function(){ type.after("<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"+this.name+"</span>"); }); },"json"); } function findUnitAgencyList(){ $.post("${ctx}/site/portal/jsonFindUnitAgencyList", {pageSize:10}, function(data){ data = JSON.parse(data); var unitAgency = $("#dataBody"); var unitAgencyList = data.dataList; $.each(unitAgencyList,function(){ unitAgency.append("<div class='col-md-4' style='margin-left:1em;width:32%;padding:1em;background-color: #fff'>" +"<div class='row clearfix'>" +"<div class='col-md-12'>" +"<p style='margin-left: 1.6em'><a href='#'>"+this.name+"</a></p></div></div>" +"<div class='row clearfix'>" +"<div class='col-md-4' style='text-align: center'>" +"<span><img width='70px' height='70px' src='"+this.imgUrl+"'></span>" +"<p>"+this.serviceTypes+"</p></div>" +"<div class='col-md-8'>" +"<p>服务类型:"+this.serviceTypes+"</p>" +"<p>机构服务:"+this.unitNatureExplain+"</p>" +"<p>综合评价:<img src='${ctx}/site/img/WX.png'>" +"<img src='${ctx}/site/img/WX.png'>" +"<img src='${ctx}/site/img/WX.png'>" +"<img src='${ctx}/site/img/WX.png'>" +"<img src='${ctx}/site/img/WX.png'></p>" +"</div></div></div>" ); }); }); } </script> ```
多文件上传问题---前端开发
我用vue做了一个文件上传的页面,可以上传多个文件。但是有个问题, 如果上传多个文件时,只能第一个上传成功。其他的就不能上传了。找不到原因, 求大神指教。代码: <template> <div class="well widget-body" > <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding-left:2px; margin-left: -14px;" > <h5 class="row-title before-color"> <i class="fa fa-file-text iconcolor"></i>上传 </h5> </div> <div class="row"> <div class="row col-lg-12 col-sm-12 col-xs-12 mt20"> <div class="col-md-offset-2 col-lg-8 col-sm-8 col-xs-8"> <div style="width: 100%;height: 200px; border: 1px solid #ccc; overflow: auto;" id="content"> <ul class="patchList" id="patchList"> <li v-for="(item,index) in patchNames" :id="index" @click="getIndex(index)">{{item}} </li> </ul> </div> </div> <div class="col-md-offset-3 col-lg-6 col-sm-6 col-xs-6" style="margin-top: 20px"> <div class="btn-group" > <a href="javascript:void(0);" class="btn btn-primary" >选择文件 <input type="file" class="avatar-input fileInput" accept=".teld" multiple="multiple" ref="fileSelect" v-on:change="loadPatchFile"> </a> </div> <div class="btn-group" style="margin-left: 20px;"> <input type="button" value="删除" v-on:click="delPatch" class="btn btn-primary"> </div> <div class="btn-group" style="margin-left: 20px;"> <input type="button" id="upload" value="上传服务器" v-on:click="upload" class="btn btn-primary"> </div> </div> <div id="uploadFile"> </div> </div> </div> </div> </template> <script> export default { data(){ return { files:"", patchNames: [], patchFiles:[], patchFileInfos: [], delList:[], selectList:[], //选择的补丁列表 FTPS:[], countNum:0, patchlen:0, } //初始化data }, components:{ "LayoutDetailPage":LayoutDetailPage, }, mounted(){ }, methods: { loadPatchFile:function(){ var that=this; this.files = this.$refs.fileSelect.files; console.log("files的长度"+this.files.length); console.log("this.files"+this.files); var str = ''; var that=this; for(let i=0;i<this.files.length;i++){ let file=that.files[i]; that. patchNames.push(file.name); that.patchFiles.push(file); } }, upload:function(){ var that=this; console.log("文件名称:"+this.patchNames); console.log("上传服务器的files--"+this.patchFiles+"长度为:"+this.patchFiles.length); for(var i=0;i<this.patchFiles.length;i++){ var file=that.patchFiles[i]; that.changeBase64(file); } }, delPatch:function(){ console.log("排序前:"+this.delList); this.delList=this.delList.sort(); this.selectList=this.delList; console.log("排序前:"+this.delList); var that=this; if(this.delList.length>0){ var list=that.delList; console.log(this.delList); for(let i=list.length-1;i>=0;i--){ that.patchNames.splice(list[i],1); that.patchFiles.splice(list[i],1); $("#"+list[i]).css("background-color","#FBFBFB"); } this.delList=[]; }else{ bootbox.alert("请先选择补丁"); } }, changeBase64:function(file){ var that=this; var postData={}; if (window.File && window.FileReader && window.FileList && window.Blob) { let reader = new FileReader(); reader.onloadend = function () { // that.patchInfo = reader.result; postData.FTPS=window.FTPS; postData.PatchFileName=file.name; postData.PatchFileInfo=reader.result; teldCommon.CallServiceGateWayAsync("PatchInstall-UploadPatch", function (ret) { if (ret.state == "1") { debugger that.changeState(file.name,ret.state); } else { // NotifyError(ret.errmsg); that.changeState(file.name,ret.state); } }, {filter: JSON.stringify(postData)},true,true); }; reader.readAsDataURL(file); } }, getIndex:function(index){ var indexs=[]; $("#"+index).css("background-color","#eee"); this.delList.push(index); }, changeState:function(fileName,state){ var that=this; console.log("返回为true的文件名:"+fileName); bootbox.setDefaults("locale", "zh_CN"); for(let i=0;i<this.patchNames.length;i++){ if(that.patchNames[i]==fileName){ $("#"+i).find("i").remove(); if(state=="1"){ $("#"+i).append("<i class='fa fa-check-circle icon'></i>"); that.countNum++; that.patchlen++; if(that.patchlen==that.patchNames.length){ if(that.countNum==that.patchNames.length){ bootbox.alert("上传完成!"); }else{ bootbox.alert("未全部上传!"); } } }else{ $("#"+i).append("<i class='fa fa-exclamation-circle icon1'></i><a style='margin-left: 10px; font-size: 12px;' href='javascript:void(0)'>上传</a>"); $("#"+i).find("a").on("click",function(){ $("#"+list[i]).css("background-color","#FBFBFB"); console.log(i); that.changeBase64(that.files[i]); }); } } } }, } } </script>
弹出框关闭的问题
1.我在a.jsp页面弹出了一个查询的对话框b.jsp,b.jsp提交前怎么验证数据? 2.我现在实现了b.jsp提交后刷新a.jsp,但是没有关闭b.jsp,怎么关闭b.jsp? 问题:b.jsp提交前验证数据,提交后刷新a.jsp同时关闭b.jsp,也就是提交前事件和提交后事件 注:本人不会刚才开始学习ajax和jquery b.jsp <div class="pageContent"> <form method="post" action="getAllSchool.action" onsubmit="return navTabSearch(this);"> <div class="pageFormContent" layoutH="58"> <div> <label>&nbsp;</label> <input type="hidden" size="25" alt="字母、数字、下划线"/> </div> <div> <label>管理员编码:</label> <input type="text" name="search.code" size="25" class="required"/> </div> <div> <label>&nbsp;</label> <input type="hidden" size="25"/> </div> <div> <label>管理员名称:</label> <input type="text" size="25" name="search.name" alt="关键字或全名"/> </div> <div> <label>&nbsp;</label> <input type="hidden" size="25"/> </div> <div> <label>注册日期:</label> <select class="required" name="search.mark"> <option value="=">=</option> <option value=">=">>=</option> <option value="<="><=</option> </select> <input type="text" name="search.date" class="date" size="16" readonly="readonly"/> </div> <div class="divider">divider</div> <div> <label>排序条件:</label> <select name="search.sort"> <option value="arc">按升序排序</option> <option value="desc">按降序排序</option> <option value="date">按日期排序</option> </select> </div> </div> <div class="formBar"> <ul> <li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li> <li><div class="button"><div class="buttonContent"><button type="reset">清空</button></div></div></li> <li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li> </ul> </div> </form> </div> 刷新处理: /** * 处理navTab弹出层上的查询, 会重新载入当前navTab * @param {Object} form */ function navTabSearch(form, navTabId){ if (form[DWZ.pageInfo.pageNum]) form[DWZ.pageInfo.pageNum].value = 1; navTab.reload(form.action, {data: $(form).serializeArray(), navTabId:navTabId}); return false; } /** * 处理dialog弹出层上的查询, 会重新载入当前dialog * @param {Object} form */ function dialogSearch(form){ if (form[DWZ.pageInfo.pageNum]) form[DWZ.pageInfo.pageNum].value = 1; $.pdialog.reload(form.action, {data: $(form).serializeArray()}); return false; } function dwzSearch(form, targetType){ if (targetType == "dialog") dialogSearch(form); else navTabSearch(form); return false; } //返回处理 return LIST;
帮忙看看为何管理那块不显示呢 是在JS文件里的
var ghost = window.location.hostname+":2258"; var sendrefresh = true; var showicon = true; var portraiturl = "http://" + host + "/IceBeans/"; var usenickname = 0; var listmode = 1; function UserList() { this.nSort = 0; this.nSort0 = 0; this.m_pUsers = new Array(); this.GetCount = function () { return this.m_pUsers.length; } this.GetAdminCount = function () { var num = 0; for (var i = 0; i < this.GetCount(); i++) { if (this.GetObject(i).usertype == "11") { num++; } } return num; } this.GetUserCount = function () { return this.m_pUsers.length;// - this.GetAdminCount(); } this.GetObject = function (n) { return this.m_pUsers[n]; } this.GetID = function (strName) { var obj; for (var i = 0; i < this.GetCount(); i++) { if (this.GetObject(i).name == strName) { obj = this.GetObject(i); return obj.id; } } return 0; } this.Find = function (strName) { for (var i = 0; i < this.GetCount(); i++) if (this.GetObject(i).name == strName) return i; return -1; } this.FindObject = function (strName) { var i = this.Find(strName); if (i != -1) return this.GetObject(i); return null; } this.FindbyID = function (ID) { for (var i = 0; i < this.GetCount(); i++) if (this.GetObject(i).id == ID) return i; return -1; } this.FindObjectbyID = function (ID) { var i = this.FindbyID(ID); if (i != -1) return this.GetObject(i); return null; } this.Add = function (name, adminmode, usertype, extinfo, icon, id, sex, voice, video) { var obj, n; if ((n = this.Find(name)) != -1) obj = this.GetObject(n); else obj = new UserObject(); obj.name = name; obj.adminmode = adminmode; obj.usertype = usertype; obj.extinfo = extinfo; obj.icon = icon; obj.id = id; obj.sex = sex; obj.voice = voice; obj.video = video; obj.level = get_user_type(name); if (n == -1) this.m_pUsers[this.GetCount()] = obj; this.DoSort(); } this.Del = function (strName) { var n = this.Find(strName); if (n != -1) { delete this.m_pUsers[n]; this.m_pUsers.sort(this.SortOnNull); this.m_pUsers.length--; return true; } return false; } this.RemoveAll = function () { for (var i = 0; i < this.GetCount(); i++) delete this.m_pUsers[i]; this.m_pUsers.length = 0; } this.SortOnXB = function (a, b) { var n1 = a.sex; var n2 = b.sex; if (n1 == n2) return 0; if (n1 > n2) return 1; if (n1 < n2) return -1; } this.SortOnName = function (a, b) { var n1 = a.name.length; var n2 = b.name.length; if (n1 == n2) return 0; if (n1 > n2) return -1; if (n1 < n2) return 1; } this.SortOnName1 = function (a, b) { var a2 = new String(a.name); var b2 = new String(b.name); if (a.adminmode == 1 && b.adminmode != 1) { t = -1; } else if (a.adminmode != 1 && b.adminmode == 1) { t = 1; } else { if (a2.substr(0, 1) == "*" && b2.substr(0, 1) != "*") { t = -1; } else if (a2.substr(0, 1) != "*" && b2.substr(0, 1) == "*") { t = 1; } else { if (a2 == b2) { t = 0; } if (a2 > b2) { t = -1; } if (a2 < b2) { t = 1; } } } return t; } this.SortOnName2 = function (a, b) { if (a.adminmode == 1 && b.adminmode != 1) { t = -1; } else if (a.adminmode != 1 && b.adminmode == 1) { t = 1; } else { t = 0; } return t; } this.SortOnUserType = function (a, b) { if (a.adminmode == 1 && b.adminmode != 1) { t = -1; } else if (a.adminmode != 1 && b.adminmode == 1) { t = 1; } else { if (a.usertype > b.usertype) { t = 1; } else if (a.usertype < b.usertype) { t = -1; } else { if (a.name < b.name) { t = 1; } else if (a.name > b.name) { t = -1; } else { t = 0; } } } return t; } this.SortOnNull = function (a, b) { if (a == null || b == null) return -1; return 0; } this.DoSort = function () { return; } this.SortByLevel = function () { this.m_pUsers.sort(function (a, b) { return a.level - b.level; }); } } var timerID = null, timerRunning = false; function refreshstop() { if (timerRunning) clearTimeout(timerID); timerRunning = false; } function refreshstart() { refreshstop(); writeuserlist(); } function Users_Add(name, adminmode, usertype, extinfo, icon, id, sex, voice, video, exps, nickname) { var isnewuser = (parent.Users.FindObject(name) == null); try { this.d.refreshsdx(name, id); } catch (e) { } if (limituserlist == 1) { if ((voice == 0) && (video == 0)) { newlogin(name, id, nickname); } if (usertype != "11") { //如果是管理员保证列出。可以在脚本中重定义本函数使得VIP用户也可以保证列出 if (this.Users.GetCount() > limituserlistnum) { return; } } } this.Users.Add(name, adminmode, usertype, extinfo, icon, id, sex, voice, video, exps, nickname); if (this.Users.GetCount() < refreshatonce_threshold) { refreshstart(); } if (listmode == 1) { if (list_parsed == 0) { var tmp = name + "-'" + adminmode + "-'" + usertype + "-'" + extinfo + "-'" + icon + "-'" + id + "-'" + exps + "-'" + nickname + "'-" + sex + "'-" + voice + "'-" + video; list.push(tmp); list_length = list.length; } else { addusertolist(name, adminmode, usertype, extinfo, icon, id, sex, voice, video, exps, nickname); } } if (isAutoWelcome && isnewuser) { if (get_user_type(name) > 10) { setTimeout('parent.d.send_msg_ex("' + name + '","[Advertising][username=' + parent.myinfo.USER + ']","",1,11,"",1)', 15000); } } } function Users_Add1(name, adminmode, usertype, extinfo, icon, id, sex, voice, video, exps, nickname) { if (limituserlist == 1) { if ((voice == 0) && (video == 0)) { newlogin(name, id, nickname); } if (usertype != "11") { //如果是管理员保证列出。可以在脚本中重定义本函数使得VIP用户也可以保证列出 if (this.Users.GetCount() > limituserlistnum) { return; } } } this.Users.Add(name, adminmode, usertype, extinfo, icon, id, sex, voice, video, exps, nickname); this.Users.SortByLevel(); if (this.Users.GetCount() < refreshatonce_threshold) { //refreshstart(); } /*增加到用户列表*/ if (listmode == 1) { addusertolist(name, adminmode, usertype, extinfo, icon, id, sex, voice, video, exps, nickname); } } function newlogin(name, id, nickname) { if (this.n == null) return; if (this.n.document == null) return; var objTable = this.n.document.getElementById('newuserlisttable'); var row = objTable.rows.length; var i = 0; for (i = 1; i < row; i++) { if (objTable.rows[i].id == id) { return; } } if (objTable.rows.length >= 6) { objTable.deleteRow(1); } var objRow = objTable.insertRow(); objRow.id = id; var objCell = objRow.insertCell(); if (usenickname) { objCell.innerHTML = "[<a target=d href=\"javascript:parent.cs('" + name + "'," + id + ")\">" + nickname + "</a>]"; } else { objCell.innerHTML = "[<a target=d href=\"javascript:parent.cs('" + name + "'," + id + ")\">" + name + "</a>]"; } } function Users_Del(str) { if (this.Users.Del(str)) if (this.Users.GetCount() < refreshatonce_threshold) { refreshstart(); } if (listmode == 1) { deluserfromlist(str); } } function Users_GetID(str) { return this.Users.GetID(str); } var Users = new UserList(); function dodeluserfromlist(listtable, name) { var i; var rown = 0; rown = listtable.rows.length; for (i = 0; i < rown; i++) { if (listtable.rows[i].id == name) { listtable.deleteRow(i); return 1; break; } } return 0; } function smdeluser(listtable,name) { var table = this.r.document.getElementById(""+listtable+""); dodeluserfromlist(table, name); this.r.document.getElementById("AdminCount").innerHTML = this.r.document.getElementById("AdminCount").innerHTML-1; } function checkvipuser(name) { return "Z"; } function getlist(type) { if (type != "adm") return; alist = new Array(); listtable = this.r.document.getElementById("listtable_" + type); rown = listtable.rows.length; for (i = 0; i < rown; i++) { alist[alist.length] = listtable.rows[i].id; } } function Swap(table, i, j) { if (i < 0 || j > table.rows.length - 1) return; if (i < j) { table.moveRow(i, j); table.moveRow(j - 1, i); } else { table.moveRow(i, j); table.moveRow(j + 1, i); } } function addusertolist(name, adminmode, usertype, extinfo, icon, id, sex, voice, video, exps, nickname) { if (this.r == null) return; if (this.r.document == null) return; if (list_parsed == 1) { //this.r.document.getElementById("usercount").innerHTML = Users.GetCount(); this.r.document.getElementById("AdminCount").innerHTML = Users.GetAdminCount(); this.r.document.getElementById("UserCount").innerHTML = Users.GetUserCount(); } if (ppmode == 1) { voice = 1; } var i; var listtable, listrow, listcell; var rown = 0; if (adminmode == 0) { //remove from listtable_adm /*下管情况需删除管理员里相同名字*/ listtable = this.r.document.getElementById("listtable_adm"); dodeluserfromlist(listtable, name); } /*取相关列表表格*/ level = get_user_type(name); portrait = ""; //icon = ""; displayname = new String(name); if (extinfo != 0) t = extinfo; else t = ""; var infolist = new Array(""); if (typeof (t) != "undefined" && t != "" && displayname.substr(0, 1) == "*") { infolist = t.split(":"); if (!infolist[0]) { infolist[0] = "" }; if (!infolist[1]) { infolist[1] = "" }; if (!infolist[2]) { infolist[2] = "" }; portrait = infolist[0]; //icon = infolist[1]; } userinfo0 = getptid(name, portrait, adminmode) userinfo = userinfo0.split("\t"); styletext = "" title = ""; adminmode_ret = adminmode; if (userinfo.length >= 1) { ptid = userinfo[0]; if (userinfo.length >= 2) { styletext = userinfo[1]; if (userinfo.length >= 3) { title = userinfo[2]; if (userinfo.length >= 4) { adminmode_ret = userinfo[3]; } } } } else { ptid = userinfo0; } if (usertype == "11") { listtable = this.r.document.getElementById("listtable_sm"); } else if (level > 0 ) { listtable = this.r.document.getElementById("listtable_vip"); } else if (name.charAt(0) == '*' ) { listtable = this.r.document.getElementById("listtable_reg"); } else { listtable = this.r.document.getElementById("listtable_other"); } rown = listtable.rows.length; listrow = null; /*按级别和昵称字符排序*/ for (i = 0; i < rown; i++) { cmpname = listtable.rows[i].id; cmplevel = listtable.rows[i].level; cmpstr = cmplevel + cmpname; if (cmpstr == level + name) { listrow = listtable.rows[i]; } } // var p_length = listtable.rows.length; // for (var i = 0; i <= p_length - 2; i++) { // for (var j = p_length - 1; j >= 1; j--) { // if (listtable.rows[j].level < listtable.rows[j - 1].level) { // Swap(listtable, j, j - 1); // } // } // } if (listrow == null) { /*没有此名的*/ /*上管情况下需从其他列表表格中删除同名者,*/ if (adminmode > 0) { var listtable1; listtable1 = this.r.document.getElementById("listtable_vip"); if (dodeluserfromlist(listtable1, name) == 0) { listtable1 = this.r.document.getElementById("listtable_reg"); if (dodeluserfromlist(listtable1, name) == 0) { listtable1 = this.r.document.getElementById("listtable_other"); dodeluserfromlist(listtable1, name); } } } /*增加进相关列表表格*/ listrow = listtable.insertRow(i); listrow.id = name; listrow.level = level; } else { /*有此名的,先删除该行第一列(声频视频状态可能变化,需要重写)*/ listrow.deleteCell(0); } /*重写该行第一列*/ listcell = listrow.insertCell(0); var cellcontent = ""; if (showicon == true) { //portrait = "<image src=" + ptid + ".gif border=0 align=absmiddle>"; var s = sex == 0 ? "0" : "1"; s = "1"; var imgurl = myvip.GetImgUrl(name, s); portrait = "<image src='" + imgurl + "' border='0' align='absmiddle'>"; //portrait += "<img src='" + "http://m.ABC.COM/xq/" + icon + "_x.gif" + "' border='0' align='absmiddle'>"; } else { portrait = ""; } if (voice == 1) { voicenote = "<font face=\"Webdings\" color=000000>&#175</font>"; nametitle = name + " 开麦"; } else if (voice == 2) { voicenote = "<font face=\"Wingdings\" color=black>(</font>"; nametitle = name + " 双工"; } else { voicenote = ""; nametitle = name + " 关麦"; } if (adminmode_ret == 1) { nametitle += " 在线管理员"; } if (title != "") { nametitle += " " + title; } if (nametitle != "") nametitle = " title=\"" + nametitle + "\""; if (adminmode_ret == 1) { if (styletext == "") { styletext = "color:red;"; displayname += "<font color=red></font>"; } else { displayname += "*"; } } if (styletext == "0") styletext = ""; var ucolor = usercolor.FindObject(name); var xc = is_uservip(name); if (xc != null) { var v = xc.split(","); //displayname += "<img src=http://www.ABC.COM/user/xc2/" + v[5] + " border=0 hspace=1 vspace=1 align='absmiddle' /> "; //displayname = "<a target=d href=\"javascript:parent.cs('" + name + "')\"title=\"" + v[6] + "\">"; if (v[0] == '1') { displayname = "<img src=http://www.ABC.COM/user/xc1/" + v[1] + " border=0><font style=\"filter: glow(color=#9933FF,strength=4); Height:8pt; color:#FFFFFF; padding:1px;cursor:hand\">" + v[7] + "</font>" } else { displayname = "<font style=\"filter: glow(color=#" + v[2] + ",strength=4); Height:8pt; color:#" + v[3] + "; padding:1px;cursor:hand\">" + v[4] + "</font><font style=\"filter: glow(color=#9933FF,strength=4); Height:8pt; color:#FFFFFF; padding:1px;cursor:hand\">" + v[7] + "</font>"; } } else if (ucolor != null) { if (styletext) { displayname = "<span style='filter: glow(color=" + ucolor.outcolor + ",strength=4); PADDING-BOTTOM: 1px; padding-left: 1px; padding-right: 1px; height: 8pt; color: red; cursor: hand; padding-top: 1px;'>" + displayname + "</span>"; } else { displayname = "<span style='filter: glow(color=" + ucolor.outcolor + ",strength=4); PADDING-BOTTOM: 1px; padding-left: 1px; padding-right: 1px; height: 8pt; color: " + ucolor.incolor + "; cursor: hand; padding-top: 1px;'>" + displayname + "</span>"; } } else if (styletext) { displayname = "<span style='" + styletext + "'>" + displayname + "</span>"; } cellcontent += portrait + "&nbsp;<a class='name' target=d href=\"javascript:parent.cs('" + name + "')\" " + nametitle + ">" + displayname + "</a>"; cellcontent += voicenote; if (video == 1) { cellcontent += "<img src='" + portraiturl + "images/shipin.gif' border='0' width='20' height='20' align='absmiddle'>"; } var twgif=""; if ((level >= 13 && level <= 15) && video == 1) { cellcontent += "<span class='PrivateMike'><a href=\"javascript:parent.watch_name('" + name + "')\"><img src='" + portraiturl + "images/simai.gif' width='20' height='20' padding-left='10px;'></a></span>"; cellcontent += "<span class='PrivateMikeS'><a href='http://pay.ABC.COM' target='_blank' ><img src='" + portraiturl + "images/s.gif' width='20' height='20'></a></span>"; twgif = "<img src='"+portraiturl+"images/tw.gif' border='0' alt='' title=''/>"; } listcell.innerHTML = "<span class='ydt'></span>" + twgif + cellcontent; } function deluserfromlist(name) { if (this.r == null) return; if (this.r.document == null) return; if (list_parsed == 1) { //this.r.document.getElementById("usercount").innerHTML = Users.GetCount(); this.r.document.getElementById("AdminCount").innerHTML = Users.GetAdminCount(); this.r.document.getElementById("UserCount").innerHTML = Users.GetUserCount(); } var listtable; listtable = this.r.document.getElementById("listtable_adm"); if (dodeluserfromlist(listtable, name) > 0) return; listtable = this.r.document.getElementById("listtable_vip"); if (dodeluserfromlist(listtable, name) > 0) return; listtable = this.r.document.getElementById("listtable_reg"); if (dodeluserfromlist(listtable, name) > 0) return; listtable = this.r.document.getElementById("listtable_other"); if (dodeluserfromlist(listtable, name) > 0) return; return; } function removealluserfromlist() { if (this.r == null) return; if (this.r.document == null) return; if (list_parsed == 1) { //this.r.document.getElementById("usercount").innerHTML = Users.GetCount(); this.r.document.getElementById("AdminCount").innerHTML = Users.GetAdminCount(); this.r.document.getElementById("UserCount").innerHTML = Users.GetUserCount(); } var i; var listtable; var rown = 0; listtable = this.r.document.getElementById("listtable_adm"); rown = listtable.rows.length; for (i = rown - 1; i >= 0; i--) { listtable.deleteRow(i); } listtable = this.r.document.getElementById("listtable_vip"); rown = listtable.rows.length; for (i = rown - 1; i >= 0; i--) { listtable.deleteRow(i); } listtable = this.r.document.getElementById("listtable_reg"); rown = listtable.rows.length; for (i = rown - 1; i >= 0; i--) { listtable.deleteRow(i); } listtable = this.r.document.getElementById("listtable_other"); rown = listtable.rows.length; for (i = rown - 1; i >= 0; i--) { listtable.deleteRow(i); } } /* 由setInterval循环调用本函数初始用户数组list(按先后顺序)赋值至Users,利用list_parsing标识避免冲突 */ function dolistparse() { if (list_parsing) { return; } list_parsing = 1; list_i++; var i = list_i; if (i < list_length) { if (list[i] != null) { sublists = list[i].split("'-"); if (sublists.length == 4) { if (!sublists[1]) sublists[1] = ''; if (!sublists[2]) sublists[2] = ''; if (!sublists[3]) sublists[3] = ''; sex = sublists[1]; voice = sublists[2]; if (ppmode == 1) { voice = 1; } video = sublists[3]; } else { if (!sublists[1]) sublists[1] = ''; if (!sublists[2]) sublists[2] = ''; voice = sublists[1]; if (ppmode == 1) { voice = 1; } video = sublists[2]; sex = 0; } lists = sublists[0].split("-'"); if (!lists[1]) lists[1] = ''; if (!lists[2]) lists[2] = ''; if (!lists[3]) lists[3] = ''; if (!lists[4]) lists[4] = ''; if (!lists[5]) lists[5] = ''; if (!lists[6]) lists[6] = '0'; if (!lists[7]) lists[7] = ''; name = lists[0]; adminmode = lists[1]; usertype = lists[2]; extinfo = lists[3]; icon = lists[4]; id = lists[5]; exps = lists[6]; nickname = lists[7]; Users_Add1(name, adminmode, usertype, extinfo, icon, id, sex, voice, video, exps, nickname); } } else { clearInterval(list_timer); list_parsed = 1; //this.r.document.getElementById("usercount").innerHTML = Users.GetCount(); this.r.document.getElementById("AdminCount").innerHTML = Users.GetAdminCount(); this.r.document.getElementById("UserCount").innerHTML = Users.GetUserCount(); } list_parsing = 0; } function RefreshUsers() { if (listmode == 1) { list_parsed = 0; list_i = 0; list_length = 0; list_parsing = 0; list_length = list.length; Users.RemoveAll(); removealluserfromlist(); list_timer = setInterval("dolistparse()", 1); if ((this.r != null) && (this.r.document != null)) { //this.r.document.getElementById("usercount").innerHTML = this.usercount; this.r.document.getElementById("AdminCount").innerHTML = Users.GetAdminCount(); this.r.document.getElementById("UserCount").innerHTML = Users.GetUserCount(); } return; } Users.RemoveAll(); for (var i = 1; i < list.length; i++) if (list[i] != null) { sublists = list[i].split("'-"); if (sublists.length == 4) { if (!sublists[1]) sublists[1] = ''; if (!sublists[2]) sublists[2] = ''; if (!sublists[3]) sublists[3] = ''; sex = sublists[1]; voice = sublists[2]; video = sublists[3]; } else { if (!sublists[1]) sublists[1] = ''; if (!sublists[2]) sublists[2] = ''; voice = sublists[1]; video = sublists[2]; sex = 0; } lists = sublists[0].split("-'"); if (!lists[1]) lists[1] = ''; if (!lists[2]) lists[2] = ''; if (!lists[3]) lists[3] = ''; if (!lists[4]) lists[4] = ''; if (!lists[5]) lists[5] = ''; name = lists[0]; adminmode = lists[1]; usertype = lists[2]; extinfo = lists[3]; icon = lists[4]; id = lists[5]; Users_Add(name, adminmode, usertype, extinfo, icon, id, sex, voice, video); } refreshclick = true; writeuserlist(); } function writerframe() { if (listmode == 0) { return; } if (this.r == null) return; if (this.r.document == null) return; this.r.document.open(); this.r.document.writeln("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">"); this.r.document.writeln("<link rel='stylesheet' href='"+portraiturl+"css/right.css' type='text/css' />"); this.r.document.writeln("</head><body style='background-color: transparent;'>"); this.r.document.writeln(" <script type=\"text/javascript\">"); this.r.document.writeln(" function openShutManager(oSourceObj, oTargetObj, shutAble, oOpenTip, oShutTip) {"); this.r.document.writeln(" var sourceObj = typeof oSourceObj == \"string\" ? document.getElementById(oSourceObj) : oSourceObj;"); this.r.document.writeln(" var targetObj = typeof oTargetObj == \"string\" ? document.getElementById(oTargetObj) : oTargetObj;"); this.r.document.writeln(" var openTip = oOpenTip || \"\";"); this.r.document.writeln(" var shutTip = oShutTip || \"\";"); this.r.document.writeln(" if (targetObj.style.display != \"none\") {"); this.r.document.writeln(" if (shutAble) return;"); this.r.document.writeln(" targetObj.style.display = \"none\";"); this.r.document.writeln(" if (openTip && shutTip) {"); this.r.document.writeln(" sourceObj.innerHTML = shutTip;"); this.r.document.writeln(" }"); this.r.document.writeln(" } else {"); this.r.document.writeln(" targetObj.style.display = \"block\";"); this.r.document.writeln(" if (openTip && shutTip) {"); this.r.document.writeln(" sourceObj.innerHTML = openTip;"); this.r.document.writeln(" }"); this.r.document.writeln(" }"); this.r.document.writeln(" }"); this.r.document.writeln(" function setTab(name, cursel, n) {"); this.r.document.writeln(" for (i = 1; i <= n; i++) {"); this.r.document.writeln(" var menu = document.getElementById(name + i);"); this.r.document.writeln(" var con = document.getElementById(\"con_\" + name + \"_\" + i);"); this.r.document.writeln(" menu.className = i == cursel ? \"hover\" : \"\";"); this.r.document.writeln(" con.style.display = i == cursel ? \"block\" : \"none\";"); this.r.document.writeln(" }"); this.r.document.writeln(" }"); this.r.document.writeln(" <\/script>"); this.r.document.writeln(" <div class=\"Tab1\">"); this.r.document.writeln(" <div class=\"Menubox\">"); this.r.document.writeln(" <ul>"); this.r.document.writeln(" <li id=\"one1\" onmousemove=\"setTab(\'one\',1,2)\" class=\"hover\" style=\"margin-right: 1px;\">"); this.r.document.writeln(" 用户/<span id=\"UserCount\">0</span></li>"); this.r.document.writeln(" <li id=\"one2\" onmousemove=\"setTab(\'one\',2,2)\" class=\"\">管理/<span id=\"AdminCount\">0</span></li>"); this.r.document.writeln(" <li style=\"background: none; width: 10px; padding-left: 4px;\"><a href=\"#\" onclick=\"openShutManager(this,\'box\')\">"); this.r.document.writeln(" <img src=\"" + portraiturl + "images/rig04.gif\"></a></li>"); this.r.document.writeln(" <li style=\"background: none; width: 10px; padding-left: 4px;\">"); this.r.document.writeln(" <img src=\"" + portraiturl + "images/rig05.gif\"></li>"); this.r.document.writeln(" </ul>"); this.r.document.writeln(" </div>"); this.r.document.writeln(" <div id=\"box\" style=\"display: none\" class=\"rig01\">"); this.r.document.writeln(" <div style=\"float: left\">"); this.r.document.writeln(" <img src=\"" + portraiturl + "images/rig07.gif\"></div>"); this.r.document.writeln(" <div class=\"rig03\">"); this.r.document.writeln(" <input type=\"text\" style=\"color: #999999; background: transparent; border: none\""); this.r.document.writeln(" onfocus=\"if(value==defaultValue){value=\'\';this.style.color=\'#000\'}\" onblur=\"if(!value){value=defaultValue;this.style.color=\'#999\'}\""); this.r.document.writeln(" value=\"请输入房间名\" size=\"17\"></div>"); this.r.document.writeln(" <div style=\"float: left; padding-left: 3px; padding-top: 3px;\">"); this.r.document.writeln(" <a href=\"#\">邀请好友</a></div>"); this.r.document.writeln(" </div>"); this.r.document.writeln(" <div class=\"Contentbox\">"); this.r.document.writeln(" <div id=\"con_one_1\" style=\"display: block;\">"); this.r.document.writeln(" <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_adm\" cellspacing=\"5\">"); this.r.document.writeln(" </table>"); this.r.document.writeln(" <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_vip\" cellspacing=\"5\">"); this.r.document.writeln(" </table>"); this.r.document.writeln(" <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_reg\" cellspacing=\"5\">"); this.r.document.writeln(" </table>"); this.r.document.writeln(" <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_other\" cellspacing=\"5\">"); this.r.document.writeln(" </table>"); this.r.document.writeln(" </div>"); this.r.document.writeln(" <div id=\"con_one_2\" style=\"display: none;\">"); this.r.document.writeln(" <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_adm\" cellspacing=\"5\">"); this.r.document.writeln(" </table>"); this.r.document.writeln(" </div>"); this.r.document.writeln(" </div>"); this.r.document.writeln(" </div>"); this.r.document.writeln("</body></html>"); this.r.document.writeln("<script type=\"text/javascript\">"); this.r.document.writeln(" setTimeout('parent.BindListMenu();',5000);"); this.r.document.writeln("<\/script>"); this.r.document.close(); } writerframe(); function writeuserlist() { if (listmode == 1) { return; } if (sendrefresh == false) { sendrefresh = true; } else { var count = Users.GetCount(); if ((count < autorefresh_threshold) || (autorefreshuserlist == true) || (refreshclick == true) && (listshow == 0)) { // for (var i = 0; i < list.length; i++) { // delete list[i]; // } list = new Array(); list[0] = ""; for (i = 0; i < count; i++) { //name-'adminmode-'usertype-'extinfo-'icon'-sex'-voice'-video obj = Users.GetObject(i); tmp = obj.name + "-'" + obj.adminmode + "-'" + obj.usertype + "-'" + obj.extinfo + "-'" + obj.icon + "'-" + obj.voice + "'-" + obj.video list[i + 1] = tmp; } //list.sort(); if (this.d.loaded == 1) write(); if (refreshclick == true) { refreshclick = false; } } } timerRunning = true; timerID = setTimeout("refreshstart()", nTimer * 1000); } function sortuser() { user_sorted = new Array(); for (var i = 1; i < list.length; i++) { if (list[i] != "") { var lists_split = list[i].split("'-"); if (!lists_split[1]) lists_split[1] = '0'; if (!lists_split[2]) lists_split[2] = '0'; var lists_split_2 = lists_split[0].split("-'"); if (lists_split_2[1] != '1') lists_split_2[1] = '2'; if (lists_split_2[0].substr(0, 1) == "*") { usertype = "0"; } else { usertype = "1"; } userinfo = ""; user_str = lists_split_2[1]; user_str += "&"; user_str += usertype; user_str += "&"; user_str += userinfo; user_str += "&"; user_str += lists_split_2[0]; user_str += "&"; user_str += lists_split[1]; user_str += "&"; user_str += lists_split[2]; user_str += "&"; user_str += lists_split_2[3]; user_sorted[user_sorted.length] = user_str; } } user_sorted.sort(); } function writerframes() { if (listmode == 1) { return; } sortuser(); count = user_sorted.length; if (this.r.document == null) return; this.r.document.open(); this.r.document.writeln("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">"); this.r.document.writeln("<style type=text/css>"); this.r.document.writeln("<!--"); this.r.document.writeln(".p9 { font-size: 9pt}"); this.r.document.writeln("body { font-size: 9pt; margin:0; padding:0; width:175px; overflow-x:hidden}"); this.r.document.writeln("td { font-size: 9pt}"); this.r.document.writeln("a { color: #0000FF; text-decoration: none}"); this.r.document.writeln("#bl_yh_lb{margin:0 0 0 3px; padding:0;width:175px;}"); this.r.document.writeln("#bl_yh_lb li{line-height:21px; height:21px; list-style-type:none; margin:0; padding:2px 0;}"); this.r.document.writeln("-->"); this.r.document.writeln("</style>"); this.r.document.writeln("<div id=\"Tips\" style=\"position:absolute; left:0; top:0; width:130; display=none; z-index:2\">"); this.r.document.writeln(" <p class=\"\">&nbsp;</p>"); this.r.document.writeln("</div>"); this.r.document.writeln("</head><body bgcolor=\"#F3FFE1\" leftMargin=0>"); this.r.document.writeln("<div align=center id=\"topbanner\"><image src=http://" + host + "/bl/$E/upload/tb.gif border=0><br><font color=#FF0000><marquee width=140 scrolldelay=200>您好!欢迎您光临《$$title》网址:http://$E.abc.com</marquee></font></div>"); this.r.document.writeln("<div id=\"chatbody\" class=\"p9\"><div style=\"margin:3px; border-bottom:1px dashed #666666; \"> <a style=\"float:right;\" accesskey=\"n\" href=\"javascript:\" onclick=\"parent.d.document.getElementById('REFRESHUSERLIST').click()\"><img src=\"" + portraiturl + "chattools/refresh.png\" alt=\"刷新在线列表\" border=0 align=\"absmiddle\"></a>"); this.r.document.writeln("<a style=\"float:right; margin:0 5px;\" accesskey=r href=\"javascript:parent.cs('所有人')\"><img src=\"" + portraiturl + "chattools/all.png\" alt=\"所有人\" border=0 align=\"absmiddle\"></a><img src=\"" + portraiturl + "chattools/online.png\" alt=\"在线人数\" align=\"absmiddle\"><font color=red>" + count + "</font></div>"); this.r.document.writeln("<ul id=\"bl_yh_lb\">"); //alist=new Array(); for (var i = 0; i < count; i++) { this.r.document.writeln("<li>"); var displayname; thislists = user_sorted[i].split("&"); thisadminmode = thislists[0]; thistype = thislists[1]; thisinfo = thislists[2]; thisname = thislists[3]; thisvoice = thislists[4]; thisvideo = thislists[5]; thisextinfo = thislists[6]; thisex = ""; if (thisadminmode != "1") thisadminmode = "0"; displayname = new String(thisname); myportrait = ""; myicon = ""; if (thisextinfo != 0) t = thisextinfo; else t = ""; var infolist = new Array(""); if (t != "" && displayname.substr(0, 1) == "*") { infolist = t.split(":"); if (!infolist[0]) { infolist[0] = "" }; if (!infolist[1]) { infolist[1] = "" }; if (!infolist[2]) { infolist[2] = "" }; myportrait = infolist[0]; myicon = infolist[1]; } userinfo0 = getptid(thisname, myportrait, thisadminmode) userinfo = userinfo0.split("\t"); styletext = "" title = ""; adminmode_ret = thisadminmode; if (userinfo.length >= 1) { ptid = userinfo[0]; if (userinfo.length >= 2) { styletext = userinfo[1]; if (userinfo.length >= 3) { title = userinfo[2]; if (userinfo.length >= 4) { adminmode_ret = userinfo[3]; if (userinfo.length == 5) { title = userinfo[4]; } } } } } else { ptid = userinfo0; } if (showicon == true) { portrait = "<image src=" + ptid + ".gif border=0 align=absmiddle>"; } else portrait = ""; if (thisvoice == 1) { voicenote = "<font face=\"Wingdings\" color=#009900>(</font>"; nametitle = thisname + " 开麦"; } else if (thisvoice == 2) { voicenote = "<font face=\"Wingdings\" color=black>(</font>"; nametitle = thisname + " 双工"; } else { voicenote = ""; nametitle = thisname + " 关麦"; } if (adminmode_ret == 1) { nametitle += " 在线管理员"; } if (title != "") { nametitle += " " + title; } if (nametitle != "") nametitle = " title=\"" + nametitle + "\""; if (adminmode_ret == 1) { //alist[alist.length]=thisname; if (styletext == "") { styletext = "color:red;"; displayname += "<font color=red>*</font>"; } else { displayname += "*"; } } if (styletext == "0") styletext = ""; if (styletext) { displayname = "<span style='" + styletext + "'>" + displayname + "</span>"; } this.r.document.writeln(portrait + "<a target=d href=\"javascript:parent.cs('" + thisname + "')\" " + nametitle + ">" + displayname + "</a>"); this.r.document.writeln(voicenote); if (thisvideo == 1) { this.r.document.writeln("<font face=\"Webdings\" color=000000>N</font>"); } this.r.document.writeln("</li>"); } this.r.document.writeln("</ul>"); this.r.document.writeln("</div><div align=center id='bottombanner' style='border:0px solid #000000;padding:0;POSITION: relative; Left: 0px; TOP: 0px; HEIGHT: 40px; WIDTH: 130px;'></div>"); this.r.document.writeln('</body></html>'); this.r.document.close(); } ////////////// function getptid(username, portrait, adminmode) { style = ""; return portraiturl + portrait + "\t" + style; } var ListTable = ["listtable_adm", "listtable_vip", "listtable_reg", "listtable_other"]; var ListUserCount = 0; var Order = false; window.setInterval(function () { var num = Users.GetCount(); if (num - ListUserCount < 30 && ListUserCount - num < 30 && !Order) { for (var s = 0; s < ListTable.length; s++) { var listtable = this.r.document.getElementById(ListTable[s]); var p_length = listtable.rows.length; for (var i = 0; i <= p_length - 2; i++) { for (var j = p_length - 1; j >= 1; j--) { if (listtable.rows[j].level < listtable.rows[j - 1].level) { Swap(listtable, j, j - 1); } } } } Order = true; } else if (ListUserCount != num) { Order = false; ListUserCount = num; } }, 3000); parent.refreshstop = refreshstop; parent.refreshstart = refreshstart; parent.Users_Add = Users_Add; parent.Users_Add1 = Users_Add1; parent.newlogin = newlogin; parent.Users_Del = Users_Del; parent.Users_GetID = Users_GetID; var Users = new UserList(); parent.dodeluserfromlist = dodeluserfromlist; parent.checkvipuser = checkvipuser; parent.getlist = getlist; parent.addusertolist = addusertolist; parent.deluserfromlist = deluserfromlist; parent.removealluserfromlist = removealluserfromlist; parent.dolistparse = dolistparse; parent.RefreshUsers = RefreshUsers; parent.writerframe = writerframe; parent.writeuserlist = writeuserlist; parent.sortuser = sortuser; parent.write = write; parent.getptid = getptid; function showElement(elementId) { document.getElementById(elementId).style.display = "block"; } function hideElement(elementId) { document.getElementById(elementId).style.display = "none"; }
Ie控制台报错--无法获取未定义或 null 引用的属性“mr_changed”
这段代码比较长,就是js实现动态表格添加数据,通过onblur事件实现只在修改的数据前面加上标记“1”,然后后台通过标记有选择的更新数据。但是有两个问题 1.自带数据修改onblur事件不触发 2.只有点击新增表格,新增修改表格数据,onblur才触发,但是触发后控制台报错 ----无法获取未定义或 null 引用的属性“mr_changed”。 初学者,大家帮帮忙啊 ![图片说明](https://img-ask.csdn.net/upload/201706/07/1496830756_844032.png) ``` <%@ page language="java" pageEncoding="UTF-8"%> <%@ include file="../../base.jsp"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript" src="${ctx}/components/jquery-ui/jquery-1.2.6.js"></script> <script type="text/javascript" src="${ctx}/js/tabledo.js"></script> <script type="text/javascript" src="${ctx}/js/datepicker/WdatePicker.js"></script> <script type="text/javascript"> $().ready(function(){ ${mRecordData} }); /* 实现表格序号列自动调整 created by tony 20081219 */ function sortnoTR(){ sortno('mRecordTable', 2, 1); } function setTRUpdateFlag(obj){ //alert(obj.type); //alert(obj.defaultValue); //var mr_changed = obj.getElementById("mr_changed"); var currTr = obj.parentElement.parentElement; if(currTr.innerHTML.toLowerCase().indexOf("<span")==0){ currTr = obj.parentElement.parentElement.parentElement; } //alert(currTr.innerHTML); if(obj.value!=obj.defaultValue){ //当填写的框内容发生变化时,设置本行记录发生变化标识 currTr.cells[1].all.mr_changed.value = "1"; //document.getElementById("mr_changed").value="1"; } //alert(mr_changed.value); } function addTRRecord(objId, id, productNo, cnumber, grossWeight, netWeight, sizeLength, sizeWidth, sizeHeight, exPrice, tax) { var _tmpSelect = ""; var tableObj = document.getElementById(objId); //得到表格对象 var rowLength = tableObj.rows.length; //行数 oTR = tableObj.insertRow(); //在行尾插入行 oTD = oTR.insertCell(0); //插入一个单元格 oTD.style.whiteSpace="nowrap"; //规定段落不换行 oTD.ondragover = function(){this.className="drag_over" }; //动态加事件, 改变样式类 oTD.ondragleave = function(){this.className="drag_leave" }; oTD.onmousedown = function(){ clearTRstyle("result"); this.parentNode.style.background = '#0099cc';}; //this.style.background="#0099cc url(../images/arroww.gif) 4px 9px no-repeat"; oTD.innerHTML = "&nbsp;&nbsp;"; oTD = oTR.insertCell(1); oTD.innerHTML = "<input class=\"input\" type=\"checkbox\" name=\"del\" value=\""+id+"\"><input type=\"text\" name=\"mr_id\" value=\""+id+"\"><input class=\"input\" type=\"text\" id=\"mr_changed\" value=\"\" name=\"mr_changed\">"; oTD = oTR.insertCell(2); oTD.innerHTML = "<input class=\"input\" type=\"text\" name=\"mr_orderNo\" readonly size=\"3\" value=\"\">"; oTD = oTR.insertCell(3); oTD.innerHTML = "<b><font face='微软雅黑'><font color='blue'>"+productNo;+"</font></font></b> " oTD = oTR.insertCell(4); oTD.innerHTML = "<input type=\"text\" name=\"mr_cnumber\" maxLength=\"10\" value=\""+cnumber+"\" onblur=\"setTRUpdateFlag(this);\" size=\"15\">"; oTD = oTR.insertCell(5); oTD.innerHTML = "<input type=\"text\" name=\"mr_grossWeight\" maxLength=\"10\" value=\""+grossWeight+"\" onblur=\"setTRUpdateFlag(this);\" size=\"15\">"; oTD = oTR.insertCell(6); oTD.innerHTML = "<input type=\"text\" name=\"mr_netWeight\" maxLength=\"10\" value=\""+netWeight+"\" onblur=\"setTRUpdateFlag(this);\" size=\"15\">"; oTD = oTR.insertCell(7); oTD.innerHTML = "<input type=\"text\" name=\"mr_sizeLength\" maxLength=\"10\" value=\""+sizeLength+"\" onblur=\"setTRUpdateFlag(this);\" size=\"15\">"; oTD = oTR.insertCell(8); oTD.innerHTML = "<input type=\"text\" name=\"mr_sizeWidth\" maxLength=\"10\" value=\""+sizeWidth+"\" onblur=\"setTRUpdateFlag(this);\" size=\"15\">"; oTD = oTR.insertCell(9); oTD.innerHTML = "<input type=\"text\" name=\"mr_sizeHeight\" maxLength=\"10\" value=\""+sizeHeight+"\" onblur=\"setTRUpdateFlag(this);\" size=\"15\">"; oTD = oTR.insertCell(10); oTD.innerHTML = "<input type=\"text\" name=\"mr_exPrice\" maxLength=\"10\" value=\""+exPrice+"\" onblur=\"setTRUpdateFlag(this);\" size=\"15\">"; oTD = oTR.insertCell(11); oTD.innerHTML = "<input type=\"text\" name=\"mr_tax\" maxLength=\"10\" value=\""+tax+"\" onblur=\"setTRUpdateFlag(this);\" size=\"15\">"; dragtableinit(); //拖动表格行 sortnoTR(); //排序号 //setTRUpdateFlag(); //设置本行记录发生变化标识 } </script> </head> <body> <form method="post"> <input type="hidden" name="id" value="${obj.id}"/> <div id="menubar"> <div id="middleMenubar"> <div id="innerMenubar"> <div id="navMenubar"> <ul> <li id="save"><a href="#" onclick="formSubmit('update.action','_self');">确定</a></li> <li id="back"><a href="list.action">返回</a></li> </ul> </div> </div> </div> </div> <div class="textbox" id="centerTextbox"> <div class="textbox-header"> <div class="textbox-inner-header"> <div class="textbox-title"> 修改出口报运 </div> </div> </div> <div> <div> <table class="commonTable" cellspacing="1"> <tr> <td class="columnTitle_mustbe">客户号:</td> <td class="tableContent"><input type="text" name="customerContract" value="${obj.customerContract}"/></td> <td class="columnTitle_mustbe">制单日期:</td> <td class="tableContent"> <input type="text" name="inputDate" style="width:90px;" value="<fmt:formatDate value="${obj.inputDate}" pattern="yyyy-MM-dd"/>" onclick="WdatePicker({el:this,isShowOthers:true,dateFmt:'yyyy-MM-dd'});" readonly/> </td> </tr> <tr> <td class="columnTitle_mustbe">收货人及地址:</td> <td class="tableContent"><input type="text" name="consignee" value="${obj.consignee}"/></td> <td class="columnTitle_mustbe">L/C No.:</td> <td class="tableContentAuto"> <input type="radio" name="lcno" value="T/T" class="input" <c:if test="${obj.lcno=='T/T'}">checked</c:if>>T/T <input type="radio" name="lcno" value="L/C" class="input" <c:if test="${obj.lcno=='L/C'}">checked</c:if>>L/C </td> </tr> <tr> <td class="columnTitle_mustbe">装运港:</td> <td class="tableContent"><input type="text" name="shipmentPort" value="${obj.shipmentPort}"/></td> <td class="columnTitle_mustbe">运输方式:</td> <td class="tableContentAuto"> <input type="radio" name="transportMode" value="SEA" class="input" <c:if test="${obj.transportMode=='SEA'}">checked</c:if>>海运(SEA) <input type="radio" name="transportMode" value="AIR" class="input" <c:if test="${obj.transportMode=='AIR'}">checked</c:if>>空运(AIR) </td> <tr> <td class="columnTitle_mustbe">价格条件:</td> <td class="tableContent"><input type="text" name="priceCondition" value="${obj.priceCondition}"/></td> </tr> <tr> <td class="columnTitle_mustbe">唛头:</td> <td class="tableContent"><textarea name="marks" style="height:130px;">${obj.marks}</textarea></td> <td class="columnTitle_mustbe">说明:</td> <td class="tableContent"><textarea name="remark" style="height:130px;">${obj.remark}</textarea></td> </tr> </table> </div> </div> <div class="textbox" id="centerTextbox"> <div class="textbox-header"> <div class="textbox-inner-header"> <div class="textbox-title"> 报运下货物的列表信息 </div> </div> </div> <div> <div class="listTablew"> <table class="commonTable_main" cellSpacing="1" id="mRecordTable"> <tr class="rowTitle" align="middle"> <td width="25" title="可以拖动下面行首,实现记录的位置移动."> <img src="../../images/drag.gif"> </td> <td width="20"> <input class="input" type="checkbox" name="ck_del" onclick="checkGroupBox(this);" /> </td> <td width="33">序号</td> <td>货号</td> <td>数量</td> <td>毛重</td> <td>净重</td> <td>长</td> <td>宽</td> <td>高</td> <td>出口单价</td> <td>含税</td> </tr> </table> </div> <div style="padding:10px;"> <input type="button" name="btnAdd" value="新增" onclick="addTRRecord('mRecordTable', '', '', '', '', '', '', '', '', '', '');"/> </div> </div> <div class="textbox-bottom"> <div class="textbox-inner-bottom"> <div class="textbox-go-top"> </div> </div> </div> </div> </form> </body> </html> ```
python3多进程爬虫的每个进程停止运行但是程序没有退出?
我写了一个多进程和多线程结合的爬虫(我不知道多进程和多线程怎样结合使用)所以我先说一下**我的思路**: * 首先我爬取的是[某车之家](https://www.autohome.com.cn/)的文章 * 汽车之家有很多种车,比如奥迪,宝马,奔驰,我创建一个进程池pool, 对应每一种车创建一个进程下载它的文章 * 然后,因为每种车下面有很多篇文章,我创建一个线程池,对应每一篇文章,创建一个线程来下载文章 * 创建进程池我使用的是multiprocessing.Pool * 创建线程池使用的是concurrent.futures.ThreadPoolExecutor ## 那么现在问题来了 * 当我刚开始运行我的代码的时候,因为我创建的进程池大小是cpu_count()=8,所以打开任务管理器可以看到8个python进程正在运行 ![图片说明](https://img-ask.csdn.net/upload/201901/26/1548506446_775132.png) * **然后,当代码运行一段时间后,进程池中的8个进程全部停止运行了** ![图片说明](https://img-ask.csdn.net/upload/201901/26/1548506504_930707.png) ![图片说明](https://img-ask.csdn.net/upload/201901/26/1548506544_201575.png) ## 可以看到此时代码并没有运行完毕,而且代码运行卡在这里无论等多久都不会继续运行 * 我观察发现,这些进程在下载某辆车如本田-雅阁的所有文章后,注意是将所有文章下载完毕才会停止运行,而且不再运行 ## 我想知道进程池中的进程为什么会停止运行,而我的函数没有停止?可以确定的是我的爬虫任务并没有全部完成,仅仅完成了一小部分。进程池中的每一个进程在爬取几辆车的所有文章后停止运行,求大佬解答,不甚感激。 ## 代码如下 ``` # coding=utf-8 import requests import os import re import json import time import random import threading import multiprocessing import concurrent.futures from bs4 import BeautifulSoup def change_title(title): rstr = r"[\/\\\:\*\?\"\<\>\|]" return re.sub(rstr, "", title) USER_AGENTS = [ "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; AcooBrowser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Acoo Browser; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)", "Mozilla/4.0 (compatible; MSIE 7.0; AOL 9.5; AOLBuild 4337.35; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)", "Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 2.0.50727; Media Center PC 6.0)", "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.0.3705; .NET CLR 1.1.4322)", "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30)", "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.3 (Change: 287 c9dfb30)", "Mozilla/5.0 (X11; U; Linux; en-US) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.6", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070215 K-Ninja/2.1.1", "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9) Gecko/20080705 Firefox/3.0 Kapiko/3.0", "Mozilla/5.0 (X11; Linux i686; U;) Gecko/20070322 Kazehakase/0.4.5", "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko Fedora/1.9.0.8-1.fc10 Kazehakase/0.5.6", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.20 (KHTML, like Gecko) Chrome/19.0.1036.7 Safari/535.20", "Opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U; fr) Presto/2.9.168 Version/11.52", ] http_ip = list() https_ip = list() with open(r'D:\pycharm\Spider\99mm\useful_ip.txt', 'r') as fp: lines = fp.readlines() for line in lines: ips = eval(line) if str(ips['kind']) == 'HTTP': http_ip.append(ips['proxy']) else: https_ip.append(ips['proxy']) def get_all_cars(main_url, file_path): car_dict = {} html = requests.get(main_url) soup = BeautifulSoup(html.text, "html.parser") catalog = soup.find("div", id="hotcar-1").find_all("div", class_="name") for cata in catalog[-1:]: # suv, 紧凑型车, 中型车 cata_a = cata.find("a") print(cata_a["href"]) print(cata_a.get_text()) car_url = main_url + cata_a["href"] car_html = requests.get(car_url) car_soup = BeautifulSoup(car_html.text, "html.parser") # 有4个 class_="tab-content-item" car_letter_boxes = car_soup.find("div", class_="tab-content-item").find_all("div", class_="uibox") for car_letter_box in car_letter_boxes[:]: # 车牌按字母排序 A~Z, 一个字母下有很多车牌, 对每个字母进行处理 car_brand_info = car_letter_box.find("div", class_="uibox-con rank-list rank-list-pic") if car_brand_info: car_brands = car_brand_info.find_all("dl", olr=re.compile("^.*$")) for car_brand in car_brands: # 一个车牌有很多种车型, 对每个车牌进行处理 brand_name = car_brand.find("div").find("a").get_text() print("-car brand-", brand_name) car_dict[cata_a.get_text() + "-" + brand_name] = {} car_brand_path = main_path + "\\" + cata_a.get_text() + "-" + brand_name if not os.path.exists(car_brand_path): os.mkdir(car_brand_path) # os.chdir(car_brand_path) car_name_lists = car_brand.find_all("ul", class_="rank-list-ul") for car_name_list in car_name_lists: car_name_lis = car_name_list.find_all("li", id=re.compile("^.*$")) for car_name_li in car_name_lis: car_a_tag = car_name_li.find("h4").find("a") specific_car_url = "https:" + car_a_tag["href"] car_name = car_a_tag.get_text() print("\t", car_name, "\t", specific_car_url) car_dict[cata_a.get_text() + "-" + brand_name][car_name] = specific_car_url brand_cars_path = car_brand_path + "\\" + car_name if not os.path.exists(brand_cars_path): os.mkdir(brand_cars_path) # os.chdir(brand_cars_path) # 至此, 找到了每一辆车的url, 需要从这个url中找到它对应的一系列文章 # get_each_car_articles(main_url, specific_car_url) else: continue return car_dict def get_each_car_articles(main_url, specific_car_url, file_path, headers, proxies, info): # main_url, specific_car_url, file_path, headers, proxies, info = args # 传入的是每一种车的url, 即specific_car_url article_dict = {} specific_car_html = requests.get(url=specific_car_url, headers=headers, proxies=proxies) specific_car_soup = BeautifulSoup(specific_car_html.text, "html.parser") art_temp = specific_car_soup.find("div", class_="athm-sub-nav__channel athm-js-sticky") if art_temp: art = art_temp.find_all("li") else: print(f"\t\t****article is None, url is {specific_car_url}****") return part_url = art[6].find("a")["href"] specific_car_article_url = main_url + part_url right_pos = specific_car_article_url.rfind("/") specific_car_article_url = specific_car_article_url[:right_pos + 1] specific_car_article_html = requests.get(specific_car_article_url, headers=headers, proxies=proxies) specific_car_article_soup = BeautifulSoup(specific_car_article_html.text, "html.parser") page_info = specific_car_article_soup.find("div", class_="page") page_num = 1 if page_info: pages = page_info.find_all("a", target="_self") page_num = int(pages[-2].get_text()) for i in range(1, page_num + 1): if i == 1: page_url = specific_car_article_url else: page_url = specific_car_article_url[:-4] + str(i) + specific_car_article_url[-3:] # print("\t"*2, f"正在查找第{i}页的文章\t", page_url) page_html = requests.get(page_url, headers=headers, proxies=proxies) page_soup = BeautifulSoup(page_html.text, "html.parser") articles = page_soup.find("div", class_="cont-info").find_all("li") for article in articles: each_article = article.find("h3").find("a") each_article_url = "https:" + each_article["href"] each_article_title = each_article.get_text() article_dict[each_article_title] = each_article_url os.chdir(file_path) with concurrent.futures.ThreadPoolExecutor(max_workers=8) as t_executor: for key, value in article_dict.items(): t_executor.submit(download_each_article, *(value, key,info)) # thread_list = [] # for key, value in article_dict.items(): # thread_list.append(threading.Thread(target=download_each_article, args=(value, key,info))) # [thread.start() for thread in thread_list] # [thread.join() for thread in thread_list] def download_each_article(each_article_url, each_article_title, info): headers = { "User-Agent": random.choice(USER_AGENTS), "Referer": "https://www.autohome.com.cn" } proxies = {"proxy": random.choice(http_ip)} # each_article_url, each_article_title, headers, proxies, info = args print(f"\t\t--下载文章-- {info}\t{each_article_title}\t{each_article_url}") article_html = requests.get(each_article_url, headers=headers, proxies=proxies) article_soup = BeautifulSoup(article_html.text, "html.parser") article_content = article_soup.find("div", class_="container article") if article_content: with open(f"{change_title(each_article_title)}.txt", "w+", encoding="utf-8") as f: time_span = article_content.find("div", class_="article-info").find("span", class_="time") time = time_span.get_text() time_dict = {"time": time} f.write(json.dumps(time_dict) + "\n\n") article_content_div = article_content.find("div", id="articleContent") for content in article_content_div.find_all("p"): if content.get_text().strip(): content_dict = {"content": content.get_text()} f.write(json.dumps(content_dict) + "\n") else: try: imgs = content.find_all("a") for i in imgs: img = i.find("img") img_dict = {f"<[image] {img['alt']}> ": "https:" + img["src"]} f.write(json.dumps(img_dict) + "\n") except: continue pages = article_content.find("div", class_="athm-page__num") if pages: for a in pages.find_all("a", target="_self")[1:]: next_page_url = "https://www.autohome.com.cn" + a["href"] pages_html = requests.get(next_page_url, headers=headers, proxies=proxies) pages_soup = BeautifulSoup(pages_html.text, "html.parser") pages_content_div = pages_soup.find("div", class_="container article").find("div", id="articleContent") for content in pages_content_div.find_all("p"): if content.get_text().strip(): content_dict = {"content": content.get_text()} f.write(json.dumps(content_dict) + "\n") else: try: imgs = content.find_all("a") for i in imgs: img = i.find("img") img_dict = {f"<[image] {img['alt']}> ": "https:" + img["src"]} f.write(json.dumps(img_dict) + "\n") except: continue # 下载评论 f.write("\n") article_comment_span = article_content.find("div", "article-tools").find("span", class_="comment") article_comment_url = "https:" + article_comment_span.find("a")["href"] # print(article_comment_url) basic_reply_url = "https://reply.autohome.com.cn/api/comments/show.json?count=50&" \ "page={}&id={}&appid=1&datatype=jsonp&order=0&replyid=0" html = requests.get(article_comment_url, headers=headers, proxies=proxies) html_soup = BeautifulSoup(html.text, "html.parser") article_id = re.search(r"articleid=([\d]*)#", article_comment_url).groups()[0] first_json_dict = json.loads(requests.get(basic_reply_url.format(1, article_id), headers=headers, proxies=proxies).text[1:-1]) page_num = int(first_json_dict["commentcount"]) // 50 + 1 for i in range(1, page_num + 1): json_dict = json.loads(requests.get(basic_reply_url.format(i, article_id)).text[1:-1]) comment_dicts = json_dict["commentlist"] for comment in comment_dicts: comment_dict = {} comment_dict["RMemberId"] = comment["RMemberId"] comment_dict["RMemberName"] = comment["RMemberName"] comment_dict["replydate"] = comment["replydate"] comment_dict["ReplyId"] = comment["ReplyId"] comment_dict["RObjId"] = comment["RObjId"] comment_dict["RTargetReplyId"] = comment["RTargetReplyId"] comment_dict["RTargetMemberId"] = comment["RTargetMemberId"] comment_dict["RReplyDate"] = comment["RReplyDate"] comment_dict["RContent"] = comment["RContent"] comment_dict["RFloor"] = comment["RFloor"] f.write(json.dumps(comment_dict) + "\n") print(f"**{info}-{each_article_title} completed") else: print(f"\tPicture article, passed. URL is {each_article_url}") if __name__ == '__main__': main_url = r"https://www.autohome.com.cn" main_path = r"D:\pycharm\python_work\autohome\汽车之家" start_time = time.time() proxies = {'proxy': random.choice(http_ip)} headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36", "Referer": "https://www.autohome.com.cn" } car_dict = get_all_cars(main_url, main_path) # print(car_dict) # with concurrent.futures.ProcessPoolExecutor(max_workers=8) as p_executor: # for keys, values in car_dict.items(): # for key, value in values.items(): # file_path = main_path + "\\" + str(keys) + "\\" + key # info = f"-{keys}-{key}-" # p_executor.submit(get_each_car_articles, *(main_url, value, file_path, headers, proxies, info)) pool = multiprocessing.Pool() for keys, values in car_dict.items(): print(keys, values) for key, value in values.items(): print("\t", key, value) file_path = main_path + "\\" + str(keys) + "\\" + key info = f"-{keys}-{key}-" pool.apply_async(get_each_car_articles, args=(main_url, value, file_path, headers, proxies, info)) pool.close() pool.join() end_time = time.time() print("##########已完成##########") print(f"spend time {end_time-start_time}") ```
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
使用 Docker 部署 Spring Boot 项目
Docker 技术发展为微服务落地提供了更加便利的环境,使用 Docker 部署 Spring Boot 其实非常简单,这篇文章我们就来简单学习下。首先构建一个简单的 S...
英特尔不为人知的 B 面
从 PC 时代至今,众人只知在 CPU、GPU、XPU、制程、工艺等战场中,英特尔在与同行硬件芯片制造商们的竞争中杀出重围,且在不断的成长进化中,成为全球知名的半导体公司。殊不知,在「刚硬」的背后,英特尔「柔性」的软件早已经做到了全方位的支持与支撑,并持续发挥独特的生态价值,推动产业合作共赢。 而对于这一不知人知的 B 面,很多人将其称之为英特尔隐形的翅膀,虽低调,但是影响力却不容小觑。 那么,在...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
刷了几千道算法题,这些我私藏的刷题网站都在这里了!
遥想当年,机缘巧合入了 ACM 的坑,周边巨擘林立,从此过上了"天天被虐似死狗"的生活… 然而我是谁,我可是死狗中的战斗鸡,智力不够那刷题来凑,开始了夜以继日哼哧哼哧刷题的日子,从此"读题与提交齐飞, AC 与 WA 一色 ",我惊喜的发现被题虐既刺激又有快感,那一刻我泪流满面。这么好的事儿作为一个正直的人绝不能自己独享,经过激烈的颅内斗争,我决定把我私藏的十几个 T 的,阿不,十几个刷题网...
白话阿里巴巴Java开发手册高级篇
不久前,阿里巴巴发布了《阿里巴巴Java开发手册》,总结了阿里巴巴内部实际项目开发过程中开发人员应该遵守的研发流程规范,这些流程规范在一定程度上能够保证最终的项目交付质量,通过在时间中总结模式,并推广给广大开发人员,来避免研发人员在实践中容易犯的错误,确保最终在大规模协作的项目中达成既定目标。 无独有偶,笔者去年在公司里负责升级和制定研发流程、设计模板、设计标准、代码标准等规范,并在实际工作中进行...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
redis分布式锁,面试官请随便问,我都会
文章有点长并且绕,先来个图片缓冲下! 前言 现在的业务场景越来越复杂,使用的架构也就越来越复杂,分布式、高并发已经是业务要求的常态。像腾讯系的不少服务,还有CDN优化、异地多备份等处理。 说到分布式,就必然涉及到分布式锁的概念,如何保证不同机器不同线程的分布式锁同步呢? 实现要点 互斥性,同一时刻,智能有一个客户端持有锁。 防止死锁发生,如果持有锁的客户端崩溃没有主动释放锁,也要保证锁可以正常释...
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
Nginx 原理和架构
Nginx 是一个免费的,开源的,高性能的 HTTP 服务器和反向代理,以及 IMAP / POP3 代理服务器。Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。 Nginx 的整体架构 Nginx 里有一个 master 进程和多个 worker 进程。master 进程并不处理网络请求,主要负责调度工作进程:加载配置、启动工作进程及非停升级。worker 进程负责处...
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
Java世界最常用的工具类库
Apache Commons Apache Commons有很多子项目 Google Guava 参考博客
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员...
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC...
【技巧总结】位运算装逼指南
位算法的效率有多快我就不说,不信你可以去用 10 亿个数据模拟一下,今天给大家讲一讲位运算的一些经典例子。不过,最重要的不是看懂了这些例子就好,而是要在以后多去运用位运算这些技巧,当然,采用位运算,也是可以装逼的,不信,你往下看。我会从最简单的讲起,一道比一道难度递增,不过居然是讲技巧,那么也不会太难,相信你分分钟看懂。 判断奇偶数 判断一个数是基于还是偶数,相信很多人都做过,一般的做法的代码如下...
为什么要学数据结构?
一、前言 在可视化化程序设计的今天,借助于集成开发环境可以很快地生成程序,程序设计不再是计算机专业人员的专利。很多人认为,只要掌握几种开发工具就可以成为编程高手,其实,这是一种误解。要想成为一个专业的开发人员,至少需要以下三个条件: 1) 能够熟练地选择和设计各种数据结构和算法 2) 至少要能够熟练地掌握一门程序设计语言 3) 熟知所涉及的相关应用领域的知识 其中,后两个条件比较容易实现,而第一个...
Android 9.0 init 启动流程
阅读五分钟,每日十点,和您一起终身学习,这里是程序员Android本篇文章主要介绍Android开发中的部分知识点,通过阅读本篇文章,您将收获以下内容:一、启动流程概述一、 启动流程概述Android启动流程跟Linux启动类似,大致分为如下五个阶段。1.开机上电,加载固化的ROM。2.加载BootLoader,拉起Android OS。3.加载Uboot,初始外设,引导Kernel启动等。...
8年经验面试官详解 Java 面试秘诀
作者 |胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。 Java程序员准备和投递简历的实...
面试官如何考察你的思维方式?
1.两种思维方式在求职面试中,经常会考察这种问题:北京有多少量特斯拉汽车?某胡同口的煎饼摊一年能卖出多少个煎饼?深圳有多少个产品经理?一辆公交车里能装下多少个乒乓球?一个正常成年人有多少根头发?这类估算问题,被称为费米问题,是以科学家费米命名的。为什么面试会问这种问题呢?这类问题能把两类人清楚地区分出来。一类是具有文科思维的人,擅长赞叹和模糊想象,它主要依靠的是人的第一反应和直觉,比如小孩...
前后端分离,我怎么就选择了 Spring Boot + Vue 技术栈?
前两天又有小伙伴私信松哥,问题还是职业规划,Java 技术栈路线这种,实际上对于这一类问题我经常不太敢回答,每个人的情况都不太一样,而小伙伴也很少详细介绍自己的情况,大都是一两句话就把问题抛出来了,啥情况都不了解,就要指出一个方向,这实在是太难了。 因此今天我想从我学习 Spring Boot + Vue 这套技术栈的角度,来和大家聊一聊没有人指导,我是如何一步一步建立起自己的技术体系的。 线上大...
17张图带你解析红黑树的原理!保证你能看懂!
二叉查找树 由于红黑树本质上就是一棵二叉查找树,所以在了解红黑树之前,咱们先来看下二叉查找树。 二叉查找树(Binary Search Tree),也称有序二叉树(ordered binary tree),排序二叉树(sorted binary tree),是指一棵空树或者具有下列性质的二叉树: 若任意结点的左子树不空,则左子树上所有结点的值均小于它的根结点的值; 若任意结点的...
so easy! 10行代码写个"狗屁不通"文章生成器
前几天,GitHub 有个开源项目特别火,只要输入标题就可以生成一篇长长的文章。 背后实现代码一定很复杂吧,里面一定有很多高深莫测的机器学习等复杂算法 不过,当我看了源代码之后 这程序不到50行 尽管我有多年的Python经验,但我竟然一时也没有看懂 当然啦,原作者也说了,这个代码也是在无聊中诞生的,平时撸码是不写中文变量名的, 中文...
知乎高赞:中国有什么拿得出手的开源软件产品?(整理自本人原创回答)
知乎高赞:中国有什么拿得出手的开源软件产品? 在知乎上,有个问题问“中国有什么拿得出手的开源软件产品(在 GitHub 等社区受欢迎度较好的)?” 事实上,还不少呢~ 本人于2019.7.6进行了较为全面的回答,对这些受欢迎的 Github 开源项目分类整理如下: 分布式计算、云平台相关工具类 1.SkyWalking,作者吴晟、刘浩杨 等等 仓库地址: apache/skywalking 更...
MySQL数据库总结
一、数据库简介 数据库(Database,DB)是按照数据结构来组织,存储和管理数据的仓库。 典型特征:数据的结构化、数据间的共享、减少数据的冗余度,数据的独立性。 关系型数据库:使用关系模型把数据组织到数据表(table)中。现实世界可以用数据来描述。 主流的关系型数据库产品:Oracle(Oracle)、DB2(IBM)、SQL Server(MS)、MySQL(Oracle)。 数据表:数...
记一次腾讯面试:进程之间究竟有哪些通信方式?如何通信? ---- 告别死记硬背
有一次面试的时候,被问到进程之间有哪些通信方式,不过由于之前没深入思考且整理过,说的并不好。想必大家也都知道进程有哪些通信方式,可是我猜很多人都是靠着”背“来记忆的,所以今天的这篇文章,讲给大家详细着讲解他们是如何通信的,让大家尽量能够理解他们之间的区别、优缺点等,这样的话,以后面试官让你举例子,你也能够顺手拈来。 1、管道 我们来看一条 Linux 的语句 netstat -tulnp | gr...
20行Python代码爬取王者荣耀全英雄皮肤
引言 王者荣耀大家都玩过吧,没玩过的也应该听说过,作为时下最火的手机MOBA游戏,咳咳,好像跑题了。我们今天的重点是爬取王者荣耀所有英雄的所有皮肤,而且仅仅使用20行Python代码即可完成。 准备工作 爬取皮肤本身并不难,难点在于分析,我们首先得得到皮肤图片的url地址,话不多说,我们马上来到王者荣耀的官网: 我们点击英雄资料,然后随意地选择一位英雄,接着F12打开调试台,找到英雄原皮肤的图片...
傲慢与无知,请警惕伪需求的陷阱!
前言 你是否有这样的思考,与人争辩时,明明对于自己的认知和立场有着清楚的认识,同样身为人类的另一个人却完全无法接纳你的观点,这是为什么。 人类作为一个高等生物智能机器人,具备自我内存优化的能力,这一能力增加了人类的模糊处理能力从而出现了创造性,同时却削弱了人类的真理认知能力。 个体认知范围是有限的,个体只会做出认知范围内所接受的举动 青少年的时候,我常常有一种自己是特别的,是与众不同的感觉。而这种...
相关热词 c# 输入ip c# 乱码 报表 c#选择结构应用基本算法 c# 收到udp包后回包 c#oracle 头文件 c# 序列化对象 自定义 c# tcp 心跳 c# ice连接服务端 c# md5 解密 c# 文字导航控件
立即提问