You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1.9 KiB
1 lines
1.9 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/myQR/myQR"],{"2d97":function(t,n,e){},"3b4c":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{tis:"保存到相册",showBtn:!1}},onLoad:function(){},methods:{printscreen:function(){this.tis="正在保存";var n=this.$mp.page.$getAppWebview(),e=new plus.nativeObj.Bitmap;this.showBtn=!1,this.$nextTick((function(){var c=this;setTimeout((function(){n.draw(e,(function(n){c.showBtn=!0,console.log("bitmap绘制图片成功"),console.log("e: "+JSON.stringify(n)),e.save("_doc/Qr.jpg",{overwrite:!0,quality:100},(function(n){plus.gallery.save(n.target,(function(n){t.showToast({title:"保存成功"}),c.tis="保存到相册",e.clear()}),(function(t){e.clear()}))}),(function(t){console.log("保存图片失败:"+JSON.stringify(t))}))}),(function(t){console.log("bitmap绘制图片失败:"+JSON.stringify(t))}))}),200)}))}}};n.default=e}).call(this,e("543d")["default"])},bd40:function(t,n,e){"use strict";var c=e("2d97"),i=e.n(c);i.a},cc12:function(t,n,e){"use strict";e.r(n);var c=e("cf8e"),i=e("ce6d");for(var o in i)"default"!==o&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("bd40");var u,a=e("f0c5"),r=Object(a["a"])(i["default"],c["b"],c["c"],!1,null,null,null,!1,c["a"],u);n["default"]=r.exports},ce6d:function(t,n,e){"use strict";e.r(n);var c=e("3b4c"),i=e.n(c);for(var o in c)"default"!==o&&function(t){e.d(n,t,(function(){return c[t]}))}(o);n["default"]=i.a},cf8e:function(t,n,e){"use strict";var c;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return c}));var i=function(){var t=this,n=t.$createElement;t._self._c},o=[]},fa09:function(t,n,e){"use strict";(function(t){e("eba6");c(e("66fd"));var n=c(e("cc12"));function c(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])}},[["fa09","common/runtime","common/vendor"]]]); |