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 line
13 KiB
1 line
13 KiB
5 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-salesman-income"],{"15d8":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5530")),s=i(n("c7eb")),r=i(n("1da1"));n("a9e3"),n("ac1f"),n("4de4"),n("d3b7");var o=n("26cb"),c={components:{},props:{cur:{type:Number,default:function(){return 0}}},data:function(){return{}},computed:(0,o.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},userPageType:function(t){return t.user.userPageType},activeIndex:function(t){return t.order.activeIndex}}),mounted:function(){var t=this;return(0,r.default)((0,s.default)().mark((function e(){var n,i,a;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=t,i=uni.getSystemInfoSync().windowHeight,a=n.configInfo.navBarHeight,setTimeout((function(){var e=uni.createSelectorQuery().in(n);e.select(".custom-tabbar").boundingClientRect((function(e){var s=i-e.height-a,r=n.$util.deepCopy(t.configInfo);r.curSysHeight=s,r.tabbarHeight=e.height,n.updateConfigItem({key:"configInfo",val:r})})).exec()}),600);case 4:case"end":return e.stop()}}),e)})))()},methods:(0,a.default)((0,a.default)((0,a.default)({},(0,o.mapActions)(["getConfigInfo"])),(0,o.mapMutations)(["updateConfigItem"])),{},{changeTab:function(t){var e=this;return(0,r.default)((0,s.default)().mark((function n(){var i,a,r,o,c,u,l;return(0,s.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.id){n.next=5;break}return n.next=3,e.getConfigInfo();case 3:i=e.configInfo.tabBar.filter((function(e){return e.name==t.name})),t=i[0];case 5:if(a=t,r=a.id,o=e.activeIndex,c=e.cur,u=e.userPageType,l={1:"/pages/service",2:"/pages/technician",3:"/pages/dynamic",4:"/pages/order?tab=".concat(o),5:"/pages/mine?type=".concat(u),6:"/pages/shopstore",7:"/pages/map"},r!=c){n.next=10;break}return n.abrupt("return");case 10:e.$util.goUrl({url:l[r],openType:"reLaunch"});case 11:case"end":return n.stop()}}),n)})))()}})};e.default=c},"1b3c":function(t,e,n){"use strict";n.r(e);var i=n("15d8"),a=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},"38f1":function(t,e,n){"use strict";var i=n("80c8"),a=n.n(i);a.a},"6e10":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isLoad?n("v-uni-view",{staticClass:"user-distribution-income rel"},[n("v-uni-view",{staticClass:"bg abs",style:{background:"linear-gradient(180deg, "+t.primaryColor+" 0%, #fff 100%)"}}),n("v-uni-view",{staticClass:"flex-center pd-lg rel"},[n("v-uni-image",{staticClass:"avatar radius",attrs:{mode:"aspectFill",src:t.detail.avatarUrl||"https://lbqny.migugu.com/admin/anmo/mine/default_user.png"}}),n("v-uni-view",{staticClass:"flex-1 ml-lg f-md-title c-base ellipsis"},[t._v(t._s(t.detail.user_name))])],1),n("v-uni-view",{staticClass:"mine-menu-list fill-base radius-16 rel",staticStyle:{"margin-top":"0"}},[n("v-uni-view",{staticClass:"flex-between pd-lg b-1px-b"},[n("v-uni-view",{staticClass:"f-paragraph c-title"},[t._v("可提现(元)")]),n("v-uni-view",{staticClass:"f-md-title c-title"},[t._v(t._s(t.detail.cash))])],1),n("v-uni-view",{staticClass:"flex-warp pt-md"},t._l(t.countList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item-child flex-center flex-column",class:[{"b-1px-r":2!==i}]},[n("v-uni-view",{staticClass:"f-sm-title c-title text-bold"},[t._v(t._s(t.detail[e.key]))]),n("v-uni-view",{staticClass:"f-icontext c-caption"},[t._v(t._s(e.text))])],1)})),1),n("v-uni-view",{staticClass:"flex-center pt-lg pb-lg"},[n("v-uni-view",{staticClass:"cash-btn flex-center f-mini-title c-base radius",staticStyle:{color:"#5B5B5B",border:"1rpx solid #979797"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handle
|