chatapp-h5/h5/js/index-CofaAOmb-1776148658686.js
2026-04-14 17:58:21 +08:00

2 lines
4.8 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as A,o as f,c as y,b as e,l,q as w,D as b,E as _,t as o,m,r as d,u as q,j as x,y as C,ag as v}from"./index-CIAVq8iD-1776148658686.js";import{b as k}from"./toast-aIWCznBB-1776148658686.js";import{u as B}from"./rechargeTarget-IksBf2RB-1776148658686.js";import{s as U}from"./userInfo-gLO2xl8i-1776148658686.js";import{G}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";import{m as H}from"./MaskLayer-CMaJd7Gb-1776148658686.js";const Q={class:"fullPage"},j={class:"bg"},E={style:{padding:"4%"}},I={style:{display:"flex",gap:"20px",width:"100%"}},J={style:{flex:"1","min-width":"0","align-self":"stretch"}},M=["placeholder"],S={style:{"margin-top":"16px"}},X={style:{"font-weight":"bold"}},z={class:"textContent"},D={style:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center"}},F={style:{width:"100%",display:"flex","justify-content":"center","font-weight":"800",position:"relative",padding:"5px 0"}},K={style:{"font-weight":"bold"}},R={class:"textContent"},T={__name:"index",setup(N){const c=new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARqSURBVHgBzVo9bxNBEH0YSzRxlcr+AU4VCUQqGi4/IGmgCVQ0hgYJoTSIgtBQJdDQJAHRkQqapKLBkaBMRRr8A5KKKqmQQOzz7Tjrub273btzxJNGzn3s3ryZ2Z3Z3VxBM+gYSYz0jXSNLBiZs/cFp0ZOjIysHNnrWriC6qBya0ZuWqkCEtlDDTJVCIjia5i2cF0cGNlBJJFYAgM0r7jGjpUghBJgXG8hjfE8MAxGzu+ZFaJj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qaeaCilafRP+QrLwiCnkkC8x8gL+nMB4ZKFW5aC67LyZHuYuX+EWZ8wx6w6Kd9KOcHHESjJSiYqyFDlild88sI91NHTM6iLv4K8pSC5q/KDbhaT2qqWBD5XPm+v8s4ccVDOGqy6CJOyqHJSPUYeACyHTt9LD9Hihcpy1uP6W49IhGpiK/wGhlQHvqQyQOQAAAABJRU5ErkJggg==",import.meta.url).href,n=B(),g=q(),a=d(!1),p=()=>{a.value=!0},i=()=>{a.value=!1},s=d(""),h=async()=>{console.log("充值目标用户id",s.value);try{const t=await U(s.value);console.log("targetUserInfo:",t),t.status&&t.body.id?(n.setTargetUser(t.body),g.push("/recharge-pay-way")):k("User info not found")}catch(t){throw console.log("error:",t.response.errorMsg),t}};return f(()=>{n.clearTargetUser()}),(t,r)=>(x(),y("div",Q,[e("div",j,[l(G,{isHomePage:!0,title:t.$t("recharge"),showHelp:!0,helpImg:w(c),onHelp:p,color:"black",style:{"box-shadow":"0 0 10px rgba(0, 0, 0, 0.1)","z-index":"999"}},null,8,["title","helpImg"]),e("div",E,[e("div",I,[e("div",J,[b(e("input",{style:{width:"100%",border:"0","border-radius":"8px","box-shadow":"0 0 2px 2px #00000020",padding:"10px 8px"},type:"text",placeholder:t.$t("recharge_placeholder"),"onUpdate:modelValue":r[0]||(r[0]=u=>s.value=u)},null,8,M),[[_,s.value]])]),e("button",{style:{"min-width":"0","align-self":"stretch",border:"0","border-radius":"8px","font-weight":"590",color:"white",padding:"10px 8px","background-color":"#c670ff",background:"linear-gradient(to bottom, rgba(198, 112, 255, 1), rgba(119, 38, 255, 1))","box-shadow":"0 0 1px 1px #00000020"},onClick:h},o(t.$t("recharge_button")),1)]),e("div",S,[e("p",X,o(t.$t("faq_title")),1),e("div",z,[e("p",null,o(t.$t("faq_question_1")),1),e("p",null,o(t.$t("faq_how_to_check_recharge")),1),e("p",null,o(t.$t("faq_answer_label")),1),e("p",null,o(t.$t("faq_how_to_check_recharge_answer")),1)])])]),l(H,{maskLayerShow:a.value,onClick:i},{default:m(()=>[e("div",D,[e("div",{style:{width:"80%",padding:"8%","background-color":"white",display:"flex","flex-direction":"column","align-items":"center","border-radius":"20px"},onClick:r[1]||(r[1]=C(()=>{},["stop"]))},[e("div",F,[v(o(t.$t("help"))+" ",1),e("div",{class:"close",onClick:i},"x")]),e("div",null,[e("p",K,o(t.$t("user_recharge_instructions")),1),e("div",R,[e("p",null,o(t.$t("recharge_instruction_1")),1),e("p",null,o(t.$t("recharge_instruction_2")),1),e("p",null,o(t.$t("recharge_instruction_3")),1),e("p",null,o(t.$t("recharge_instruction_4")),1)])])])])]),_:1},8,["maskLayerShow"])])]))}},P=A(T,[["__scopeId","data-v-bf0a6bf6"]]);export{P as default};