testingRoom.js 4.5 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/illness/testingRoom"],{73:function(n,e,t){"use strict";(function(n){t(5);r(t(4));var e=r(t(74));function r(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t(1)["createPage"])},74:function(n,e,t){"use strict";t.r(e);var r=t(75),o=t(77);for(var i in o)"default"!==i&&function(n){t.d(e,n,(function(){return o[n]}))}(i);var u,a=t(11),c=Object(a["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],u);c.options.__file="pages/illness/testingRoom.vue",e["default"]=c.exports},75:function(n,e,t){"use strict";t.r(e);var r=t(76);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},76:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return o})),t.d(e,"staticRenderFns",(function(){return u})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return r}));try{r={uniCard:function(){return t.e("uni_modules/uni-card/components/uni-card/uni-card").then(t.bind(null,124))},uniList:function(){return t.e("uni_modules/uni-list/components/uni-list/uni-list").then(t.bind(null,131))},uniListItem:function(){return t.e("uni_modules/uni-list/components/uni-list-item/uni-list-item").then(t.bind(null,138))},uniLoadMore:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-load-more/components/uni-load-more/uni-load-more")]).then(t.bind(null,156))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var n=this,e=n.$createElement;n._self._c},i=!1,u=[];o._withStripped=!0},77:function(n,e,t){"use strict";t.r(e);var r=t(78),o=t.n(r);for(var i in r)"default"!==i&&function(n){t.d(e,n,(function(){return r[n]}))}(i);e["default"]=o.a},78:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(t(18)),o=i(t(47));function i(n){return n&&n.__esModule?n:{default:n}}function u(n){return l(n)||s(n)||c(n)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(n,e){if(n){if("string"===typeof n)return d(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(n,e):void 0}}function s(n){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}function l(n){if(Array.isArray(n))return d(n)}function d(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function f(n,e,t,r,o,i,u){try{var a=n[i](u),c=a.value}catch(s){return void t(s)}a.done?e(c):Promise.resolve(c).then(r,o)}function m(n){return function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function u(n){f(i,r,o,u,a,"next",n)}function a(n){f(i,r,o,u,a,"throw",n)}u(void 0)}))}}var p={onLoad:function(n){},data:function(){return{dataList:[],more:"more",page:0,size:20}},mounted:function(){var n=this;return m(r.default.mark((function e(){return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.getList();case 2:case"end":return e.stop()}}),e)})))()},methods:{listItemBtn:function(e){n.navigateTo({url:"/pages/details/index?id=".concat(e.id)})},getList:function(){var n=this;return m(r.default.mark((function e(){var t,i;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.page+=1,n.more="loading",e.next=4,o.default.getArticleList({pageNum:n.page,pageSize:n.size,typeName:"hsjc"});case 4:i=e.sent,(t=n.dataList).push.apply(t,u(i.rows)),n.more=n.page>=Math.ceil(i.total/n.size)?"noMore":"more";case 7:case"end":return e.stop()}}),e)})))()}},onReachBottom:function(){"noMore"!=this.more&&(this.more="more",this.getList())}};e.default=p}).call(this,t(1)["default"])}},[[73,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/illness/testingRoom.js.map