(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tab/host"],{1412:function(t,n,o){"use strict";o.r(n);var e=o("a580"),u=o.n(e);for(var i in e)"default"!==i&&function(t){o.d(n,t,(function(){return e[t]}))}(i);n["default"]=u.a},2560:function(t,n,o){"use strict";o.d(n,"b",(function(){return u})),o.d(n,"c",(function(){return i})),o.d(n,"a",(function(){return e}));var e={uButton:function(){return o.e("uview-ui/components/u-button/u-button").then(o.bind(null,"f63f"))},uIcon:function(){return o.e("uview-ui/components/u-icon/u-icon").then(o.bind(null,"a077"))}},u=function(){var t=this,n=t.$createElement;t._self._c},i=[]},"72b8":function(t,n,o){"use strict";var e=o("c255"),u=o.n(e);u.a},a580:function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{progress:0,images:""}},methods:{saveImageToPhotosAlbum:function(){var n=this;n.progress=0,t.showToast({title:"开始下载!",icon:"loading",duration:1e3}),t.downloadFile({url:"https://mp.xiaowo6.cn/watermark/f.jpg",success:function(n){200===n.statusCode&&(t.hideToast({}),t.saveImageToPhotosAlbum({filePath:n.tempFilePath,success:function(n){t.showModal({title:"下载成功",content:"请在系统相册中查看!",confirmColor:"#ff9900",showCancel:!1,success:function(t){}})}}))},fail:function(o){t.hideToast({}),t.showModal({title:"下载失败",content:o.message,confirmColor:"#ff9900",showCancel:!1,success:function(t){n.setData({})}})}}).onProgressUpdate((function(o){"1"===n.progress?t.showToast({title:String(o.progress)+"%",icon:"loading",duration:8e4}):t.showToast({title:"下载中...",icon:"loading",duration:8e4})}))}}};n.default=o}).call(this,o("543d")["default"])},c255:function(t,n,o){},e5d6:function(t,n,o){"use strict";o.r(n);var e=o("2560"),u=o("1412");for(var i in u)"default"!==i&&function(t){o.d(n,t,(function(){return u[t]}))}(i);o("72b8");var a,s=o("f0c5"),c=Object(s["a"])(u["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],a);n["default"]=c.exports}}]); ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'pages/tab/host-create-component', { 'pages/tab/host-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('543d')['createComponent'](__webpack_require__("e5d6")) }) }, [['pages/tab/host-create-component']] ]);