index.js 4.1 KB

12
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/worktable/index"],{160:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(161));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},161:function(e,n,t){"use strict";t.r(n);var o=t(162),r=t(164);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t(166);var u,c=t(32),s=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"0a12c437",null,!1,o["components"],u);s.options.__file="pages/worktable/index.vue",n["default"]=s.exports},162:function(e,n,t){"use strict";t.r(n);var o=t(163);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},163:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return u})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return o}));try{o={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,245))},uTransition:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-transition/u-transition")]).then(t.bind(null,253))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,263))},uRow:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-row/u-row")]).then(t.bind(null,272))},uCol:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-col/u-col")]).then(t.bind(null,280))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.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,n=e.$createElement;e._self._c},i=!1,u=[];r._withStripped=!0},164:function(e,n,t){"use strict";t.r(n);var o=t(165),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},165:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(){Promise.all([t.e("common/vendor"),t.e("pages/worktable/goods")]).then(function(){return resolve(t(288))}.bind(null,t)).catch(t.oe)},r=function(){Promise.all([t.e("common/vendor"),t.e("pages/worktable/statistics")]).then(function(){return resolve(t(296))}.bind(null,t)).catch(t.oe)},i={components:{goods:o,statistics:r},data:function(){return{bottom:0,topSearch:!1}},onPageScroll:function(n){var t=this,o=e.createSelectorQuery().in(this);o.select(".searchBox").boundingClientRect((function(e){e.bottom<=t.bottom?t.topSearch=!0:t.topSearch=!1})).exec()},onLoad:function(){var e=this;Promise.all([this.getHeightA(),this.getHeightB()]).then((function(n){console.log(n),e.$store.commit("setGoodsHeight",n[1]-n[0])}))},onReady:function(){},methods:{getHeightA:function(){var n=this;return new Promise((function(t){var o=e.createSelectorQuery().in(n);o.select(".u-nav-left").boundingClientRect((function(e){n.bottom=e.bottom,t(e.bottom)})).exec()}))},getHeightB:function(){var n=this;return new Promise((function(t){var o=e.createSelectorQuery().in(n.$refs.statistics);o.select(".statistics").boundingClientRect((function(e){t(e.top)})).exec()}))}}};n.default=i}).call(this,t(2)["default"])},166:function(e,n,t){"use strict";t.r(n);var o=t(167),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},167:function(e,n,t){}},[[160,"common/runtime","common/vendor"]]]);
  2. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/worktable/index.js.map