1 |
- "use strict";(self["webpackChunkcoupon"]=self["webpackChunkcoupon"]||[]).push([[346],{5795:function(t,c,D){D.d(c,{Z:function(){return a}});var e=D(4870),s=D(3396);function a(){const t=(0,e.iH)(!1),c=()=>{t.value=!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)};return(0,s.bv)((()=>{c()})),{isIOS:t}}},6346:function(t,c,D){D.r(c),D.d(c,{default:function(){return W}});var e=D(805),s=(D(4165),D(3396)),a=D(4870),o=D(7139),n=D(2808),A=D(2352),U=(D(931),D(4972)),i=D(1423),k=D(6778),H=D(7071),l=D(4147),E=D(5795);const u={class:"h5-page-wrap"},d={class:"goods-img"},r=["src"],g={class:"goods-name"},R=["src"],v={class:"text"},y={class:"link-wrap"},T={class:"tips-wrap"},f=["src"],S={key:0,class:"opentaobao-btn"},p={key:0};var Q=(0,s.aZ)({__name:"index",setup(t){const c=D(9299),Q=D(8500),h=(0,a.qj)({goodsId:(0,U.Wz)("goodsId"),accountId:(0,U.Wz)("accountId"),pid:(0,U.Wz)("pid")}),L=(0,a.qj)({goods:{},spreadUrl:"",tklCode:""}),W=async()=>{try{A.F.loading({message:"加载中...",duration:0,forbidClick:!0});const{code:t,data:c,msg:D}=await i.Z.get(k.z.goods_getGoodsTklEx,{...h});0===t&&c?(L.goods=c?.goods||{},L.spreadUrl=c?.spreadUrl||"",L.tklCode=c?.tklCode||""):A.F.fail(D||"操作失败")}catch(t){}finally{A.F.clear()}},{toClipboard:b}=(0,H.Z)(),C=async()=>{try{const t=`${L.tklCode}`;await b(t),A.F.success("复制成功")}catch(t){A.F.fail("复制失败")}},I=(0,a.iH)(!0),{isIOS:j}=(0,E.Z)(),O=()=>{(0,A.F)("复制成功!请打开淘宝APP使用优惠券~")},B=async()=>{let t=`${L.tklCode}`;t=t.split("https://m.tb.cn")[1].split(" ")[0].split("/")[1];const c=`${L.tklCode}`;if(await b(c),j.value){const c=document.createElement("a");c.style.display="none",c.href=`https://s.tb.cn/${t}`,document.body.appendChild(c),c.click(),K()}else O()};let m=null;const K=()=>{m=setTimeout((()=>{O()}),3e3)},w=()=>{document.hidden&&window.clearTimeout(m)};window.addEventListener("visibilitychange",w,{once:!0});const G=l.i8,V=(0,a.iH)(!1);return(0,s.bv)((()=>{W()})),(t,D)=>{const A=e.J;return(0,s.wg)(),(0,s.iD)("div",u,[(0,s._)("div",d,[(0,s._)("img",{src:L.goods.pictUrl},null,8,r)]),(0,s._)("div",g,[(0,s._)("img",{src:(0,a.SU)(c)},null,8,R),(0,s._)("span",v,(0,o.zw)(L.goods.goodsName||L.goods.title),1)]),(0,s._)("div",y,(0,o.zw)(L.tklCode),1),(0,s._)("div",{class:"btn",onClick:C},"一键复制"),(0,s._)("div",T,[(0,s._)("img",{src:(0,a.SU)(Q)},null,8,f)]),(0,a.SU)(j)&&I.value?((0,s.wg)(),(0,s.iD)("div",S,[(0,s._)("img",{src:n,onClick:B}),(0,s.Wm)(A,{class:"close-btn",name:"clear",onClick:D[0]||(D[0]=t=>I.value=!1)})])):(0,s.kq)("",!0),(0,s._)("div",{class:"version-wrap",onClick:D[1]||(D[1]=t=>V.value=!V.value)},[V.value?((0,s.wg)(),(0,s.iD)("span",p,"v"+(0,o.zw)((0,a.SU)(G)),1)):(0,s.kq)("",!0)])])}}}),h=D(89);const L=(0,h.Z)(Q,[["__scopeId","data-v-1a59a43c"]]);var W=L},8500:function(t){t.exports="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAuQAAAA4CAMAAACCGR0qAAAAtFBMVEUAAAD/////7Oz/7Oz/7Oz/7Oz/7e3/6+v/6+v/6+v/7e3/6+v/QED/SEj/QkL/vr7/Rkb/6ur/trb/bW3/ycn/r6//4uL/0tL/k5P/u7v/c3P/YGD/YmL/5OT/2tr/19f/UVH/zs7/pqb/uLj/aGj/iYn/fn7/cHD/WFj/s7P/qKj/mZn/kJD/jY3/TEz/5ub/XV3/xcX/Zmb/3t7/wsL/oaH/np7/lpb/eHj/VVX/e3v/hI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DtZdFEOQoUsS2G+ZQwt5OU+4QB8a5MB+eT6Y4HVQbGWQESxhtRBhyvhW6kMSCb3uCRWab4Or8CjEuPv8K1bBPzsp1KMbC1xgL2xEGUaxu10jUS2Krt7DGUYUmqg/uiXB2OtBiltSzMsKv3y/fCM+qNGaGTtyl9/nJ6OCQuOyOF2HEEMIrBh1vneRtWS6IJyq8rPwAZqLvCa4OuRRNgPBtZmXH3QgTJV86FoNLvHaIpBYJ9oXzKg0yyt9X/QiHo+dCHZTKy35qE3Uh0+t6i7d4jkHpwBvZW2yg/mteZDflmXyVQRkbTol5txx//Nh05UrZoPtrXmg56NLDXDKvPBEA9DMcCgDsnNh7QfGmO6mQuJIJRjd4oxsPnQkMAGewDACqc+OjCGvLHA0cGl0OBcJUsNY9zhRKVhTinaTw4nNB7++KM6nIBo8fgjLvt/u0zGBIWsK0YAAAAASUVORK5CYII="},2808:function(t,c,D){t.exports=D.p+"img/open-tb-btn.c2608fec.png"},4165:function(t,c,D){D(1958),D(368),D(6742)},4147:function(t){t.exports={i8:"0.1.7"}}}]);
|