require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_index/testDetails"],{201:function(t,e,n){"use strict";(function(t,e){var i=n(4);n(26);i(n(25));var r=i(n(202));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n(1)["default"],n(2)["createPage"])},202:function(t,e,n){"use strict";n.r(e);var i=n(203),r=n(205);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n(208);var a,u=n(34),s=Object(u["default"])(r["default"],i["render"],i["staticRenderFns"],!1,null,null,null,!1,i["components"],a);s.options.__file="pages_index/testDetails.vue",e["default"]=s.exports},203:function(t,e,n){"use strict";n.r(e);var i=n(204);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},204:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return r})),n.d(e,"staticRenderFns",(function(){return a})),n.d(e,"recyclableRender",(function(){return o})),n.d(e,"components",(function(){return i}));var r=function(){var t=this,e=t.$createElement;t._self._c},o=!1,a=[];r._withStripped=!0},205:function(t,e,n){"use strict";n.r(e);var i=n(206),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},206:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(207),r={data:function(){return{tempId:null,item:{}}},onLoad:function(t){this.tempId=t.tempId},onShow:function(){this.getTestDetails()},computed:{imgPath:function(){return this.$store.state.imgpath}},onShareAppMessage:function(t){if(this.$isLogin())return{title:"健康自测",path:"/pages_index/testDetails?tempId="+this.tempId,imageUrl:this.$store.state.imgpath+"/app/image/logoshare.png"}},onShareTimeline:function(t){if(this.utils.isLogin())return{title:"健康自测",imageUrl:this.$store.state.imgpath+"/app/image/logoshare.png"}},methods:{navTo:function(e){this.$isLogin().then((function(n){console.log(n),n?t.navigateTo({url:e}):t.navigateTo({url:"/pages/auth/login"})}))},getTestDetails:function(){var e=this,n={tempId:this.tempId};(0,i.getTestDetails)(n).then((function(n){200==n.code?(e.item=n.data,t.setNavigationBarTitle({title:e.item.name+"自测"})):t.showToast({icon:"none",title:"请求失败"})}),(function(t){}))}}};e.default=r}).call(this,n(2)["default"])},208:function(t,e,n){"use strict";n.r(e);var i=n(209),r=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=r.a},209:function(t,e,n){}},[[201,"common/runtime","common/vendor","pages_index/common/vendor"]]]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/pages_index/testDetails.js.map