王总上门按摩后台代码
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.
 
 
 
 
 
shangmenanmo/public/h6/static/js/technician-pages-income-ind...

1 lines
11 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["technician-pages-income-index"],{"002b":function(n,t,e){"use strict";e.r(t);var i=e("fb12"),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},"2bf5":function(n,t,e){"use strict";e.r(t);var i=e("99d2"),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},5236:function(n,t,e){var i=e("c59d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("967d").default;a("d1bee678",i,!0,{sourceMap:!1,shadowMode:!1})},"7d54":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==t.id?n.primaryColor:"#666"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=n.$handleEvent(e),n.changeTab(t)}}},[e("i",{staticClass:"iconfont",class:n.cur==t.id?t.selected_img:t.default_img}),e("v-uni-image",{staticStyle:{width:"45rpx",height:"45rpx"},attrs:{src:n.cur==t.id?t.selected_img:t.default_img}}),e("v-uni-view",{staticClass:"text"},[n._v(n._s(t.name))])],1)})),1)},a=[]},"890c":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 c-base-rgba"},[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:"/user/pages/distribution/record?type=2"})}}},[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=[]},"99d2":function(n,t,e){"use strict";e("6a54");var i=e("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("2634")),c=i(e("2fdc")),o=i(e("9b1b")),s=e("8f59"),r=i(e("ea26")),u={components:{tabbar:r.default},data:function(){return{detail:{},isLoad:!1}},computed:(0,s.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,s.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},"9b7a":function(n,t,e){"use strict";e.r(t);var i=e("890c"),a=e("2bf5");for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);e("da87");var o=e("828b"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"e72d8d66",null,!1,i["a"],void 0);t["default"]=s.exports},"9ff0":function(n,t,e){var i=e("c86c");t=i(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.custom-tabbar[data-v-5f3efd3c]{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-5f3efd3c]{font-size:%?40?%}.custom-tabbar .text[data-v-5f3efd3c]{font-size:%?22?%;margin-top:%?5?%;height:%?32?%}',""]),n.exports=t},c59d:function(n,t,e){var i=e("c86c");t=i(!1),t.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.technician-income-index .mine-menu-list .money-info[data-v-e72d8d66]{font-size:%?50?%}.technician-income-index .mine-menu-list .money-info .money[data-v-e72d8d66]{font-size:%?70?%}.technician-income-index .mine-menu-list .cash-out-btn[data-v-e72d8d66]{width:%?169?%;height:%?56?%;margin:0 auto}.technician-income-index .mine-menu-list .menu-title[data-v-e72d8d66]{height:%?90?%}.technician-income-index .mine-menu-list .menu-title .iconfont[data-v-e72d8d66]{font-size:%?24?%}.technician-income-index .mine-menu-list .item-child[data-v-e72d8d66]{width:25%;margin:%?10?% 0}.technician-income-index .mine-menu-list .item-child .iconfont[data-v-e72d8d66]{font-size:%?46?%}.technician-income-index .money-count .item-child[data-v-e72d8d66]{width:50%}',""]),n.exports=t},c891:function(n,t,e){var i=e("9ff0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("967d").default;a("4bc89a6a",i,!0,{sourceMap:!1,shadowMode:!1})},cd75:function(n,t,e){"use strict";var i=e("c891"),a=e.n(i);a.a},da87:function(n,t,e){"use strict";var i=e("5236"),a=e.n(i);a.a},ea26:function(n,t,e){"use strict";e.r(t);var i=e("7d54"),a=e("002b");for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);e("cd75");var o=e("828b"),s=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"5f3efd3c",null,!1,i["a"],void 0);t["default"]=s.exports},fb12:function(n,t,e){"use strict";e("6a54");var i=e("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("9b1b")),c=i(e("2634")),o=i(e("2fdc"));e("64aa"),e("5c47"),e("8f71"),e("bf0f");var s=e("8f59"),r={components:{},props:{cur:{type:Number,default:function(){return 0}}},data:function(){return{}},computed:(0,s.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},userPageType:function(n){return n.user.userPageType},activeIndex:function(n){return n.order.activeIndex}}),mounted:function(){var n=this;return(0,o.default)((0,c.default)().mark((function t(){var e,i,a;return(0,c.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e=n,i=uni.getSystemInfoSync().windowHeight,a=e.configInfo.navBarHeight,setTimeout((function(){var t=uni.createSelectorQuery().in(e);t.select(".custom-tabbar").boundingClientRect((function(t){var c=i-t.height-a,o=e.$util.deepCopy(n.configInfo);o.curSysHeight=c,o.tabbarHeight=t.height,e.updateConfigItem({key:"configInfo",val:o})})).exec()}),600);case 4:case"end":return t.stop()}}),t)})))()},methods:(0,a.default)((0,a.default)((0,a.default)({},(0,s.mapActions)(["getConfigInfo"])),(0,s.mapMutations)(["updateConfigItem"])),{},{changeTab:function(n){var t=this;return(0,o.default)((0,c.default)().mark((function e(){var i,a,o,s,r,u,f;return(0,c.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n.id){e.next=5;break}return e.next=3,t.getConfigInfo();case 3:i=t.configInfo.tabBar.filter((function(t){return t.name==n.name})),n=i[0];case 5:if(a=n,o=a.id,s=t.activeIndex,r=t.cur,u=t.userPageType,f={1:"/pages/service",2:"/pages/technician",3:"/pages/dynamic",4:"/pages/order?tab=".concat(s),5:"/pages/mine?type=".concat(u),6:"/pages/shopstore",7:"/pages/map"},o!=r){e.next=10;break}return e.abrupt("return");case 10:t.$util.goUrl({url:f[o],openType:"reLaunch"});case 11:case"end":return e.stop()}}),e)})))()}})};t.default=r}}]);