(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/goods/app-goods-preview-poster"],{"3ca1":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",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){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(){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"])},6111:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var u=function(){var t=this,e=t.$createElement;t._self._c},i=[]},8992:function(t,e,n){"use strict";n.r(e);var a=n("3ca1"),u=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=u.a},"908b":function(t,e,n){"use strict";n.r(e);var a=n("6111"),u=n("8992");for(var i in u)"default"!==i&&function(t){n.d(e,t,(function(){return u[t]}))}(i);n("f5a9");var o,r=n("f0c5"),c=Object(r["a"])(u["default"],a["b"],a["c"],!1,null,"a4aa2cfc",null,!1,a["a"],o);e["default"]=c.exports},"93fa":function(t,e,n){},f5a9:function(t,e,n){"use strict";var a=n("93fa"),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__("908b"))
        })
    },
    [['components/page-component/goods/app-goods-preview-poster-create-component']]
]);
