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.
 
 
 
 
xxdj1/unpackage/dist/build/h5/static/js/technician-pages-income-int...

1 lines
9.4 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["technician-pages-income-integral"],{"0fbd":function(t,n,e){"use strict";e.r(n);var a=e("12df"),i=e("fac1");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("b826");var o=e("f0c5"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"63ae908c",null,!1,a["a"],void 0);n["default"]=s.exports},"12df":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||n;return e("v-uni-view",{staticClass:"custom-tabbar fix flex-center fill-base b-1px-t"},t._l(t.configInfo.tabBar,(function(n,a){return e("v-uni-view",{key:a,staticClass:"flex-center flex-column mt-sm",style:{width:100/t.configInfo.tabBar.length+"%",color:t.cur==a?t.primaryColor:"#666"},on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.changeTab(a)}}},[e("i",{staticClass:"iconfont",class:t.cur==a?n.selected_img:n.default_img}),e("v-uni-view",{staticClass:"text"},[t._v(t._s(n.name))])],1)})),1)},i=[]},"4bf5":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||n;return e("v-uni-view",{staticClass:"master-income-record"},[t._l(6,(function(n,a){return e("v-uni-view",{key:a,staticClass:"list-item mt-md ml-lg mr-lg pd-lg fill-base radius-16",class:[{"b-1px-t":0!=a}]},[e("v-uni-view",{staticClass:"flex-between f-title c-title"},[e("v-uni-view",[t._v("服务完成")]),e("v-uni-view",{class:[{"c-success":0==a},{"c-warning":0!=a}]},[t._v(t._s(2==n.status?"+":"-")+"1分")])],1),e("v-uni-view",{staticClass:"flex-between f-caption c-caption"},[e("v-uni-view",[t._v("2021-03-22 20:15")]),e("v-uni-view",[t._v("剩余积分:340分")])],1)],1)})),t.loading?e("load-more",{attrs:{noMore:t.list.current_page>=t.list.last_page&&t.list.data.length>0,loading:t.loading}}):t._e(),!t.loading&&t.list.data.length<=0&&1==t.list.current_page?e("abnor"):t._e(),e("v-uni-view",{staticClass:"space-footer"})],2)},i=[]},"4cda":function(t,n,e){var a=e("6b9b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("4f06").default;i("3122872b",a,!0,{sourceMap:!1,shadowMode:!1})},6438:function(t,n,e){"use strict";e.r(n);var a=e("c38b"),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},6901:function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(e("5530"));e("a9e3"),e("e9c4"),e("ac1f");var r=e("26cb"),o={components:{},props:{cur:{type:Number||String,default:function(){return"0"}}},data:function(){return{}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},commonOptions:function(t){return t.user.commonOptions},activeIndex:function(t){return t.order.activeIndex}}),mounted:function(){var t=this,n=uni.getSystemInfoSync().windowHeight,e=JSON.parse(JSON.stringify(this.configInfo)),a=e.navBarHeight,i=uni.createSelectorQuery().in(this);i.select(".custom-tabbar").boundingClientRect((function(i){var r=n-i.height-a;e.curSysHeight=r,e.tabbarHeight=i.height,t.updateConfigItem({key:"configInfo",val:e})})).exec()},methods:(0,i.default)((0,i.default)({},(0,r.mapMutations)(["updateConfigItem"])),{},{changeTab:function(t){var n=this.activeIndex,e={0:"/pages/service",1:"/pages/technician",2:"/pages/order?tab=".concat(n),3:"/pages/mine"};t!=this.cur&&this.$util.goUrl({url:e[t],openType:"reLaunch"})}})};n.default=o},"6b9b":function(t,n,e){var a=e("24fb");n=a(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */',""]),t.exports=n},"789a":function(t,n,e){"use strict";var a=e("4cda"),i=e.n(a);i.a},7993:function(t,n,e){var a=e("24fb");n=a(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.custom-tabbar[data-v-63ae908c]{height:%?98?%;bottom:0;height:calc(%?98?% + env(safe-area-inset-bottom) / 2);padding-bottom:calc(env(safe-area-inset-bottom) / 2)}.custom-tabbar .iconfont[data-v-63ae908c]{font-size:%?40?%}.custom-tabbar .text[data-v-63ae908c]{font-size:%?22?%;margin-top:%?5?%;height:%?32?%}',""]),t.exports=n},b826:function(t,n,e){"use strict";var a=e("face"),i=e.n(a);i.a},c38b:function(t,n,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("99af");var i=a(e("5530")),r=a(e("c7eb")),o=a(e("1da1")),s=e("26cb"),c=a(e("0fbd")),u={components:{tabbar:c.default},data:function(){return{color:"#ffffff",activeIndex:0,tabList:[{title:"全部",id:0},{title:"未到账",id:1},{title:"已到账",id:2}],statusType:{1:"未到账",2:"已到账",3:"已拒绝"},detail:{},param:{page:1},list:{data:[]},loading:!0}},computed:(0,s.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor}}),onLoad:function(){var t=this;return(0,o.default)((0,r.default)().mark((function n(){return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.detail=t.$util.getPage(-1).detail,n.next=3,t.initIndex();case 3:case"end":return n.stop()}}),n)})))()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.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:(0,i.default)((0,i.default)({},(0,s.mapMutations)([])),{},{initIndex:function(){var t=arguments,n=this;return(0,o.default)((0,r.default)().mark((function e(){var a;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.length>0&&void 0!==t[0]&&t[0],a||!n.$jweixin.isWechat()){e.next=5;break}return e.next=4,n.$jweixin.initJssdk();case 4:n.$jweixin.wxReady((function(){n.$jweixin.hideOptionMenu()}));case 5:return e.next=7,n.getList();case 7:n.$util.setNavigationBarColor({bg:n.primaryColor});case 8:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,o.default)((0,r.default)().mark((function n(){var e,a,i,o,s,c;return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e=t.list,a=t.param,i=t.activeIndex,o=t.tabList,s=o[i].id,a.status=s,n.next=5,t.$api.master.capCashList(a);case 5:c=n.sent,1==t.param.page||(c.data=e.data.concat(c.data)),t.list=c,t.loading=!1,t.$util.hideAll();case 9:case"end":return n.stop()}}),n)})))()},handerTabChange:function(t){this.activeIndex=t,this.$util.showLoading(),this.param.page=1,this.getList()},toCopy:function(t){var n=this.list.data[t].order_code;this.$util.goUrl({url:n,openType:"copy"})}})};n.default=u},fac1:function(t,n,e){"use strict";e.r(n);var a=e("6901"),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},face:function(t,n,e){var a=e("7993");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("4f06").default;i("203d86c0",a,!0,{sourceMap:!1,shadowMode:!1})},fb42:function(t,n,e){"use strict";e.r(n);var a=e("4bf5"),i=e("6438");for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("789a");var o=e("f0c5"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"3e43869c",null,!1,a["a"],void 0);n["default"]=s.exports}}]);