1 |
- import{M as s,Z as t,e as a,k as e,T as l,t as i,u as o}from"./index-a069a047.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){const c=s({}),d=s({a:123}),r=s("https://payapp.weixin.qq.com"),p=s("");t((()=>{u(),v()}));const u=()=>{p.value=window.location.search.substring(1);const s=p.split("&");s.length&&s.forEach((s=>{const t=s.split("=");d.value[t[0]]=t[1]}))},v=()=>{console.log("showCustomPage");const s=JSON.stringify({action:"onIframeReady",displayStyle:"SHOW_CUSTOM_PAGE",height:900});parent.postMessage(s,r.value)},g=()=>{const s={action:"jumpOut",jumpOutUrl:`${location.origin}/xxxxx/user`},t=JSON.stringify(s);parent.postMessage(t,r.value)};return(s,t)=>(a(),e("div",{class:"page-box"},[l("div",{class:"container"},[i(" 小票 queryStr:"+o(p.value)+" result:"+o(d.value)+" order:"+o(c.value)+" ",1),l("div",{style:{padding:".4267rem 0"}},"xxxx有限公司"),l("div",{class:"list-style"},[l("div",{class:"title"},"订单状态"),l("div",{class:"detail"})]),l("div",{class:"list-style"},[l("div",{class:"title"},"订单尾号"),l("div",{class:"detail"})]),l("div",{class:"line-style"}),l("div",{class:"list-style"},[l("div",{class:"title"},"支付总额"),l("div",{class:"detail"})]),l("div",{class:"list-style",style:{"justify-content":"center"}},[l("div",{class:"button-style",onClick:g}," 返回首页 ")])])]))}},[["__scopeId","data-v-794fff85"]]);export{c as default};
|