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
4.5 KiB
1 lines
4.5 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-team"],{"0047":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uEmpty:a("7018").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"team"},[t._l(t.list,(function(e,n){return a("v-uni-view",{key:n,staticClass:"team-member"},[a("v-uni-view",{staticClass:"l"},[e.avatar?a("v-uni-image",{attrs:{src:e.avatar}}):a("v-uni-image",{attrs:{src:t.staticUrl("/static/avater.png")}}),a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.nickname))])],1),a("v-uni-view",{staticClass:"amount"},[t._v("带来收益:"),a("v-uni-view",{staticClass:"num"},[t._v("¥"),a("v-uni-text",[t._v(t._s(e.commission_price))])],1)],1)],1)})),0==t.total?a("v-uni-view",{staticClass:"empty",staticStyle:{"margin-top":"250rpx"}},[a("u-empty",{attrs:{mode:"data",text:"暂无相关信息"}})],1):t._e()],2)},r=[]},"2f73":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.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/* 文章场景相关 */.team[data-v-04932f07]{width:100%;padding:0 %?25?% %?25?%;overflow:hidden;box-sizing:border-box}.team-member[data-v-04932f07]{width:90%;margin:%?20?% auto 0;padding:%?30?%;background:#fff;border-radius:%?20?%;display:flex;align-items:center;justify-content:space-between}.team-member .l uni-image[data-v-04932f07]{float:left;width:%?90?%;height:%?90?%;margin-right:%?20?%}.team-member .l .name[data-v-04932f07]{float:left;margin:%?20?% 0;font-size:%?30?%;color:#222;line-height:%?50?%}.team-member .amount[data-v-04932f07]{font-size:%?26?%;color:#999}.team-member .amount .num[data-v-04932f07]{display:flex;font-size:%?30?%;color:#ffa633;align-items:center}.team-member .amount .num uni-text[data-v-04932f07]{font-size:%?36?%}',""]),t.exports=e},4019:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("c223"),a("473f"),a("bf0f"),a("aa9c");var i=n(a("2634")),r=n(a("2fdc")),s={data:function(){return{isShow:!1,page:1,total:1,list:[]}},mounted:function(){this.getTeamList()},methods:{getTeamList:function(){var t=this;return(0,r.default)((0,i.default)().mark((function e(){var a,n,r,s;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return uni.showLoading({title:"加载中"}),e.next=3,t.$api.teamList({page:t.page});case 3:a=e.sent,n=a.code,r=a.data,s=a.msg,200==n?(uni.hideLoading(),t.list=t.arrayUnique(t.list.concat(r.list),"id"),t.total=r.total):(uni.hideLoading(),uni.showToast({icon:"none",title:s}));case 8:case"end":return e.stop()}}),e)})))()},arrayUnique:function(t,e){var a={};return t.reduce((function(t,n){return!a[n[e]]&&(a[n[e]]=t.push(n)),t}),[])}},onReachBottom:function(){this.list.length<=this.total&&(this.page++,this.getTeamList())}};e.default=s},"76ad":function(t,e,a){"use strict";a.r(e);var n=a("4019"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"858a":function(t,e,a){var n=a("2f73");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("5571cf46",n,!0,{sourceMap:!1,shadowMode:!1})},aa7f:function(t,e,a){"use strict";a.r(e);var n=a("0047"),i=a("76ad");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("cf28");var s=a("828b"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"04932f07",null,!1,n["a"],void 0);e["default"]=u.exports},cf28:function(t,e,a){"use strict";var n=a("858a"),i=a.n(n);i.a}}]); |