You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
2.8 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["dynamic/pages/technician/thumbs"],{"105d":function(t,n,e){"use strict";var a=e("3b2e"),i=e.n(a);i.a},"1ad1":function(t,n,e){"use strict";(function(t){var a=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(e("7eb4")),r=a(e("ee10")),o=e("8f59"),u={data:function(){return{loading:!0,param:{page:1},list:{data:[]}}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo}}),onLoad:function(){this.$util.setNavigationBarColor({bg:this.primaryColor}),this.initIndex()},onPullDownRefresh:function(){t.showNavigationBarLoading(),this.initRefresh(),t.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:{initIndex:function(){var t=arguments,n=this;return(0,r.default)(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.length>0&&void 0!==t[0]&&t[0],n.getList();case 2:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,r.default)(i.default.mark((function n(){var e,a,r;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.$util.showLoading(),e=t.list,a=t.param,n.next=4,t.$api.dynamic.thumbsList(a);case 4:r=n.sent,1==t.param.page||(r.data=e.data.concat(r.data)),t.list=r,t.loading=!1,t.$util.hideAll();case 8:case"end":return n.stop()}}),n)})))()}}};n.default=u}).call(this,e("df3c")["default"])},"337b":function(t,n,e){"use strict";e.r(n);var a=e("fb4e"),i=e("5db8");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("105d");var o=e("828b"),u=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=u.exports},"3b2e":function(t,n,e){},"5db8":function(t,n,e){"use strict";e.r(n);var a=e("1ad1"),i=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=i.a},"9f9e":function(t,n,e){"use strict";(function(t,n){var a=e("47a9");e("7043");a(e("3240"));var i=a(e("337b"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},fb4e:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,e=(t._self._c,t.loading?t.list.current_page>=t.list.last_page&&t.list.data.length>0:null),a=!t.loading&&t.list.data.length<=0&&1==t.list.current_page;t.$mp.data=Object.assign({},{$root:{g0:e,g1:a}})},i=[]}},[["9f9e","common/runtime","common/vendor"]]]);