1import{L as u,ba as c,aq as p,B as x,w as e,J as o,aJ as m,aQ as y,K as g,bv as b,bi as f,bh as _,al as w,_ as v,bb as k,aA as L,at as S}from"./M4bAhrGC.js";const q={class:"page"},B={class:"content"},D={class:"space-y-4 lg:space-y-5 lg:text-xl text-slate-400 my-20"},N={class:"text-origin-800"},E=u({__name:"success",setup(T){const{getOrderDetail:r}=k(),{$fbq:l}=c(),s=L("");function i(){f().push("/")}const d=async()=>{try{const n=_().query.order_no,t=await r(n);t.success&&(s.value=t.body.data.no||"",w(()=>{typeof window<"u"&&window.dataLayer&&window.dataLayer.push({event:"purchase",transaction_id:t.body.data.no,currency:"TWD",value:t.body.data.total?.toLocaleString("en-US")||0,tax:0,shipping:t.body.data.fee?.toLocaleString("en-US")||0,items:t.body.data.items.map(a=>({item_id:a.no,item_name:a.name,item_category:a.category?.[0]?.name||"",item_price:a.price?.toLocaleString("en-US")||0,quantity:a.qty}))})}),l("track","Purchase",{value:t.body.data.total,currency:"TWD"}))}catch(n){console.error("Error fetching order number:",n)}};return p(()=>{d()}),(n,t)=>{const a=v;return S(),x("div",q,[e("div",B,[e("div",D,[t[5]||(t[5]=e("p",null,"親æçæå¡æ¨å¥½ï¼",-1)),e("p",null,[t[0]||(t[0]=o(" æ¨çè¨å®å·²æåéåºãæåå·²æ¶å°æ¨æ¬æ¬¡çè¨è³¼è³è¨ï¼è¨å®ç·¨èï¼",-1)),e("span",N,m(y(s)),1),t[1]||(t[1]=o(" ï¼æåæåå¿«çºæ¨èçã ",-1))]),e("p",null,[t[3]||(t[3]=o(" æè¬æ¨å°è¡åååçæ¯æä¸¦æ¿èè¨è³¼ï¼è¥æåé¡åè«ä¾è¨å®ç·¨èåæåæ¥è©¢ï¼è¬è¬æ¨ï¼æåå¾ç¶²ç«",-1)),g(a,{to:"/member/order",class:"text-blue-500 cursor-pointer"},{default:b(()=>[...t[2]||(t[2]=[o(" ãæå¡ä¸å¿-è¨å®ç´éã",-1)])]),_:1}),t[4]||(t[4]=o("æ¥è©¢è¨å®èçé²åº¦ã ",-1))])]),t[6]||(t[6]=e("div",{class:"text-slate-400"},[e("p",null," æ¤ç¶²é å
æ¯ç¢ºèªæ¶å°æ¨çè¨è³¼è¨æ¯ï¼ä¸¦ä¾æ¨å次èªè¡æ ¸å°ä¹ç¨ï¼ä¸è¡¨ç¤ºæ¬è¨å®å·²ç¶æç«ãå¦ææ¨æè¨è³¼çåå仿å貨ãä¸äº¤ææ¢ä»¶ç¶ç¢ºèªç¡èª¤ï¼æåææåç¼å¡è¡è«æ¬¾ï¼åªæç¶æåæ¶å°ä¿¡ç¨å¡äº¤ææ¬¾é
æï¼æ¨ç仿¬¾ç¨åºæç®å®æã妿任ä½åé¡ï¼è«èæåè¯ç¹«ï¼æ¨ä¹å¯é¨æè³[æå¡ä¸å¿-è¨å®æ¥è©¢]æ¥è©¢æ¨çè¨å®èçé²åº¦ï¼è¬è¬ã "),e("p",null," è¥è¨è³¼ä¹ååç¡æ³é å©åºè²¨æç¼ºè²¨ï¼æåå°ä¸»å以E-mailæ¹å¼éç¥æ¨ãè¡åååä»ä¿ææ±ºå®æ¯å¦æ¥åè¨å®ååºè²¨èå¦ä¹æ¬å©ã ")],-1)),e("div",{class:"text-center"},[e("button",{class:"text-white bg-[#F25B17] mx-auto font-semibold text-center lg:text-xl w-full leading-[56px] mt-[32px] lg:w-[400px] lg:leading-[66px] lg:mt-[93px] !rounded-[4px]",onClick:i}," åé¦é ")])])])}}});export{E as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.