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
10 KiB
1 lines
10 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["technician-pages-income-index"],{"0fbd":function(n,t,e){"use strict";e.r(t);var i=e("12df"),a=e("fac1");for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);e("b826");var o=e("f0c5"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"63ae908c",null,!1,i["a"],void 0);t["default"]=r.exports},"12df":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticClass:"custom-tabbar fix flex-center fill-base b-1px-t"},n._l(n.configInfo.tabBar,(function(t,i){return e("v-uni-view",{key:i,staticClass:"flex-center flex-column mt-sm",style:{width:100/n.configInfo.tabBar.length+"%",color:n.cur==i?n.primaryColor:"#666"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=n.$handleEvent(t),n.changeTab(i)}}},[e("i",{staticClass:"iconfont",class:n.cur==i?t.selected_img:t.default_img}),e("v-uni-view",{staticClass:"text"},[n._v(n._s(t.name))])],1)})),1)},a=[]},"37a2":function(n,t,e){"use strict";e.r(t);var i=e("78a0"),a=e.n(i);for(var c in i)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(c);t["default"]=a.a},6401:function(n,t,e){"use strict";e.r(t);var i=e("c8f8"),a=e("37a2");for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);e("80e3");var o=e("f0c5"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"3f67391a",null,!1,i["a"],void 0);t["default"]=r.exports},6901:function(n,t,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("5530"));e("a9e3"),e("e9c4"),e("ac1f");var c=e("26cb"),o={components:{},props:{cur:{type:Number||String,default:function(){return"0"}}},data:function(){return{}},computed:(0,c.mapState)({primaryColor:function(n){return n.config.configInfo.primaryColor},subColor:function(n){return n.config.configInfo.subColor},configInfo:function(n){return n.config.configInfo},commonOptions:function(n){return n.user.commonOptions},activeIndex:function(n){return n.order.activeIndex}}),mounted:function(){var n=this,t=uni.getSystemInfoSync().windowHeight,e=JSON.parse(JSON.stringify(this.configInfo)),i=e.navBarHeight,a=uni.createSelectorQuery().in(this);a.select(".custom-tabbar").boundingClientRect((function(a){var c=t-a.height-i;e.curSysHeight=c,e.tabbarHeight=a.height,n.updateConfigItem({key:"configInfo",val:e})})).exec()},methods:(0,a.default)((0,a.default)({},(0,c.mapMutations)(["updateConfigItem"])),{},{changeTab:function(n){var t=this.activeIndex,e={0:"/pages/service",1:"/pages/technician",2:"/pages/order?tab=".concat(t),3:"/pages/mine"};n!=this.cur&&this.$util.goUrl({url:e[n],openType:"reLaunch"})}})};t.default=o},"77e8":function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.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/* 文章场景相关 */.technician-income-index .mine-menu-list .money-info[data-v-3f67391a]{font-size:%?50?%}.technician-income-index .mine-menu-list .money-info .money[data-v-3f67391a]{font-size:%?70?%}.technician-income-index .mine-menu-list .cash-out-btn[data-v-3f67391a]{width:%?169?%;height:%?56?%;margin:0 auto}.technician-income-index .mine-menu-list .menu-title[data-v-3f67391a]{height:%?90?%}.technician-income-index .mine-menu-list .menu-title .iconfont[data-v-3f67391a]{font-size:%?24?%}.technician-income-index .mine-menu-list .item-child[data-v-3f67391a]{width:25%;margin:%?10?% 0}.technician-income-index .mine-menu-list .item-child .iconfont[data-v-3f67391a]{font-size:%?46?%}.technician-income-index .money-count .item-child[data-v-3f67391a]{width:50%}',""]),n.exports=t},"78a0":function(n,t,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("c7eb")),c=i(e("1da1")),o=i(e("5530")),r=e("26cb"),s=i(e("0fbd")),u={components:{tabbar:s.default},data:function(){return{detail:{},isLoad:!1}},computed:(0,r.mapState)({primaryColor:function(n){return n.config.configInfo.primaryColor},subColor:function(n){return n.config.configInfo.subColor},configInfo:function(n){return n.config.configInfo},commonOptions:function(n){return n.user.commonOptions},userInfo:function(n){return n.user.userInfo}}),onLoad:function(){this.initIndex()},onUnload:function(){this.$util.back()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},methods:(0,o.default)((0,o.default)({},(0,r.mapMutations)([])),{},{initIndex:function(){var n=arguments,t=this;return(0,c.default)((0,a.default)().mark((function e(){var i;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=n.length>0&&void 0!==n[0]&&n[0],i||!t.$jweixin.isWechat()){e.next=5;break}return e.next=4,t.$jweixin.initJssdk();case 4:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 5:return t.$util.showLoading(),e.next=8,t.$api.technician.capCashInfo();case 8:t.detail=e.sent,t.$util.setNavigationBarColor({bg:t.primaryColor}),t.isLoad=!0,t.$util.hideAll();case 12:case"end":return e.stop()}}),e)})))()},initRefresh:function(){this.initIndex(!0)}})};t.default=u},7993:function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.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?%}',""]),n.exports=t},"80e3":function(n,t,e){"use strict";var i=e("afc2"),a=e.n(i);a.a},afc2:function(n,t,e){var i=e("77e8");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("4f06").default;a("1f0aea1e",i,!0,{sourceMap:!1,shadowMode:!1})},b826:function(n,t,e){"use strict";var i=e("face"),a=e.n(i);a.a},c8f8:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,e=n._self._c||t;return n.isLoad?e("v-uni-view",{staticClass:"technician-income-index"},[e("v-uni-view",{staticClass:"mine-menu-list c-base",style:{background:n.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=n.$handleEvent(t),n.$util.goUrl({url:"/user/pages/cash-out?type=technician"})}}},[e("v-uni-view",{staticClass:"space-lg"}),e("v-uni-view",{staticClass:"space-lg"}),e("v-uni-view",{staticClass:"flex-center f-caption mt-sm"},[n._v("可提现金额(元)")]),e("v-uni-view",{staticClass:"money-info flex-center flex-y-baseline mt-sm mb-sm"},[n._v("¥"),e("v-uni-view",{staticClass:"money"},[n._v(n._s(n.detail.cap_cash))])],1),e("v-uni-view",{staticClass:"flex-center pt-md pb-md f-caption",style:{color:"#D5A3AE"}},[n._v("每月提现不限次数")]),e("v-uni-view",{staticClass:"cash-out-btn flex-center fill-base f-paragraph radius",style:{color:n.primaryColor}},[n._v("提现")]),e("v-uni-view",{staticClass:"space-lg"}),e("v-uni-view",{staticClass:"space-lg"})],1),e("v-uni-view",{staticClass:"money-count fill-base flex-center pt-md pb-md"},[e("v-uni-view",{staticClass:"item-child flex-center flex-column"},[e("v-uni-view",{staticClass:"flex-y-baseline f-md-title mb-sm"},[n._v(n._s(n.detail.extract_total_price))]),e("v-uni-view",{staticClass:"f-caption c-caption"},[n._v("总收入(元)")])],1),e("v-uni-view",{staticClass:"item-child flex-center flex-column b-1px-l"},[e("v-uni-view",{staticClass:"flex-y-baseline f-md-title mb-sm"},[n._v(n._s(n.detail.no_received))]),e("v-uni-view",{staticClass:"f-caption c-caption"},[n._v("未入账(元)")])],1)],1),e("v-uni-view",{staticClass:"flex-between mt-md pt-lg pb-lg pl-lg pr-md fill-base",on:{click:function(t){t.stopPropagation(),arguments[0]=t=n.$handleEvent(t),n.$util.goUrl({url:"/technician/pages/income/record"})}}},[e("v-uni-view",{staticClass:"f-title c-title"},[n._v("提现记录")]),e("v-uni-view",{staticClass:"flex-y-center f-paragraph c-title"},[1*n.detail.extract_ing_price>0?e("v-uni-view",{staticClass:"c-warning"},[n._v("提现中 "+n._s(n.detail.extract_ing_price)+"元")]):n._e(),e("i",{staticClass:"iconfont icon-right ml-sm"})],1)],1),e("v-uni-view",{staticClass:"space-footer"})],1):n._e()},a=[]},fac1:function(n,t,e){"use strict";e.r(t);var i=e("6901"),a=e.n(i);for(var c in i)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(c);t["default"]=a.a},face:function(n,t,e){var i=e("7993");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("4f06").default;a("203d86c0",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |