1 |
- !function(){function e(e,n,t,r,o,a,c){try{var s=e[a](c),i=s.value}catch(u){return void t(u)}s.done?n(i):Promise.resolve(i).then(r,o)}function n(n){return function(){var t=this,r=arguments;return new Promise((function(o,a){var c=n.apply(t,r);function s(n){e(c,o,a,s,i,"next",n)}function i(n){e(c,o,a,s,i,"throw",n)}s(void 0)}))}}var t=document.createElement("style");t.innerHTML='._btnHeader_ruvwe_1{display:flex;align-items:center;height:var(--van-nav-bar-height)}._btnHeader_ruvwe_1 ._iconBack_ruvwe_6{position:relative;padding-left:var(--van-padding-md);font-size:.53333rem;color:#fff;z-index:9}._followAccount_ruvwe_13{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_ruvwe_13: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/i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center center;background-size:contain;left:0;top:17.06667rem;z-index:1}._followAccount_ruvwe_13 ._content2_ruvwe_33{padding:.8rem 0}._followAccount_ruvwe_13 ._saveQrcode_ruvwe_36{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_ruvwe_13 ._followQrcode_ruvwe_44{position:absolute;top:0;left:0;z-index:-1;background-color:#fff}\n',document.head.appendChild(t),System.register(["./index-legacy.90c82f08.js","./html2canvas.esm-legacy.19f9c2b7.js","./index-legacy.eb4bc59e.js"],(function(e){"use strict";var t,r,o,a,c,s,i,u,l,d,v,g,f,p,b,m;return{setters:[function(e){t=e.d,r=e.ag,o=e.r,a=e.c,c=e.aj,s=e.a5,i=e.F,u=e.bf,l=e.bq,d=e.p,v=e.bD,g=e.bE,f=e.f,p=e.e},function(e){b=e.h},function(e){m=e.I}],execute:function(){var w={btnHeader:"_btnHeader_ruvwe_1",iconBack:"_iconBack_ruvwe_6",followAccount:"_followAccount_ruvwe_13",content2:"_content2_ruvwe_33",saveQrcode:"_saveQrcode_ruvwe_36",followQrcode:"_followQrcode_ruvwe_44"};e("default",t({name:"follow-account",setup:function(){var e=r(),t=o({saveLoading:!1,image:null,shareLoading:!1}),A=function(){var e=n(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.saveLoading){e.next=2;break}return e.abrupt("return");case 2:t.saveLoading=!0,t.image?h():(r=document.getElementById("preview-container"),b(r,{allowTaint:!0,useCORS:!0,backgroundColor:null}).then(function(){var e=n(regeneratorRuntime.mark((function e(n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.toDataURL("image/png"),t.image=r,h();case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()).catch((function(){u(),t.saveLoading=!1})));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=function(){var e=n(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l({message:"图片生成中...",forbidClick:!0}),setTimeout((function(){t.saveLoading=!1}),100),e.next=4,d({api:"savePicture",content:{base64:t.image}});case 4:"success"===(null==(r=e.sent)||null===(n=r.content)||void 0===n?void 0:n.status)?v("保存成功"):g("保存失败");case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),D=function(){f().isApp?p({api:"goBack"}):e.back()};return function(){return a(i,null,[a("div",{class:w.followAccount},[a(c,{background:"transparent",style:"position: fixed; width: 100%;z-index: 999;top: 0;left: 0;"},{content:function(){return a("div",{class:w.btnHeader,onClick:D},[a(s,{name:"arrow-left",class:w.iconBack},null)])}}),a(m,{src:"./assets/content1.352a4b32.png",class:w.content1},null),a(m,{src:"./assets/content2.f6b3efac.png",class:w.content2},null),a("div",{class:w.saveQrcode,onClick:A},null),a("div",{id:"preview-container",class:w.followQrcode},[a(m,{src:"./assets/qrcode.fa941852.jpg"},null)])])])}}}))}}}))}();
|