index-legacy.c184683e.js 8.2 KB

1
  1. !function(){function e(e,t,n,r,o,s,a){try{var c=e[s](a),i=c.value}catch(u){return void n(u)}c.done?t(i):Promise.resolve(i).then(r,o)}function t(t){return function(){var n=this,r=arguments;return new Promise((function(o,s){var a=t.apply(n,r);function c(t){e(a,o,s,c,i,"next",t)}function i(t){e(a,o,s,c,i,"throw",t)}c(void 0)}))}}var n=document.createElement("style");n.innerHTML='._followAccount_p8lxp_1{position:relative;min-height:100vh;background:url(./assets/top_bg.fe3e4dd8.png) no-repeat top center,url(./assets/bottom_bg.b617db3d.png) no-repeat bottom center,url(./assets/bg.2e8f9208.png) repeat center center;background-color:#5cbd75;background-size:100%;padding:11.81333rem .53333rem 0;overflow:hidden}._followAccount_p8lxp_1:before{content:" ";position:absolute;width:1.33333rem;height:1.25333rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABeCAMAAADi3UGtAAAC7lBMVEUAAABFnFU1oWVKpmM+ol1GsWhGqWRMomVLqWFGnllLoF5LnF9NtV5KpE/s9vBOo11bsV3s9e9RrmXr4dbc6uDc793R58+OvI7R69Ct3r3e+tJbwl7r+O/t9vDq4tfs9+/r4dXq4tbs9vDr9+/r9u7k9Ons+fLo6d16tX3s9vDs9vHs9u/s9/Ho4tXr+PHl4NLq9u/U59R/tIfP6dZpsXLs8erq4NXs9/Hs9/Dr9+/r49jp4dXs9vDt9/Ds+PHo4tXr9u/o4tbs+PHr9/Dr9/Ds9/Lp9u/r+PHq9/Do9vDq9/DE1Lrm8+y4zrGgzKXg8Obj+Oibz6JXqGbn9eJ2uIGDvpHq4tXt+fLp4dbr5Njn4NTs+PDo4dXq+O/l4tTs9/Do4tTs+fLo9u7i4NHd4M/c3MzZ69vo9e3l39fM18Ds9/G/07nq9/DN5NCuyavp9O/i8OS+17yHtIPs9/Dq4tfr9/Lq4tbq49fs9/Hr49jp8+rp8+7r9vHr5Nnr9/Ds9PDq9+/q9fDk4dLg3s/r4tfU3sjj59fT2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EJRsuArFrjSTDBYyZhz/u4wLFQkgDLZwJatu25TR2eoe09WFYV1d7uZOBegLK2VsOVAmhopmhnC4Er7gg5/WPS3vvNba3Nx6rU1RxZJhXLtlEZ8UMwR6H80XRCz94+X0x6tIUX6yUeqW93kCgSCGL5GQEOYc80W8VUt33rEa2MuaoJCn7lyyigcUwxeLaUZwjiUinvDgmaK1RjlLwfl442BJRASEiMTA995OJKQIBLxLe7ZPi2XLSC984+CKCCCeQMTn9v7IDIcUvkjAi1jy26a7WWGMGZtODV4hFMJKYiSQQUMYa+EDSsm+HRvWjr1pRupdP+yJAhIChoDP92MwZ0wiAi0Tluw5Pm3i2JvyfvXEGb8sKV0BILBbfEmAIczui2HLeKUl72+flhrbB0ahiE29e/vBvEFRFCOGDw3p+4UEMaIYHi+idPC+nS+mtv1r0tqeKNyxaOkgyBAChgBOCNmqvinRYnEMcEZYsmTUjk0bJhl748ROev7EqX15gDEoSiiEfojppdUXhcOFKROA/1rU0j1vbi8qzEiVB5KMqRkbil47syRv0AoSIQTZhbmiGDdZDFcMnYmIEEZdWvTmiaIZ0+7KmJSePnb16rFj0yetvWNdYdGJXxeVDKI6JYS5IueDzSMZUJL5YhEPYIRC8GMG7zuz8/jLL87YsG7dtMLni37ccWrRYAAAiJ7oipgWVt/+J/PBMqM4K0pL8/KOHh1M6ejRvLxSSAB/yAmEY04zWGK4AEM2DXCEUaD3gQIEiIgBDIhgDwnnkBgRiADEQBJEkaJ8gAS4rOgDEoJIjEQMxobiCP1ErUOBSAQQfo6zrwbmmSsWS0gQIPWIvE8iiRiMBsOyYl8NDLSET/pDC5YAbiB4MzB3in0EgKKTxXxIAiaJui95cnQ0JAQhQm8bIHEDRBP6CQMLIhUJBf/CAsCK5Kew/zUA+gcJPasXpxMoagAAAABJRU5ErkJggg==) no-repeat center center;background-size:contain;left:0;top:17.06667rem;z-index:1}._followAccount_p8lxp_1 ._content2_p8lxp_21{padding:.8rem 0}._followAccount_p8lxp_1 ._saveQrcode_p8lxp_24{background:url(./assets/btn.25bca511.png) no-repeat center center;background-size:contain;width:8rem;height:1.33333rem;margin:0 auto;margin-bottom:1.86667rem}._followAccount_p8lxp_1 ._followQrcode_p8lxp_32{position:absolute;top:0;left:0;z-index:-1;background-color:#fff}\n',document.head.appendChild(n),System.register(["./index-legacy.48c8d62c.js","./html2canvas.esm-legacy.19f9c2b7.js","./index-legacy.0e0de364.js"],(function(e){"use strict";var n,r,o,s,a,c,i,u,l,d,g,p;return{setters:[function(e){n=e.d,r=e.r,o=e.$,s=e.k,a=e.c,c=e.be,i=e.bl,u=e.p,l=e.bz,d=e.bA},function(e){g=e.h},function(e){p=e.I}],execute:function(){var v={followAccount:"_followAccount_p8lxp_1",content2:"_content2_p8lxp_21",saveQrcode:"_saveQrcode_p8lxp_24",followQrcode:"_followQrcode_p8lxp_32"};e("default",n({name:"follow-account",setup:function(){var e=r({saveLoading:!1,image:null,shareLoading:!1}),n=function(){var n=t(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.saveLoading){n.next=2;break}return n.abrupt("return");case 2:e.saveLoading=!0,e.image?f():(r=document.getElementById("preview-container"),g(r,{allowTaint:!0,useCORS:!0,backgroundColor:null}).then(function(){var n=t(regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=n.toDataURL("image/png"),e.image=r,f();case 3:case"end":return t.stop()}}),t)})));return function(e){return n.apply(this,arguments)}}()).catch((function(){c(),e.saveLoading=!1})));case 4:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),f=function(){var n=t(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i({message:"图片生成中...",forbidClick:!0}),setTimeout((function(){e.saveLoading=!1}),100),t.next=4,u({api:"savePicture",content:{base64:e.image}});case 4:"success"===(null==(r=t.sent)||null===(n=r.content)||void 0===n?void 0:n.status)?l("保存成功"):d("保存失败");case 6:case"end":return t.stop()}}),t)})));return function(){return n.apply(this,arguments)}}();return o((function(){s({api:"setBarStatus",content:{status:0}})})),function(){return a("div",{class:v.followAccount},[a(p,{src:"./assets/content1.352a4b32.png",class:v.content1},null),a(p,{src:"./assets/content2.f6b3efac.png",class:v.content2},null),a("div",{class:v.saveQrcode,onClick:n},null),a("div",{id:"preview-container",class:v.followQrcode},[a(p,{src:"./assets/qrcode.fa941852.jpg"},null)])])}}}))}}}))}();