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-7fea4351.js";import"https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js";import{_ as n}from"./_plugin-vue_export-helper.1b428a4d.js";const c=n({__name:"result",setup(n){s({});const c=s({a:123}),p=s("https://payapp.weixin.qq.com"),d=s("");t((async()=>{await u(),await r()}));const r=()=>{d.value=window.location.search.substring(1);const s=d.value.split("&");s.length&&s.forEach((s=>{const t=s.split("=");c.value[t[0]]=t[1]}))},u=()=>{console.log("showCustomPage");const s=JSON.stringify({action:"onIframeReady",displayStyle:"SHOW_CUSTOM_PAGE"});parent.postMessage(s,p.value)},v=()=>{const s={action:"jumpOut",jumpOutUrl:`${location.origin}/#/pages/pay/resultYuan`},t=JSON.stringify(s);parent.postMessage(t,p.value)};return(s,t)=>(a(),l("div",{class:"page-box"},[e("div",{class:"container"},[i(" 小票 queryStr:"+o(d.value)+" result:"+o(c.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-6f56aab9"]]);export{c as default};
|