PageSourceSearch

https://www.d2core.com/assets/poe2-data-skill.D7xB7Bcz.js

js d2core.com collected 2026-10-04 00:43:19 UTC 2,661 bytes, 1 lines download raw bytes

1import{_ as t}from"./database-table.Cbr9Mqaa.js";import{c as e,w as a,a1 as l,p as i,H as s,q as o,r,o as n,a as m}from"./index-DEpBscAf.js";import{r as p}from"./uni-app.es.DCMxoOwQ.js";import{_ as d}from"./database-layout.9vDJzY8V.js";import{l as u,P as c}from"./utils.9vPyaQfh.js";import{P as f}from"./poe2-db-item.B1PtxM9-.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./uni-load-more.DXku1cBj.js";import"./lazy-image.CJo0AQX9.js";import"./chevron-right.UxAiXwN8.js";import"./dropdown-actions.B6DNzmcA.js";import"./x.Ckpwsymw.js";import"./package-open.D2EZvN1j.js";import"./arrow-up-down.rvAcVFiW.js";import"./layout-list.B5-FMMkA.js";import"./back-btn.C6S0SBZD.js";import"./chevron-left.Da9ti6ri.js";import"./change-lang.Bs7OHGXN.js";import"./globe.bw9sSe_e.js";import"./tool-item.29wKEO5a.js";import"./content-layout.A4K2ggmy.js";import"./coins.BfjOV4ev.js";import"./flask-round.D75u4-zc.js";import"./gem.CdVydawZ.js";import"./database-line.BSZgSMDD.js";const g=[{label:"T1",value:1},{label:"T2",value:2},{label:"T3",value:3},{label:"T4",value:4},{label:"T5",value:5},{label:"血统",value:"lineage"}];const j=b({components:{"database-layout":d,"database-table":t,"poe2-db-item":f},data:()=>({dbMenu:c,dataSource:[],filterOptions:[],defaultFilter:{}}),mounted(){this.init()},methods:{getIconUrl:t=>t.skillIcon&&"lineage"!==t.crafting_level?i(`${s}/data_img/poe2/skill-icon/${t.skillIcon}`,200):"",async init(){const t=this.$i18n.locale;this.dataSource=await u(this.$store,t,"skill"),this.filterOptions=[{title:this.$i18n.tm("d4.ui.filter.skillType"),field:"type",dataSource:l(this.$i18n.tm("poe2.skillType"))},{title:this.$i18n.tm("d4.ui.filter.keywords"),field:"tags",type:"multiple",dataSource:l(this.$i18n.tm("poe2.skillTags"))},{title:"辅助等阶",field:"crafting_level",dataSource:g}]}},onReachBottom(){this.$refs.table&&this.$refs.table.loadMore()}},[["render",function(l,i,s,u,c,f){const b=o("poe2-db-item"),g=p(r("database-table"),t),j=p(r("database-layout"),d);return n(),e(j,{menu:c.dbMenu,defaultActiveKey:"skill",fallbackUrl:"/poe2"},{default:a((()=>[m(g,{ref:"table",dataSource:c.dataSource,filterOptions:c.filterOptions,defaultFilter:c.defaultFilter,searchFields:["desc","tags","nameCN","nameUS"],placeholder:"搜索技能名称、描述...",columns:2},{item:a((({item:t})=>[m(b,{title:t.name,subtitle:t.tags&&t.tags.length?t.tags[0]:"",iconUrl:f.getIconUrl(t),type:"skill",tag:t.tags&&t.tags.length>1?t.tags.slice(1):[],desc:t.desc,nameUS:t.nameUS},null,8,["title","subtitle","iconUrl","tag","desc","nameUS"])])),_:1},8,["dataSource","filterOptions","defaultFilter"])])),_:1},8,["menu"])}]]);export{j as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.