1 |
- import{M as s,Z as t,e as l,k as a,T as e,t as i}from"./index-f9f956fa.js";import"https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js";import{_ as o}from"./_plugin-vue_export-helper.1b428a4d.js";const n=o({__name:"result",setup(o){s({});const n=s({}),c=s("https://payapp.weixin.qq.com");t((()=>{d(),p()}));const d=()=>{const s=window.location.search.substring(1).split("&");s.length&&s.forEach((s=>{const t=s.split("=");n.value[t[0]]=t[1]}))},p=()=>{console.log("showCustomPage");const s=JSON.stringify({action:"onIframeReady",displayStyle:"SHOW_CUSTOM_PAGE",height:900});parent.postMessage(s,c.value)},r=()=>{const s={action:"jumpOut",jumpOutUrl:`${location.origin}/xxxxx/user`},t=JSON.stringify(s);parent.postMessage(t,c.value)};return(s,t)=>(l(),a("div",{class:"page-box"},[e("div",{class:"container"},[i(" 小票 "),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:r}," 返回首页 ")])])]))}},[["__scopeId","data-v-5e951773"]]);export{n as default};
|