本WIKI由旅行者酒馆于2020年03月14日申请开通,内容按CC BY-NC-SA 4.0协议提供,编辑权限开放。感谢 大猫雷恩 对WIKI设计支持,期待更多能人异士加入原神WIKI。
免责声明 • 反馈留言 • 交流群:1018709157
原神WIKI五周年啦!
bugfix250107.1

全站通知:

Widget:卡牌属性说明

来自原神WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

<script> (window.RLQ = window.RLQ || []).push([["jquery"], function () {


   var data={}
   $.each($("#kapaiData tbody tr"),function(index,item){
       data[$(this).children().eq(0).text()]=[$(this).children().eq(1).text(),$(this).children().eq(2).html()]
   })
   
   $("body").on("click", ".jiNeng div > span", function () {
       var that = $(this)
       $(".more-float").remove()
       $.each(data,function(index,item){
           if(that.text().indexOf(index) !== -1){
               console.log(item[1],)

var newDom = $("

")
               newDom.addClass("more-float")
newDom.append("
"+item[1]+"
")
               newDom.append("X")
               that.parents(".jiNeng").append(newDom)
           }
       })
   })
   $("body").on("click", ".more-float-close", function () {
       $(this).parent().remove()
   
   })


}]) </script>