require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_tool/help/detail"],{3525:function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("1dee");n(i("3240"));var a=n(i("695d"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(a.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"61c7":function(t,e,i){},"695d":function(t,e,i){"use strict";i.r(e);var n=i("81b5"),a=i("d948");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("f125");var l=i("828b"),r=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports},"81b5":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loadingCover:function(){return i.e("components/loading-cover/loading-cover").then(i.bind(null,"0773"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.$util.timeStampTurnTime(this.detail.create_time));this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]},b044:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("e5ac")),o={data:function(){return{id:0,detail:{},content:""}},onLoad:function(t){if(this.id=t.id||0,t.scene){var e=decodeURIComponent(t.scene);this.id=e.split("-")[1]}0==this.id&&this.$util.redirectTo("/pages_tool/help/list",{},"redirectTo")},onShow:function(){this.getData()},methods:{getData:function(){var t=this;this.$api.sendRequest({url:"/api/help/info",data:{id:this.id},success:function(e){0==e.code&&e.data?(t.detail=e.data,t.$langConfig.title(t.detail.title),t.content=(0,a.default)(e.data.content),t.setPublicShare()):(t.$util.showToast({title:e.message}),setTimeout((function(){t.$util.redirectTo("/pages_tool/help/list",{},"redirectTo")}),2e3)),t.$refs.loadingCover&&t.$refs.loadingCover.hide()},fail:function(e){t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},setPublicShare:function(){var t=this.$config.h5Domain+"/pages_tool/help/detail?id="+this.id;this.$util.setPublicShare({title:this.detail.title,desc:"",link:t,imgUrl:this.siteInfo?this.$util.img(this.siteInfo.logo_square):""})}},onShareAppMessage:function(t){var e=this.detail.title,i="/pages_tool/help/detail?id="+this.id;return{title:e,path:i,success:function(t){},fail:function(t){}}},onShareTimeline:function(){var t=this.detail.title,e="id="+this.id;return{title:t,query:e,imageUrl:""}}};e.default=o},d948:function(t,e,i){"use strict";i.r(e);var n=i("b044"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},f125:function(t,e,i){"use strict";var n=i("61c7"),a=i.n(n);a.a}},[["3525","common/runtime","common/vendor"]]]);