(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/goods/app-goods-preview-poster"],{"32be":function(e,t,n){},"53f1":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"app-goods-preview-poster",components:{},props:{value:{type:Boolean,default:function(){return!1}},url:{type:String,default:function(){return""}},disabled:{type:Boolean,default:function(){return!1}}},created:function(){this.value=this.value+""},watch:{value:function(e,t){e&&this.getShareImg()}},data:function(){return{showHidden:this.value,loading:!0,shareImage:""}},methods:{showHiddenClick:function(){this.$emit("close",!1)},savePicture:function(){this.$utils.batchSave(this.shareImage,"image").then((function(t){e.showToast({title:"保存成功"})}))},getShareImg:function(){var t=this;this.url&&(this.loading=!0,this.$request({url:this.url}).then((function(n){0===n.code?(t.shareImage=n.data.pic_url,t.loading=!1):e.showModal({content:n.msg,showCancel:!1})})))},preview:function(){e.previewImage({urls:[this.shareImage]})}}};t.default=n}).call(this,n("543d")["default"])},"88e3":function(e,t,n){"use strict";n.r(t);var a=n("53f1"),u=n.n(a);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=u.a},a4c2:function(e,t,n){"use strict";var a;n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var u=function(){var e=this,t=e.$createElement;e._self._c},o=[]},b691:function(e,t,n){"use strict";n.r(t);var a=n("a4c2"),u=n("88e3");for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);n("d83e");var i,r=n("f0c5"),c=Object(r["a"])(u["default"],a["b"],a["c"],!1,null,"7bddbfde",null,!1,a["a"],i);t["default"]=c.exports},d83e:function(e,t,n){"use strict";var a=n("32be"),u=n.n(a);u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/goods/app-goods-preview-poster-create-component',
    {
        'components/page-component/goods/app-goods-preview-poster-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("b691"))
        })
    },
    [['components/page-component/goods/app-goods-preview-poster-create-component']]
]);
