| 1 |
- import{_ as e,u as t,c as l,f as a,g as n,h as i,i as o,j as s,k as c,l as u,n as r,t as p,m,p as d,s as f,x as g,z as v,v as b}from"./index-DhPBDLGv.js";import{_}from"./cwg-rich-text.OPUMxSfS.js";import{_ as y}from"./cwg-page-wrapper.D40OLzj1.js";import{_ as h}from"./cwg-label-line-value.C5DcTdVJ.js";const C=e({__name:"cwg-tips-popup",props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:String,default:""},content:{type:String,default:""},introduce:{type:String,default:""}},emits:["update:visible","confirm"],setup(e,{emit:b}){const h=e,C=b,{t:k}=t(),w=l({get:()=>h.visible,set:e=>C("update:visible",e)}),x=()=>{w.value=!1,C("confirm")};return(t,l)=>{const b=g,h=a(n("cwg-rich-text"),_),C=v,D=a(n("cwg-popup"),y),S=i("t");return o(),s(D,{visible:w.value,"onUpdate:visible":l[1]||(l[1]=e=>w.value=e),type:"center","mask-click":!1,"show-footers":!0},{footer:c((()=>[u(C,{onClick:l[0]||(l[0]=e=>w.value=!1)},{default:c((()=>[r(p(m(k)("Btn.Cancel")),1)])),_:1}),u(C,{type:"primary",onClick:x},{default:c((()=>[r(p(m(k)("Btn.Confirm")),1)])),_:1})])),default:c((()=>[u(b,{class:"popup-content"},{default:c((()=>[e.title?d((o(),s(b,{key:0,class:"des1",style:{"font-size":"16px","font-weight":"bold","line-height":"1.6",margin:"30px 0 50px"}},null,512)),[[S,e.title]]):f("",!0),e.content?d((o(),s(b,{key:1,class:"des1",style:{"font-size":"15px","line-height":"1.6",margin:"30px 0 50px"}},null,512)),[[S,e.content]]):d((o(),s(b,{key:2,class:"des1",style:{"font-size":"15px","line-height":"1.6",margin:"30px 0 50px"}},null,512)),[[S,e.content]]),u(h,{class:"popup-text",nodes:e.introduce},null,8,["nodes"])])),_:1})])),_:1},8,["visible"])}}},[["__scopeId","data-v-8441c431"]]),k=e({__name:"WithdrawCheckConfirmPopup",props:{visible:{type:Boolean,default:!1},loginDoc:String,channelData:Object,code:String,selectCodes:String,params:Object,userName:String,FreeNumber:Number,dialogCheckConfirm_form:Object,type:String,title:String},emits:["update:visible","confirm","cancel"],setup(e,{emit:i}){const d=e,_=i,{t:C,locale:k}=t(),w=l({get:()=>d.visible,set:e=>_("update:visible",e)}),x=()=>{w.value=!1,_("cancel")},D=async()=>{w.value=!1,_("confirm")};return(t,l)=>{const i=a(n("cwg-label-line-value"),h),d=b,_=g,S=v,j=a(n("cwg-popup"),y);return o(),s(j,{visible:w.value,"onUpdate:visible":l[0]||(l[0]=e=>w.value=e),type:"center","mask-click":!1,showFooters:!0,showClose:!1,title:e.title},{footer:c((()=>[u(S,{onClick:x},{default:c((()=>[r(p(m(C)("Btn.Cancel")),1)])),_:1}),u(S,{type:"primary",onClick:D},{default:c((()=>[r(p(m(C)("Btn.Confirm")),1)])),_:1})])),default:c((()=>[u(_,{class:"popup-content"},{default:c((()=>[u(_,{class:"info-section"},{default:c((()=>[e.loginDoc?(o(),s(i,{key:0,label:m(C)("Custom.Deposit.Title11"),value:e.loginDoc},null,8,["label","value"])):f("",!0),e.channelData.code?(o(),s(i,{key:1,label:m(C)("Custom.Deposit.Title22"),value:"cn"==m(k)?e.channelData.name:e.channelData.enName},null,8,["label","value"])):f("",!0),e.code?(o(),s(i,{key:2,label:m(C)("news_add_field.Label.Title4"),value:e.selectCodes},null,8,["label","value"])):f("",!0),e.params.amount?(o(),s(i,{key:3,label:m(C)("Custom.Withdraw.Title3"),value:e.params.amount+" ("+e.channelData.currency+")"},null,8,["label","value"])):f("",!0),"IB"!==e.type?(o(),s(i,{key:4,label:m(C)("Custom.Withdraw.item7"),value:""},{operation1:c((()=>[e.FreeNumber>0&&e.dialogCheckConfirm_form.feeAmount>0?(o(),s(_,{key:0},{default:c((()=>[u(d,{style:{"text-decoration":"line-through"}},{default:c((()=>[r(" $"+p(e.dialogCheckConfirm_form.feeAmount),1)])),_:1}),r(" "),u(d,null,{default:c((()=>[r(" $0.00 ")])),_:1})])),_:1})):(o(),s(_,{key:1},{default:c((()=>[r("$"+p(e.dialogCheckConfirm_form.feeAmount),1)])),_:1}))])),_:1},8,["label"])):f("",!0)])),_:1})])),_:1})])),_:1},8,["visible","title"])}}},[["__scopeId","data-v-d58c2138"]]);export{k as C,C as _};
|