getWeather({"success":"1","result":[{"cityno":"shanghai"}) 爱秀代码 - Powered by Discuz! Board
免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
Board logo

标题: [求助] 关于第三方认证代码问题 [打印本页]

作者: 梅子    时间: 2018-11-13 20:53     标题: 关于第三方认证代码问题

能不能修改为一个账号获得多个认证图标?
  1. <script>
  2. var vipinfo=new Array()
  3. vipinfo[0]=["地址","理由"]
  4. vipinfo[1]=["地址","理由"]
  5. vipinfo[2]=["地址","理由"]
  6. var viplist=new Array();
  7. viplist[0]=[UID,"用户名r","",认证序号]
  8. viplist[1]=[UID,"用户名","",认证序号]
  9. viplist[2]=[UID,"用户名","",认证序号]

  10. var str="<style>";for (i=0;i<vipinfo.length;i++){str+=".vipinfo"+i+"{background:url("+vipinfo[i][0]+") no-repeat right;}";}str+="</style>";document.write(str);for (i=0;i<viplist.length;i++){$jq("a:contains('"+viplist[i][1]+"')").each(function (){var hr=this.href;if (((this.href.indexOf("space-uid-")>0)||(this.href.indexOf("space-username-")>0)||(this.href.indexOf("space.php?uid=")>0)||(this.href.indexOf("space.php?username=")>0))&&(this.innerHTML==viplist[i][1])){ this.innerHTML+='<img align="absmiddle" style="margin-left: 2px;"  title="'+vipinfo[viplist[i][3]][1]+'" src="'+vipinfo[i][0]+'" />'}})}</script>
复制

作者: 梅子    时间: 2019-1-9 00:47

没有大佬吗?
作者: 梅子    时间: 2019-4-13 14:08

@icode 大佬,能帮忙解决这个问题嘛




欢迎光临 爱秀代码 (http://icode.258club.com/) Powered by Discuz! 7.2