(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/integral_mall/goods/goods"],{1205:function(e,n,o){"use strict";o.r(n);var t=o("b6dc"),r=o("a31b");for(var a in r)"default"!==a&&function(e){o.d(n,e,(function(){return r[e]}))}(a);o("d6ae");var i,c=o("f0c5"),l=Object(c["a"])(r["default"],t["b"],t["c"],!1,null,"4af112ae",null,!1,t["a"],i);n["default"]=l.exports},"660b":function(e,n,o){},a31b:function(e,n,o){"use strict";o.r(n);var t=o("eede"),r=o.n(t);for(var a in t)"default"!==a&&function(e){o.d(n,e,(function(){return t[e]}))}(a);n["default"]=r.a},b6dc:function(e,n,o){"use strict";var t,r=function(){var e=this,n=e.$createElement;e._self._c},a=[];o.d(n,"b",(function(){return r})),o.d(n,"c",(function(){return a})),o.d(n,"a",(function(){return t}))},d6ae:function(e,n,o){"use strict";var t=o("660b"),r=o.n(t);r.a},eede:function(e,n,o){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t=o("2f62");function r(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),o.push.apply(o,t)}return o}function a(e){for(var n=1;n-1||e.model.indexOf("iPhone 11")>-1||e.model.indexOf("iPhone11")>-1||e.model.indexOf("iPhone12")>-1||e.model.indexOf("Unknown Device")>-1)&&(o.iphone_x=!0)}})},onShareAppMessage:function(){return this.$shareAppMessage({title:this.goods.app_share_title?this.goods.app_share_title:this.goods.name,imageUrl:this.goods.app_share_pic?this.goods.app_share_pic:this.goods.cover_pic,path:"/plugins/integral_mall/goods/goods",params:{goods_id:this.goods.id}})},methods:{loadData:function(n){var o=this;this.$showLoading(),this.$request({url:this.$api.integral_mall.goods_detail,data:{id:n}}).then((function(t){o.$hideLoading();var r=t.code,a=t.data,i=t.msg;0===r?(o.goods=a.detail,o.shareUrl=o.$api.integral_mall.poster+"&goods_id="+n,o.goods.id=n,o.loading=!0):e.showModal({title:"提示",content:i,showCancel:!1})})).catch((function(){o.$hideLoading()}))},onAttr:function(e){this.selectAttr=e},shareClick:function(){this.shareShow=!0},back:function(){e.redirectTo({url:"/pages/index/index"})},clickAttr:function(){this.attrShow=Math.random()}}};n.default=g}).call(this,o("543d")["default"])},f131:function(e,n,o){"use strict";(function(e){o("8748");t(o("66fd"));var n=t(o("1205"));function t(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,o("543d")["createPage"])}},[["f131","common/runtime","common/vendor"]]]);