王总上门按摩后台代码
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/user-pages-distribution-tea...

1 lines
6.0 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-distribution-team"],{"280f":function(t,e,i){var a=i("dd99");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("38ffd491",a,!0,{sourceMap:!1,shadowMode:!1})},"47d5":function(t,e,i){"use strict";i.r(e);var a=i("4bf1"),n=i.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"4bf1":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var n=a(i("2634")),s=a(i("2fdc")),r=a(i("9b1b")),o=i("8f59"),d={components:{},data:function(){return{options:{},tabList:[{id:1,title:"邀请的"+this.$t("action.attendantName"),methodModel:"partnerCoachList"},{id:2,title:"邀请的用户",methodModel:"myTeam"}],activeIndex:0,param:{page:1},list:{data:[]},loading:!0,lockTap:!1}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){this.options=t,this.initIndex()},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,r.default)((0,r.default)({},(0,o.mapMutations)([""])),{},{initIndex:function(){var t=arguments,e=this;return(0,s.default)((0,n.default)().mark((function i(){var a;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=t.length>0&&void 0!==t[0]&&t[0],a||!e.$jweixin.isWechat()){i.next=5;break}return i.next=4,e.$jweixin.initJssdk();case 4:e.$jweixin.wxReady((function(){e.$jweixin.hideOptionMenu()}));case 5:return e.$util.setNavigationBarColor({bg:e.primaryColor}),i.next=8,e.getList();case 8:case"end":return i.stop()}}),i)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},handerTabChange:function(t){this.activeIndex=t,this.param.status=t,this.list.data=[],this.getList()},getList:function(){var t=this;return(0,s.default)((0,n.default)().mark((function e(){var i,a,s,r,o,d;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.list,a=t.param,s=t.tabList,r=t.activeIndex,o=s[r].methodModel,e.next=4,t.$api.mine[o](a);case 4:d=e.sent,1==t.param.page||(d.data=i.data.concat(d.data)),t.list=d,t.loading=!1,t.$util.hideAll();case 8:case"end":return e.stop()}}),e)})))()}})};e.default=d},"7dd7":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"user-distribution-team"},[i("fixed",[i("tab",{attrs:{list:t.tabList,activeIndex:1*t.activeIndex,activeColor:t.primaryColor,width:"50%",height:"100rpx",color:"#999999"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handerTabChange.apply(void 0,arguments)}}})],1),t._l(t.list.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"list-item flex-center fill-base mt-md ml-md mr-md pd-lg radius-16"},[i("v-uni-image",{staticClass:"avatar radius",attrs:{mode:"aspectFill",src:0==t.activeIndex?e.work_img:e.avatarUrl}}),i("v-uni-view",{staticClass:"flex-1 ml-md"},[0==t.activeIndex?[i("v-uni-view",{staticClass:"f-title c-black text-bold ellipsis"},[t._v(t._s(e.coach_name))]),i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"text flex-y-center f-desc"},[t._v("已接单"),i("v-uni-view",{staticClass:"ml-sm",style:{color:t.primaryColor}},[t._v(t._s(e.order_count))])],1),i("v-uni-view",{staticClass:"flex-y-baseline f-desc c-black"},[t._v(t._s(e.city))])],1),i("v-uni-view",{staticClass:"f-desc c-caption mt-md"},[t._v("所属代理商:"+t._s(e.admin_name||"-"))])]:t._e(),1==t.activeIndex?i("v-uni-view",{staticClass:"f-title c-black text-bold max-500 ellipsis"},[t._v(t._s(e.nickName))]):t._e()],2)],1)})),t.loading?i("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?i("abnor"):t._e(),i("v-uni-view",{staticClass:"space-footer"})],2)},n=[]},dd99:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.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/* 文章场景相关 */.user-distribution-team .list-item .avatar[data-v-0da64204]{width:%?124?%;height:%?124?%}.user-distribution-team .list-item .text[data-v-0da64204]{color:#4d4d4d;margin-top:%?6?%}.user-distribution-team .list-item .remove-btn[data-v-0da64204]{width:%?146?%;height:%?56?%;-webkit-transform:rotate(1turn);transform:rotate(1turn)}',""]),t.exports=e},e6cb:function(t,e,i){"use strict";i.r(e);var a=i("7dd7"),n=i("47d5");for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("f458");var r=i("828b"),o=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"0da64204",null,!1,a["a"],void 0);e["default"]=o.exports},f458:function(t,e,i){"use strict";var a=i("280f"),n=i.n(a);n.a}}]);