(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/goods/app-goods-preview-poster"],{"156a":function(t,e,n){"use strict";n.r(e);var a=n("3219"),i=n.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=i.a},3219:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.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(t,e){t&&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(e){t.showToast({title:"保存成功"})}))},getShareImg:function(){var e=this;this.url&&(this.loading=!0,this.$request({url:this.url}).then((function(n){0===n.code?(e.shareImage=n.data.pic_url,e.loading=!1):t.showModal({content:n.msg,showCancel:!1})})))},preview:function(){t.previewImage({urls:[this.shareImage]})}}};e.default=n}).call(this,n("543d")["default"])},"58a3":function(t,e,n){},ad26:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},u=[]},bd66:function(t,e,n){"use strict";var a=n("58a3"),i=n.n(a);i.a},e982:function(t,e,n){"use strict";n.r(e);var a=n("ad26"),i=n("156a");for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("bd66");var o,r=n("f0c5"),s=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"3886b944",null,!1,a["a"],o);e["default"]=s.exports}}]);
;(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__("e982"))
        })
    },
    [['components/page-component/goods/app-goods-preview-poster-create-component']]
]);
