mirror of
https://github.com/wmn1525/grasscutterTools.git
synced 2024-11-16 21:00:33 +00:00
2 lines
3.3 KiB
JavaScript
2 lines
3.3 KiB
JavaScript
import{_ as g}from"./plugin-vue_export-helper.d335e743.js";/* empty css *//* empty css *//* empty css *//* empty css */import{e as I,E as k,i as v,f as C,g as D,G as F,H as B,J as U,B as w,o as E,c as N,b as a,a as d,h as r,K as c,w as S,L as $,N as z,d as A,O as G}from"./index.df1d42e1.js";var H=[{label:"\u751F\u547D\u503C",value:"hp"},{label:"\u6700\u5927\u751F\u547D\u503C",value:"maxhp"},{label:"\u653B\u51FB\u529B",value:"atk"},{label:"\u5143\u7D20\u7CBE\u901A",value:"em"},{label:"\u5143\u7D20\u5145\u80FD\u6548\u7387",value:"er"},{label:"\u66B4\u51FB\u7387",value:"crate"},{label:"\u66B4\u51FB\u4F24\u5BB3",value:"cdmg"},{label:"\u51B7\u5374\u7F29\u51CF",value:"cdr"},{label:"\u6CBB\u7597\u52A0\u6210",value:"heal"},{label:"\u53D7\u6CBB\u7597\u52A0\u6210",value:"heali"},{label:"\u62A4\u76FE\u5F3A\u6548",value:"shield"},{label:"\u65E0\u89C6\u9632\u5FA1",value:"defi"},{label:"\u5143\u7D20\u589E\u4F24 \u706B",value:"epyro"},{label:"\u5143\u7D20\u589E\u4F24 \u51B0",value:"ecryo"},{label:"\u5143\u7D20\u589E\u4F24 \u6C34",value:"ehydro"},{label:"\u5143\u7D20\u589E\u4F24 \u5CA9",value:"egeo"},{label:"\u5143\u7D20\u589E\u4F24 \u8349",value:"edendro"},{label:"\u5143\u7D20\u589E\u4F24 \u96F7",value:"eelectro"},{label:"\u5143\u7D20\u589E\u4F24 \u7269\u7406",value:"ephys"},{label:"\u5143\u7D20\u589E\u4F24 \u8349",value:""},{label:"\u5143\u7D20\u6297\u6027 \u706B",value:"respyro"},{label:"\u5143\u7D20\u6297\u6027 \u51B0",value:"rescryo"},{label:"\u5143\u7D20\u6297\u6027 \u6C34",value:"reshydro"},{label:"\u5143\u7D20\u6297\u6027 \u5CA9",value:"resgeo"},{label:"\u5143\u7D20\u6297\u6027 \u8349",value:"resdendro"},{label:"\u5143\u7D20\u6297\u6027 \u96F7",value:"reselectro"},{label:"\u5143\u7D20\u6297\u6027 \u7269\u7406",value:"resphys"}];const p=n=>($("data-v-aa8bab34"),n=n(),z(),n),J={class:"commuse"},K=p(()=>a("div",{class:"title"}," \u76F4\u63A5\u4FEE\u6539\u5F53\u524D\u89D2\u8272\u7684\u9762\u677F ",-1)),L={class:"commuse-item"},M=p(()=>a("div",{class:"text-slate-900 dark:text-slate-100"}," UID: ",-1)),O={class:"commuse-item"},R=p(()=>a("div",{class:"text-slate-900 dark:text-slate-100"}," \u5C5E\u6027: ",-1)),T={class:"commuse-item"},j=p(()=>a("div",{class:"text-slate-900 dark:text-slate-100"}," \u6570\u503C: ",-1)),q={class:"generate"},P=A("\u590D\u5236"),Q=I({setup(n){const{text:W,isSupported:m,copy:_}=k();var o=v("hp"),s=v(),t=v("@");const u=C(()=>`setstats ${t.value} ${o.value} ${s.value}`),b=D(H),h=G;function f(){_(u.value),m&&h.success(`\u5DF2\u590D\u5236${u.value}`)}return(X,l)=>{const i=F,V=B,x=U,y=w;return E(),N("div",J,[K,a("div",L,[M,d(i,{modelValue:r(t),"onUpdate:modelValue":l[0]||(l[0]=e=>c(t)?t.value=e:t=e),placeholder:"\u8BF7\u8F93\u5165UID","allow-clear":""},null,8,["modelValue"])]),a("div",O,[R,d(V,{"allow-search":"",modelValue:r(o),"onUpdate:modelValue":l[1]||(l[1]=e=>c(o)?o.value=e:o=e),options:r(b),placeholder:"",filterable:""},null,8,["modelValue","options"])]),a("div",T,[j,d(x,{modelValue:r(s),"onUpdate:modelValue":l[2]||(l[2]=e=>c(s)?s.value=e:s=e),placeholder:"",mode:"button",size:"large",class:"input-demo"},null,8,["modelValue"])]),a("div",q,[d(i,{modelValue:r(u),"onUpdate:modelValue":l[3]||(l[3]=e=>c(u)?u.value=e:null),placeholder:""},null,8,["modelValue"]),d(y,{type:"outline",onClick:f},{default:S(()=>[P]),_:1})])])}}});var se=g(Q,[["__scopeId","data-v-aa8bab34"]]);export{se as default};
|