healthTest.js 3.6 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/healthTest/healthTest"],{209:function(e,t,n){"use strict";(function(e,t){var o=n(4);n(26);o(n(25));var r=o(n(210));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n(1)["default"],n(2)["createPage"])},210:function(e,t,n){"use strict";n.r(t);var o=n(211),r=n(213);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n(217);var a,s=n(34),c=Object(s["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);c.options.__file="pages/healthTest/healthTest.vue",t["default"]=c.exports},211:function(e,t,n){"use strict";n.r(t);var o=n(212);n.d(t,"render",(function(){return o["render"]})),n.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(t,"components",(function(){return o["components"]}))},212:function(e,t,n){"use strict";var o;n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return a})),n.d(t,"recyclableRender",(function(){return i})),n.d(t,"components",(function(){return o}));try{o={mescrollBody:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/mescroll-uni/components/mescroll-body/mescroll-body")]).then(n.bind(null,522))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,t=e.$createElement;e._self._c},i=!1,a=[];r._withStripped=!0},213:function(e,t,n){"use strict";n.r(t);var o=n(214),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},214:function(e,t,n){"use strict";(function(e){var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(215),i=o(n(216)),a={mixins:[i.default],data:function(){return{mescroll:null,downOption:{use:!0,auto:!1},upOption:{onScroll:!1,use:!0,page:{pae:0,size:10},noMoreSize:10,textNoMore:"已经到底了",empty:{icon:this.$store.state.imgpath+"/app/commonCourse/null-data.png",tip:"暂无数据"}},dataList:[]}},onShow:function(){},onShareAppMessage:function(e){if(this.$isLogin())return{title:"健康自测",path:"/pages_index/testList",imageUrl:this.$store.state.imgpath+"/app/image/logoshare.png"}},onShareTimeline:function(e){if(this.utils.isLogin())return{title:"健康自测",imageUrl:this.$store.state.imgpath+"/app/image/logoshare.png"}},computed:{imgPath:function(){return this.$store.state.imgpath}},methods:{mescrollInit:function(e){this.mescroll=e},downCallback:function(e){e.resetUpScroll()},upCallback:function(t){var n=this,o={pageNum:t.num,pageSize:t.size};(0,r.getTestList)(o).then((function(o){200==o.code?(1==t.num?n.dataList=o.data.list:n.dataList=n.dataList.concat(o.data.list),n.mescroll.endBySize(o.data.list.length,o.data.total)):(e.showToast({icon:"none",title:"请求失败"}),n.dataList=null,n.mescroll.endErr())}))},showDetail:function(t){e.navigateTo({url:"/pages_index/testDetails?tempId="+t.tempId})}}};t.default=a}).call(this,n(2)["default"])},217:function(e,t,n){"use strict";n.r(t);var o=n(218),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},218:function(e,t,n){}},[[209,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/healthTest/healthTest.js.map