(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/pt/detail/detail"],{"2f72":function(t,e,n){"use strict";(function(t){n("2d0a");a(n("66fd"));var e=a(n("73a1"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"70d6":function(t,e,n){},"73a1":function(t,e,n){"use strict";n.r(e);var a=n("f617"),i=n("f3af");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("fc80");var r,c=n("f0c5"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"4c533ce2",null,!1,a["a"],r);e["default"]=s.exports},a692:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("2f62");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function r(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("dcac"))}.bind(null,n)).catch(n.oe)},s=function(){n.e("plugins/pt/components/app-group-avatar-short").then(function(){return resolve(n("49bc"))}.bind(null,n)).catch(n.oe)},u=function(){n.e("plugins/pt/components/app-product-list").then(function(){return resolve(n("d8c8"))}.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.$commonLoad.onload(t),this.id=t.id,this.request(t.id)},onShow:function(){this.$store.dispatch("gConfig/setTabBarBoolean",this.tabBarNavs.navs)},computed:o({},(0,a.mapGetters)("mallConfig",{tabBarNavs:"getNavBar",getTheme:"getTheme"})),onShareAppMessage:function(){return this.hShareAppMessage()},methods:{hShareAppMessage:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];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}},t)},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)}))},router: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":s,"app-product-list":u}};e.default=p}).call(this,n("543d")["default"])},f3af:function(t,e,n){"use strict";n.r(e);var a=n("a692"),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},f617: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=[]},fc80:function(t,e,n){"use strict";var a=n("70d6"),i=n.n(a);i.a}},[["2f72","common/runtime","common/vendor"]]]);