王总上门按摩后台代码
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/agent-pages-index.beb4d411.js

1 lines
26 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["agent-pages-index"],{"002b":function(e,t,n){"use strict";n.r(t);var i=n("fb12"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);t["default"]=a.a},"23dd":function(e,t,n){var i=n("cb45");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("4aef6dc9",i,!0,{sourceMap:!1,shadowMode:!1})},"31a1":function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("4626"),n("5ac7"),n("aa9c"),n("fd3c"),n("c223");var a=i(n("2634")),s=i(n("2fdc")),o=i(n("9b1b")),r=n("8f59"),l=i(n("ea26")),c={components:{tabbar:l.default},data:function(){return{isLoad:!1,options:{},detail:{},noticeType:{1:{title:"订单通知",text:"您有新的订单来啦!"},2:{title:"退款通知",text:"您有新的客户退款通知!"},3:{title:"拒单通知",text:"有"+this.$t("action.attendantName")+"拒单, 请尽快处理!"}},shopOrder:[{icon:"icondaifuwu4",text:"待服务",url:"/agent/pages/order/list?tab=1",key:2,number:0},{icon:"iconjishijiedan1",text:this.$t("action.attendantName")+"接单",url:"/agent/pages/order/list?tab=2",key:3,number:0},{icon:"iconjishichufa1",text:this.$t("action.attendantName")+"出发",url:"/agent/pages/order/list?tab=3",key:4,number:0},{icon:"iconjishidaoda1",text:this.$t("action.attendantName")+"到达",url:"/agent/pages/order/list?tab=4",key:5,number:0},{icon:"iconanmo2",text:"服务中",url:"/agent/pages/order/list?tab=5",key:6,number:0},{icon:"iconyiwancheng",text:"已完成",url:"/agent/pages/order/list?tab=6"}],shopBellOrder:[{icon:"https://lbqny.migugu.com/admin/anmo/menu/daifuwu.png",text:"待服务",url:"/agent/pages/order/list?bell=1&tab=1",key:2,number:0},{icon:"https://lbqny.migugu.com/admin/anmo/menu/jiedan.png",text:this.$t("action.attendantName")+"接单",url:"/agent/pages/order/list?bell=1&tab=2",key:3,number:0},{icon:"https://lbqny.migugu.com/admin/anmo/menu/fuwuzhong.png",text:"服务中",url:"/agent/pages/order/list?bell=1&tab=3",key:6,number:0},{icon:"https://lbqny.migugu.com/admin/anmo/menu/wancheng.png",text:"已完成",url:"/agent/pages/order/list?bell=1&tab=4"}],shopRefuseOrder:[{icon:"icondaizhuandan",text:"待转单",url:"/agent/pages/order/list?tab=8",key:8,number:0}],shopRefund:[{icon:"iconshenqingzhong",text:"申请中",url:"/agent/pages/refund/list?tab=1",key:1,number:0},{icon:"icontongyituikuan",text:"同意退款",url:"/agent/pages/refund/list?tab=2",key:2,number:0},{icon:"iconjujuetuikuan",text:"拒绝退款",url:"/agent/pages/refund/list?tab=3",key:3,number:0}],shopBellRefund:[{icon:"https://lbqny.migugu.com/admin/anmo/menu/shenqingzhong.png",text:"申请中",url:"/agent/pages/refund/list?bell=1&tab=1",key:1,number:0},{icon:"https://lbqny.migugu.com/admin/anmo/menu/tongyi.png",text:"同意退款",url:"/agent/pages/refund/list?bell=1&tab=2",key:2,number:0},{icon:"https://lbqny.migugu.com/admin/anmo/menu/jujue.png",text:"拒绝退款",url:"/agent/pages/refund/list?bell=1&tab=3",key:3,number:0}],toolList:[{icon:"iconzhanghaoshezhi",text:"账号设置",url:"/agent/pages/account"},{icon:"iconshenqingjishi3",text:this.$t("action.attendantName")+"管理",url:"/agent/pages/technician/list"},{icon:"iconyongjinxinxi1",text:"佣金信息",url:"/agent/pages/income/commission"},{icon:"icontixianshenqing1",text:"提现申请",url:"/user/pages/distribution/record?type=5"}]}},computed:(0,r.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},commonOptions:function(e){return e.user.commonOptions},userInfo:function(e){return e.user.userInfo},haveOperItem:function(e){return e.technician.haveOperItem}}),onLoad:function(e){var t=e.agent,n=void 0===t?0:t;e.agent=1*n,this.options=e,uni.setNavigationBarTitle({title:1==n?"代理商端":"管理员端"}),this.initIndex()},onShow:function(){this.haveOperItem&&this.initRefresh()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},methods:(0,o.default)((0,o.default)({},(0,r.mapMutations)(["updateTechnicianItem"])),{},{initIndex:function(){var e=arguments,t=this;return(0,s.default)((0,a.default)().mark((function n(){var i,s,o,r,l,c,u,d,f;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=e.length>0&&void 0!==e[0]&&e[0],i||!t.$jweixin.isWechat()){n.next=5;break}return n.next=4,t.$jweixin.initJssdk();case 4:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 5:return t.$util.setNavigationBarColor({bg:t.primaryColor}),t.$util.showLoading(),t.updateTechnicianItem({key:"haveOperItem",val:!1}),s=t.options.agent,o=s?"agent":"admin",n.next=12,t.$api[o].index();case 12:r=n.sent,s&&(r.node=["shopOrder","shopBellOrder","shopRefuseOrder","shopRefund","shopBellRefund"]),l=r.notice,c=l.order_id,u=l.refund_id,d=l.refuse_id,c&&0==c.length&&(c={type:1}),u&&0==u.length&&(u={type:2}),d&&0==d.length&&(d={type:3}),f=[],(r.node.includes("shopOrder")||r.node.includes("shopOrder"))&&f.push(c),(r.node.includes("shopRefund")||r.node.includes("shopBellRefund"))&&f.push(u),r.node.includes("shopRefuseOrder")&&f.push(d),r.notice=f,t.shopOrder.map((function(e){e.key&&(e.number=r.order_count[e.key])})),t.shopBellOrder.map((function(e){e.key&&(e.number=r.add_count[e.key])})),t.shopRefuseOrder.map((function(e){e.key&&(e.number=r.refuse_order[e.key])})),t.shopRefund.map((function(e){e.key&&(e.number=r.refund_count[e.key])})),t.shopBellRefund.map((function(e){e.key&&(e.number=r.add_refund_count[e.key])})),t.detail=r,t.isLoad=!0,t.$util.hideAll();case 32:case"end":return n.stop()}}),n)})))()},initRefresh:function(){this.initIndex(!0)},toJump:function(e,t){var n=this[e][t].url,i=this.options.agent,a=n.includes("?")?"&":"?";n+="".concat(a,"agent=").concat(i),this.$util.goUrl({url:n})},goOrder:function(e){var t=this;return(0,s.default)((0,a.default)().mark((function n(){var i,s,o,r,l,c,u,d,f,m;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=t.detail.notice[e],s=i.id,o=void 0===s?0:s,r=i.order_id,l=void 0===r?0:r,c=i.type,l){n.next=3;break}return n.abrupt("return");case 3:return u=t.options.agent,d=u?"agent":"admin",n.next=7,t.$api[d].noticeUpdate({id:o,have_look:1});case 7:t.initRefresh(),f=2==c?"refund":"order",m="/agent/pages/".concat(f,"/detail?id=").concat(l,"&agent=").concat(u),t.$util.goUrl({url:m});case 11:case"end":return n.stop()}}),n)})))()}})};t.default=c},"5fb0":function(e,t,n){"use strict";var i=n("23dd"),a=n.n(i);a.a},"7d54":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"custom-tabbar fix flex-center fill-base b-1px-t"},e._l(e.configInfo.tabBar,(function(t,i){return n("v-uni-view",{key:i,staticClass:"flex-center flex-column mt-sm",style:{width:100/e.configInfo.tabBar.length+"%",color:e.cur==t.id?e.primaryColor:"#666"},on:{click:function(n){n.stopPropagation(),arguments[0]=n=e.$handleEvent(n),e.changeTab(t)}}},[n("i",{staticClass:"iconfont",class:e.cur==t.id?t.selected_img:t.default_img}),n("v-uni-image",{staticStyle:{width:"45rpx",height:"45rpx"},attrs:{src:e.cur==t.id?t.selected_img:t.default_img}}),n("v-uni-view",{staticClass:"text"},[e._v(e._s(t.name))])],1)})),1)},a=[]},"9ff0":function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.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?%}',""]),e.exports=t},c891:function(e,t,n){var i=n("9ff0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("4bc89a6a",i,!0,{sourceMap:!1,shadowMode:!1})},cb45:function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.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/* 文章场景相关 */.agent-index .mine-count-list[data-v-276d847a]{width:%?710?%;height:%?295?%;margin:%?20?% %?20?% 0 %?20?%}.agent-index .mine-count-list .text[data-v-276d847a]{color:hsla(0,0%,100%,.6)}.agent-index .mine-count-list .cash-out-btn[data-v-276d847a]{width:%?180?%;height:%?70?%}.agent-index .mine-count-list .count-data-list .list-item[data-v-276d847a]{width:50%}.agent-index .dot-unread-number[data-v-276d847a]{top:0;right:0;width:%?24?%;height:%?24?%;line-height:%?24?%;text-align:center;color:#fff;font-size:%?18?%;border-radius:%?24?%;background-color:#f1381f}.agent-index .mine-menu-list[data-v-276d847a]{margin:%?20?% %?20?% 0 %?20?%}.agent-index .mine-menu-list .menu-title[data-v-276d847a]{height:%?90?%;color:#434343}.agent-index .mine-menu-list .menu-title .iconfont[data-v-276d847a]{font-size:%?24?%}.agent-index .mine-menu-list .icon-info[data-v-276d847a]{width:%?80?%;height:%?80?%;background:#fff;box-shadow:0 %?3?% %?31?% %?-2?% rgba(217,224,219,.5);border-radius:%?29?%;margin-right:%?16?%}.agent-index .mine-menu-list .icon-info .iconfont[data-v-276d847a]{font-size:%?48?%}.agent-index .mine-menu-list .share-btn[data-v-276d847a]{width:%?130?%;height:%?52?%;border-radius:%?8?%}.agent-index .mine-menu-list .notice-info .title[data-v-276d847a]{width:%?100?%;height:%?34?%;border-radius:%?4?%}.agent-index .mine-menu-list .notice-info .iconfont[data-v-276d847a]{font-size:%?20?%}.agent-index .mine-menu-list .item-child[data-v-276d847a]{width:25%;margin:%?10?% 0}.agent-index .mine-menu-list .item-child .iconfont[data-v-276d847a]{font-size:%?52?%}.agent-index .mine-menu-list .item-child .item-img[data-v-276d847a]{width:%?60?%;height:%?60?%}.agent-index .mine-menu-list .item-child .item-img .iconfont[data-v-276d847a]{font-size:%?36?%}.agent-index .mine-menu-list .item-child .item-img .item-img[data-v-276d847a]{top:0;left:0;opacity:.1}.agent-index .mine-menu-list .item-child .icon-img[data-v-276d847a]{height:%?32?%}.agent-index .mine-menu-list.share[data-v-276d847a]{padding:%?30?% %?30?% %?30?% %?20?%}',""]),e.exports=t},cd75:function(e,t,n){"use strict";var i=n("c891"),a=n.n(i);a.a},e8a2:function(e,t,n){"use strict";n.r(t);var i=n("31a1"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(s);t["default"]=a.a},e94c:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isLoad?n("v-uni-view",{staticClass:"agent-index"},[e.options.agent?[n("v-uni-view",{staticClass:"mine-count-list c-base pd-lg radius-16",style:{background:e.primaryColor}},[n("v-uni-view",{staticClass:"flex-between"},[n("v-uni-view",[n("v-uni-view",{staticClass:"text flex-center f-caption"},[e._v("可提现(元)")]),n("v-uni-view",{staticClass:"f-sm-title"},[e._v(e._s(e.detail.cash))])],1),n("v-uni-view",{staticClass:"cash-out-btn fill-base flex-center f-desc text-bold radius",style:{color:e.primaryColor},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$util.goUrl({url:"/user/pages/cash-out?type=agent"})}}},[e._v("我要提现")])],1),n("v-uni-view",{staticClass:"count-data-list flex-x-center mt-lg pt-lg b-1px-t"},[n("v-uni-view",{staticClass:"list-item flex-center flex-column"},[n("v-uni-view",{staticClass:"f-sm-title"},[e._v(e._s(e.detail.total_cash))]),n("v-uni-view",{staticClass:"text f-caption c-caption"},[e._v("总金额 (元)")])],1),n("v-uni-view",{staticClass:"list-item flex-center flex-column"},[n("v-uni-view",{staticClass:"f-sm-title"},[e._v(e._s(e.detail.unrecorded_cash))]),n("v-uni-view",{staticClass:"text flex-center f-caption c-caption",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$refs.show_rule_item.open()}}},[e._v("未入账\n\t\t\t\t\t\t(元)"),n("i",{staticClass:"iconfont iconshuyi_shuoming ml-sm"})])],1)],1)],1),n("v-uni-view",{staticClass:"mine-menu-list share flex-center fill-base radius-16",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$util.goUrl({url:"/user/pages/distribution/bind-technician"})}}},[n("v-uni-view",{staticClass:"icon-info flex-center"},[n("i",{staticClass:"iconfont iconjishi1",style:{color:e.primaryColor}})]),n("v-uni-view",{staticClass:"flex-1"},[n("v-uni-view",{staticClass:"f-mini-title c-title text-bold"},[e._v("绑定"+e._s(e.$t("action.attendantName")))]),n("v-uni-view",{staticClass:"f-desc c-caption mt-sm ellipsis"},[e._v("整合自己的"+e._s(e.$t("action.attendantName"))+"资源,获取分润")])],1),n("v-uni-view",{staticClass:"share-btn flex-center f-desc c-base text-bold",style:{background:e.primaryColor}},[e._v("邀请Ta")])],1),e.detail.salesman_auth?n("v-uni-view",{staticClass:"mine-menu-list share flex-center fill-base radius-16",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$util.goUrl({url:"/agent/pages/poster/salesman"})}}},[n("v-uni-view",{staticClass:"icon-info flex-center"},[n("i",{staticClass:"iconfont iconbangdingyewuyuan",style:{color:e.primaryColor}})]),n("v-uni-view",{staticClass:"flex-1"},[n("v-uni-view",{staticClass:"f-mini-title c-title text-bold"},[e._v("绑定业务员")]),n("v-uni-view",{staticClass:"f-desc c-caption mt-sm ellipsis"},[e._v("招揽人才,为自己拓宽渠道")])],1),n("v-uni-view",{staticClass:"share-btn flex-center f-desc c-base text-bold",style:{background:e.primaryColor}},[e._v("邀请Ta")])],1):e._e(),e.detail.channel_auth?n("v-uni-view",{staticClass:"mine-menu-list share flex-center fill-base radius-16",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$util.goUrl({url:"/agent/pages/poster/channel"})}}},[n("v-uni-view",{staticClass:"icon-info flex-center"},[n("i",{staticClass:"iconfont iconbangdingqudaoshang",style:{color:e.primaryColor}})]),n("v-uni-view",{staticClass:"flex-1"},[n("v-uni-view",{staticClass:"f-mini-title c-title text-bold"},[e._v("绑定渠道商")]),n("v-uni-view",{staticClass:"f-desc c-caption mt-sm ellipsis"},[e._v("直招渠道,获利更多")])],1),n("v-uni-view",{staticClass:"share-btn flex-center f-desc c-base text-bold",style:{background:e.primaryColor}},[e._v("邀请Ta")])],1):e._e()]:e._e(),n("v-uni-view",{staticClass:"mine-menu-list fill-base radius-16"},[n("v-uni-view",{staticClass:"menu-title flex-between pl-lg pr-sm"},[n("v-uni-view",{staticClass:"f-paragraph c-title text-bold"},[e._v("智能助手")])],1),e._l(e.detail.notice,(function(t,i){return n("v-uni-view",{key:i,staticClass:"notice-info flex-center pl-lg pr-md pb-lg",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.goOrder(i)}}},[n("v-uni-view",{staticClass:"title flex-center f-icontext c-base mr-md",style:{background:1==t.type?e.primaryColor:2==t.type?"#FFA229":"#E82F21"}},[e._v(e._s(e.noticeType[t.type].title))]),n("v-uni-view",{staticClass:"flex-1 flex-between f-desc"},[n("v-uni-view",{staticClass:"c-title"},[e._v(e._s(t.id?e.noticeType[t.type].text:"暂无数据"))]),t.id?n("v-uni-view",{staticClass:"flex-y-center c-caption"},[e._v("点击查看"),n("i",{staticClass:"iconfont icon-right"})]):e._e()],1)],1)}))],2),e.detail.node.includes("shopOrder")?n("v-uni-view",{staticClass:"mine-menu-list box-shadow fill-base radius-16"},[n("v-uni-view",{staticClass:"menu-title flex-between pl-lg pr-sm"},[n("v-uni-view",{staticClass:"f-paragraph c-title text-bold"},[e._v("订单管理")])],1),n("v-uni-view",{staticClass:"flex-warp pb-lg"},e._l(e.shopOrder,(function(t,i){return n("v-uni-view",{key:i,staticClass:"item-child flex-center flex-column f-caption c-title",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toJump("shopOrder",i)}}},[n("v-uni-view",{staticClass:"item-img rel flex-center radius"},[t.number>0?n("v-uni-view",{staticClass:"abs dot-unread-number flex-center",style:{width:t.number>99?"44rpx":t.number>9?"34rpx":"",right:t.number>99?"-32rpx":t.number>9?"-22rpx":"-12rpx"}},[e._v(e._s(t.number<100?t.number:"99+"))]):e._e(),n("v-uni-view",{staticClass:"item-img radius abs",style:{background:e.primaryColor}}),n("i",{staticClass:"iconfont c-title",class:t.icon,style:{color:e.primaryColor}})],1),n("v-uni-view",{staticClass:"mt-sm"},[e._v(e._s(t.text))])],1)})),1)],1):e._e(),e.detail.node.includes("shopBellOrder")?n("v-uni-view",{staticClass:"mine-menu-list box-shadow fill-base radius-16"},[n("v-uni-view",{staticClass:"menu-title flex-between pl-lg pr-sm"},[n("v-uni-view",{staticClass:"f-paragraph c-title text-bold"},[e._v("加钟管理")])],1),n("v-uni-view",{staticClass:"flex-warp pb-lg"},e._l(e.shopBellOrder,(function(t,i){return n("v-uni-view",{key:i,staticClass:"item-child flex-center flex-column f-caption c-title",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toJump("shopBellOrder",i)}}},[n("v-uni-view",{staticClass:"item-img rel flex-center radius"},[t.number>0?n("v-uni-view",{staticClass:"abs dot-unread-number flex-center",style:{width:t.number>99?"44rpx":t.number>9?"34rpx":"",right:t.number>99?"-32rpx":t.number>9?"-22rpx":"-12rpx"}},[e._v(e._s(t.number<100?t.number:"99+"))]):e._e(),n("v-uni-view",{staticClass:"item-img radius abs",style:{background:e.primaryColor}}),n("v-uni-image",{staticClass:"icon-img",attrs:{mode:"heightFix",src:t.icon}})],1),n("v-uni-view",{staticClass:"mt-sm"},[e._v(e._s(t.text))])],1)})),1)],1):e._e(),e.detail.node.includes("shopRefuseOrder")?n("v-uni-view",{staticClass:"mine-menu-list box-shadow fill-base radius-16"},[n("v-uni-view",{staticClass:"menu-title flex-between pl-lg pr-sm"},[n("v-uni-view",{staticClass:"f-paragraph c-title text-bold"},[e._v("拒单管理")])],1),n("v-uni-view",{staticClass:"flex-warp pb-lg"},e._l(e.shopRefuseOrder,(function(t,i){return n("v-uni-view",{key:i,staticClass:"item-child flex-center flex-column f-caption c-title",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toJump("shopRefuseOrder",i)}}},[n("v-uni-view",{staticClass:"item-img rel flex-center radius"},[t.number>0?n("v-uni-view",{staticClass:"abs dot-unread-number flex-center",style:{width:t.number>99?"44rpx":t.number>9?"34rpx":"",right:t.number>99?"-32rpx":t.number>9?"-22rpx":"-12rpx"}},[e._v(e._s(t.number<100?t.number:"99+"))]):e._e(),n("v-uni-view",{staticClass:"item-img radius abs",style:{background:e.primaryColor}}),n("i",{staticClass:"iconfont c-title",class:t.icon,style:{color:e.primaryColor}})],1),n("v-uni-view",{staticClass:"mt-sm"},[e._v(e._s(t.text))])],1)})),1)],1):e._e(),e.detail.node.includes("shopRefund")?n("v-uni-view",{staticClass:"mine-menu-list box-shadow fill-base radius-16"},[n("v-uni-view",{staticClass:"menu-title flex-between pl-lg pr-sm"},[n("v-uni-view",{staticClass:"f-paragraph c-title text-bold"},[e._v("服务退款")])],1),n("v-uni-view",{staticClass:"flex-warp pb-lg"},e._l(e.shopRefund,(function(t,i){return n("v-uni-view",{key:i,staticClass:"item-child flex-center flex-column f-caption c-title",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toJump("shopRefund",i)}}},[n("v-uni-view",{staticClass:"item-img rel flex-center radius"},[t.number>0?n("v-uni-view",{staticClass:"abs dot-unread-number flex-center",style:{width:t.number>99?"44rpx":t.number>9?"34rpx":"",right:t.number>99?"-32rpx":t.number>9?"-22rpx":"-12rpx"}},[e._v(e._s(t.number<100?t.number:"99+"))]):e._e(),n("v-uni-view",{staticClass:"item-img radius abs",style:{background:e.primaryColor}}),n("i",{staticClass:"iconfont c-title",class:t.icon,style:{color:e.primaryColor}})],1),n("v-uni-view",{staticClass:"mt-sm"},[e._v(e._s(t.text))])],1)})),1)],1):e._e(),e.detail.node.includes("shopBellRefund")?n("v-uni-view",{staticClass:"mine-menu-list box-shadow fill-base radius-16"},[n("v-uni-view",{staticClass:"menu-title flex-between pl-lg pr-sm"},[n("v-uni-view",{staticClass:"f-paragraph c-title text-bold"},[e._v("加钟退款")])],1),n("v-uni-view",{staticClass:"flex-warp pb-lg"},e._l(e.shopBellRefund,(function(t,i){return n("v-uni-view",{key:i,staticClass:"item-child flex-center flex-column f-caption c-title",on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toJump("shopBellRefund",i)}}},[n("v-uni-view",{staticClass:"item-img rel flex-center radius"},[t.number>0?n("v-uni-view",{staticClass:"abs dot-unread-number flex-center",style:{width:t.number>99?"44rpx":t.number>9?"34rpx":"",right:t.number>99?"-32rpx":t.number>9?"-22rpx":"-12rpx"}},[e._v(e._s(t.number<100?t.number:"99+"))]):e._e(),n("v-uni-view",{staticClass:"item-img radius abs",style:{background:e.primaryColor}}),n("v-uni-image",{staticClass:"icon-img",attrs:{mode:"heightFix",src:t.icon}})],1),n("v-uni-view",{staticClass:"mt-sm"},[e._v(e._s(t.text))])],1)})),1)],1):e._e(),e.options.agent?n("v-uni-view",{staticClass:"mine-menu-list fill-base radius-16"},[n("v-uni-view",{staticClass:"menu-title flex-between pl-lg pr-sm"},[n("v-uni-view",{staticClass:"f-paragraph c-title text-bold"},[e._v("其他功能")])],1),n("v-uni-view",{staticClass:"flex-warp pb-sm"},e._l(e.toolList,(function(t,i){return n("v-uni-view",{key:i,staticClass:"item-child flex-center flex-column f-caption c-title",staticStyle:{width:"25%",margin:"10rpx 0 20rpx 0"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.toJump("toolList",i)}}},[n("i",{staticClass:"iconfont c-title",class:t.icon,style:{color:e.primaryColor}}),n("v-uni-view",{staticClass:"mt-sm"},[e._v(e._s(t.text))])],1)})),1)],1):e._e(),n("v-uni-view",{staticClass:"space-footer"}),n("uni-popup",{ref:"show_rule_item",attrs:{type:"center",maskClick:!1}},[n("v-uni-view",{staticClass:"common-popup-content fill-base pd-lg radius-34"},[n("v-uni-view",{staticClass:"title"},[e._v("未入账")]),n("v-uni-view",{staticClass:"f-desc c-title mt-lg"},[e._v("平台未到账的服务订单金额")]),n("v-uni-view",{staticClass:"button"},[n("v-uni-view",{staticClass:"item-child c-base",style:{background:e.primaryColor,color:"#fff"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$refs.show_rule_item.close()}}},[e._v("知道了")])],1)],1)],1)],2):e._e()},a=[]},ea26:function(e,t,n){"use strict";n.r(t);var i=n("7d54"),a=n("002b");for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);n("cd75");var o=n("828b"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"5f3efd3c",null,!1,i["a"],void 0);t["default"]=r.exports},fa84:function(e,t,n){"use strict";n.r(t);var i=n("e94c"),a=n("e8a2");for(var s in a)["default"].indexOf(s)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(s);n("5fb0");var o=n("828b"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"276d847a",null,!1,i["a"],void 0);t["default"]=r.exports},fb12:function(e,t,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("9b1b")),s=i(n("2634")),o=i(n("2fdc"));n("64aa"),n("5c47"),n("8f71"),n("bf0f");var r=n("8f59"),l={components:{},props:{cur:{type:Number,default:function(){return 0}}},data:function(){return{}},computed:(0,r.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor},configInfo:function(e){return e.config.configInfo},commonOptions:function(e){return e.user.commonOptions},userPageType:function(e){return e.user.userPageType},activeIndex:function(e){return e.order.activeIndex}}),mounted:function(){var e=this;return(0,o.default)((0,s.default)().mark((function t(){var n,i,a;return(0,s.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:n=e,i=uni.getSystemInfoSync().windowHeight,a=n.configInfo.navBarHeight,setTimeout((function(){var t=uni.createSelectorQuery().in(n);t.select(".custom-tabbar").boundingClientRect((function(t){var s=i-t.height-a,o=n.$util.deepCopy(e.configInfo);o.curSysHeight=s,o.tabbarHeight=t.height,n.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,r.mapActions)(["getConfigInfo"])),(0,r.mapMutations)(["updateConfigItem"])),{},{changeTab:function(e){var t=this;return(0,o.default)((0,s.default)().mark((function n(){var i,a,o,r,l,c,u;return(0,s.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.id){n.next=5;break}return n.next=3,t.getConfigInfo();case 3:i=t.configInfo.tabBar.filter((function(t){return t.name==e.name})),e=i[0];case 5:if(a=e,o=a.id,r=t.activeIndex,l=t.cur,c=t.userPageType,u={1:"/pages/service",2:"/pages/technician",3:"/pages/dynamic",4:"/pages/order?tab=".concat(r),5:"/pages/mine?type=".concat(c),6:"/pages/shopstore",7:"/pages/map"},o!=l){n.next=10;break}return n.abrupt("return");case 10:t.$util.goUrl({url:u[o],openType:"reLaunch"});case 11:case"end":return n.stop()}}),n)})))()}})};t.default=l}}]);