(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/pt/detail/detail"],{"18fe":function(t,e,n){"use strict";n.r(e);var i=n("5006"),o=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},"2f70":function(t,e,n){"use strict";n.r(e);var i=n("94e7"),o=n("18fe");for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("ed5c");var a,c=n("f0c5"),u=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"6c0be097",null,!1,i["a"],a);e["default"]=u.exports},5006:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("2f62");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){n.e("plugins/pt/components/app-detail-top").then(function(){return resolve(n("94e2"))}.bind(null,n)).catch(n.oe)},u=function(){n.e("plugins/pt/components/app-group-avatar-short").then(function(){return resolve(n("3370"))}.bind(null,n)).catch(n.oe)},s=function(){n.e("plugins/pt/components/app-product-list").then(function(){return resolve(n("c508"))}.bind(null,n)).catch(n.oe)},p={name:"detail",data:function(){return{detail:null,url:"",list:[],id:null,poster_config:this.$api.pt.poster_config,poster_generate:this.$api.pt.poster_generate}},onLoad:function(t){this.id=t.id,this.request(t.id)},onShow:function(){this.$store.dispatch("gConfig/setTabBarBoolean",this.tabBarNavs.navs)},computed:r({},(0,i.mapGetters)("mallConfig",{tabBarNavs:"getNavBar",getTheme:"getTheme"})),onShareAppMessage:function(){return this.$shareAppMessage({path:"/plugins/pt/detail/detail",title:this.detail.app_share_title?this.detail.app_share_title:this.detail.name,imageUrl:this.detail.app_share_pic?this.detail.app_share_pic:"",params:{id:this.id}})},methods:{attrTap:function(t){this.selectAttr=null!==t?t:{}},request:function(t){var e=this;this.$request({url:this.$api.pt.pt_detail,data:{id:t}}).then((function(n){0===n.code&&(e.detail=n.data.detail,e.url="".concat(e.$api.pt.order_poster,"&pintuan_group_id=").concat(t,"&goods_id=").concat(e.detail.goods_id),e.poster_config="".concat(e.poster_config,"&pintuan_group_id=").concat(t,"&goods_id=").concat(e.detail.goods_id),e.poster_generate="".concat(e.poster_generate,"&pintuan_group_id=").concat(t,"&goods_id=").concat(e.detail.goods_id))})).catch((function(){})),this.$request({url:this.$api.pt.goods}).then((function(t){0===t.code&&(e.list=t.data.list)}))},route:function(){t.navigateTo({url:"/pages/rules/index?url=".concat(encodeURIComponent(this.$api.pt.index),"&keys=").concat(JSON.stringify(["setting","new_rules"]))})}},components:{"app-detail-top":c,"app-group-short":u,"app-product-list":s}};e.default=p}).call(this,n("543d")["default"])},5603:function(t,e,n){},"94e7":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c},r=[]},e169:function(t,e,n){"use strict";(function(t){n("b8bc");i(n("66fd"));var e=i(n("2f70"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},ed5c:function(t,e,n){"use strict";var i=n("5603"),o=n.n(i);o.a}},[["e169","common/runtime","common/vendor"]]]);