pages-pay-result.971bbca8.js 1.4 KB

1
  1. import{M as s,Z as t,e as a,k as l,T as e,t as i,u as o}from"./index-8247d88f.js";import"https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js";import{_ as c}from"./_plugin-vue_export-helper.1b428a4d.js";const n=c({__name:"result",setup(c){s({});const n=s({}),d=s("https://payapp.weixin.qq.com");t((()=>{p(),r()}));const p=()=>{const s=window.location.search.substring(1).split("&");s.length&&s.forEach((s=>{const t=s.split("=");n.value[t[0]]=t[1]}))},r=()=>{console.log("showCustomPage");const s=JSON.stringify({action:"onIframeReady",displayStyle:"SHOW_CUSTOM_PAGE",height:900});parent.postMessage(s,d.value)},v=()=>{const s={action:"jumpOut",jumpOutUrl:`${location.origin}/xxxxx/user`},t=JSON.stringify(s);parent.postMessage(t,d.value)};return(s,t)=>(a(),l("div",{class:"page-box"},[e("div",{class:"container"},[i(" 小票 "+o(n.value)+" ",1),e("div",{style:{padding:".4267rem 0"}},"xxxx有限公司"),e("div",{class:"list-style"},[e("div",{class:"title"},"订单状态"),e("div",{class:"detail"})]),e("div",{class:"list-style"},[e("div",{class:"title"},"订单尾号"),e("div",{class:"detail"})]),e("div",{class:"line-style"}),e("div",{class:"list-style"},[e("div",{class:"title"},"支付总额"),e("div",{class:"detail"})]),e("div",{class:"list-style",style:{"justify-content":"center"}},[e("div",{class:"button-style",onClick:v}," 返回首页 ")])])]))}},[["__scopeId","data-v-0f9c913f"]]);export{n as default};