|
|
|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{209:function(e,t,n){"use strict";(function(e,t){var r=n(4);n(26);r(n(25));var o=r(n(210));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n(1)["default"],n(2)["createPage"])},210:function(e,t,n){"use strict";n.r(t);var r=n(211),o=n(213);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n(216);var u,i=n(35),s=Object(i["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,"57280228",null,!1,r["components"],u);s.options.__file="pages/index/index.vue",t["default"]=s.exports},211:function(e,t,n){"use strict";n.r(t);var r=n(212);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},212:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return o})),n.d(t,"staticRenderFns",(function(){return u})),n.d(t,"recyclableRender",(function(){return a})),n.d(t,"components",(function(){return r}));try{r={uIcon:function(){return n.e("uview-ui/components/u-icon/u-icon").then(n.bind(null,250))},uLoadmore:function(){return n.e("uview-ui/components/u-loadmore/u-loadmore").then(n.bind(null,257))},uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,264))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.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 e=this,t=e.$createElement,n=(e._self._c,e.list.length),r=n>0?0===e.list.length&&1===e.select.page:null;e.$mp.data=Object.assign({},{$root:{g0:n,g1:r}})},a=!1,u=[];o._withStripped=!0},213:function(e,t,n){"use strict";n.r(t);var r=n(214),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},214:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(30)),a=r(n(18)),u=r(n(32)),i=n(215),s={data:function(){return{today:"",statusBarHeight:40,statusList:[],last_page:1,select:{page:1,page_size:5},list:[],loadStatus:"loadmore"}},onShow:function(){this.list=[],this.getOrderList()},onLoad:function(){this.statusList=i.statusList,this.today=this.$moment(new Date).format("YYYY-MM-DD"),this.statusBarHeight=e.getMenuButtonBoundingClientRect().top},methods:{toUrl:function(t){e.navigateTo({url:"/package_sub/order/orderDetail?type=index&id="+t})},getOrderList:function(){var e=this;return(0,u.default)(o.default.mark((function t(){var n,r;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$u.api.order({page:1,page_size:5});case 2:r=t.sent,e.last_page=r.last_page,e.loadStatus=e.select.page>=e.last_page?"nomore":"loadmore",(n=e.list).push.apply(n,(0,a.default)(r.data));case 6:case"end":return t.stop()}}),t)})))()},reachBottom:function(){this.select.page>this.last_page?this.loadStatus="nomore":(this.loadStatus="loading",this.select.page++,this.getOrderList())},callTel:function(t){this.base.isNull(t)||e.makePhoneCall({phoneNumber:t})}}};t.default=s}).call(this,n(2)["default"])},216:function(e,t,n){"use strict";n.r(t);var r=n(217),o=n.n(r);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},217:function(e,t,n){}},[[209,"common/runtime","common/vendor"]]]);
|