(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/goods/app-goods-preview-poster"],{8245:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},9369:function(t,e,n){"use strict";n.r(e);var a=n("cdac"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"948c":function(t,e,n){"use strict";n.r(e);var a=n("8245"),i=n("9369");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("cfce");var u,r=n("f0c5"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"a60a15f2",null,!1,a["a"],u);e["default"]=c.exports},cdac: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.showHidden=this.value},watch:{value:function(t){this.showHidden=t},showHidden:function(t){t&&this.getShareImg()}},data:function(){return{showHidden:!1,loading:!0,shareImage:""}},methods:{showHiddenClick:function(){this.$emit("close",!1)},savePicture:function(){this.loading||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"])},cfce:function(t,e,n){"use strict";var a=n("f4bd"),i=n.n(a);i.a},f4bd:function(t,e,n){}}]);
;(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__("948c"))
        })
    },
    [['components/page-component/goods/app-goods-preview-poster-create-component']]
]);
