PageSourceSearch

https://www.11xyz.com/assets/receive-6H-hH358.js

js 11xyz.com collected 2026-10-08 22:42:56 UTC 1,875 bytes, 1 lines download raw bytes

1import{l as h,k as b,r as f,m as k}from"./card-DNh_wFs_.js";import{h as d,q as y,o as x,c as v,l as C,w,P as N,a0 as z,b as u,d as D,A as M,x as T,u as q,a as B,N as E,E as V,bz as j,z as G}from"./index-CIzLHlU0.js";import O from"./PosterCanvas-C-wJLJVw.js";import{_ as P}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./html2canvas.esm-BfYXEYrK.js";const R={class:"receive"},U={class:"receive-operation fvc"},$={__name:"receive",setup(A){const r=q(),p=B(),a=d(()=>r.query.code),i=d(()=>r.query.type),e=y({type:"promotionroom",detail:{},visible:!1,loading:!1}),m=()=>{switch(console.log(i.value),i.value){case"promotionroom":b(a.value).then(s=>{const{cover:o,inviter_name:t,model_id:n,title:l}=s.data,c={cover:o,title:l,price:t,nickname:a.value,url:N(n),source:"https://oss.11xyz.com/Uploads/image/202303/20230322641abc706e5ae.jpg"};e.detail=c,e.visible=!0});break;case"prop":h({code:a.value}).then(s=>{const{cover:o,inviter_name:t,model_id:n,title:l}=s.data,c={cover:o,title:l,price:t,nickname:a.value,url:`${window.location.origin}/receive?code=${a.value}&type=prop`,source:"https://oss.11xyz.com/Uploads/image/202303/20230322641abc706e5ae.jpg"};e.detail=c,e.visible=!0});break}},_=async()=>{e.visible=!1,await z(),e.detail={}};x(()=>{m()});const g=()=>
1{if(E()){if(e.loading)return;e.loading=!0,(i.value=="promotionroom"?f:k)({code:a.value}).then(o=>{const{msg:t}=o;V.success(t),p.push("/me/hall")}).finally(()=>{setTimeout(()=>{e.loading=!1},500)})}else j()};return(s,o)=>{const t=G("loading");return u(),v("div",R,[C(O,{visible:e.visible,type:e.type,detail:e.detail,onClose:_},{default:w(()=>[D("div",U,[M((u(),v("div",{class:"btn btn-shade",onClick:g,"element-loading-background":"rgba(122, 122, 122, 0.8)"},o[0]||(o[0]=[T(" 收下 ")]))),[[t,e.loading]])])]),_:1},8,["visible","type","detail"])])}}},K=P($,[["__scopeId","data-v-c7218577"]]);export{K 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.