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-75923bd7.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}),d=s("https://payapp.weixin.qq.com"),p=s("");t((async()=>{await u(),await r()}));const r=()=>{console.log(window.location),p.value=window.location},u=()=>{console.log("showCustomPage");const s=JSON.stringify({action:"onIframeReady",displayStyle:"SHOW_CUSTOM_PAGE"});parent.postMessage(s,d.value)},v=()=>{const s={action:"jumpOut",jumpOutUrl:`${location.origin}/#/pages/pay/resultYuan`},t=JSON.stringify(s);parent.postMessage(t,d.value)};return(s,t)=>(a(),l("div",{class:"page-box"},[e("div",{class:"container"},[i(" 小票 queryStr:"+o(p.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-2ef7e75d"]]);export{c as default};
|