1 line
5.7 KiB
JavaScript
1 line
5.7 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e27b2152"],{"0353":function(t,e,i){var a=i("7396");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("499e").default;s("f9a02eee",a,!0,{sourceMap:!1,shadowMode:!1})},13968:function(t,e,i){"use strict";i("0353")},"250c":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"teamPerformance"}},[i("c-title",{attrs:{hide:!1,text:"团队业绩"}}),i("div",{staticClass:"content"},[i("ul",{staticClass:"rationList"},t._l(t.recordsList,(function(e,a){return i("li",{key:a},[i("div",{staticClass:"detail"},[i("div",{staticClass:"header"},[i("p",{staticClass:"month"},[i("span",[t._v("订单编号")]),i("span",{staticClass:"order_number"},[t._v(t._s(e.order_sn))])]),i("p",{staticClass:"month"},[i("span",[t._v("订单金额")]),i("span",{staticClass:"number"},[t._v(t._s(e.price))])]),i("p",{staticClass:"month"},[i("span",[t._v("商品数量")]),i("span",{staticClass:"number"},[t._v(t._s(e.goods_total))])])]),i("div",{staticClass:"list_box"},t._l(e.has_many_order_goods,(function(e,a){return i("div",{key:a,staticClass:"list"},[i("div",{staticClass:"info"},[i("img",{attrs:{src:e.thumb,alt:"商品图片"}}),i("span",[t._v(t._s(e.title))])]),i("p",{staticClass:"price"},[t._v(t._s(e.price))]),i("p",[t._v(t._s(e.total))])])})),0)])])})),0)])],1)},s=[],o=(i("e7e5"),i("d399")),r=(i("99af"),i("6968")),n=i("ac0d"),l={mixins:[n["a"]],data:function(){return{recordsList:[],isLoadMore:!0,page:1,total_page:0}},activated:function(){this.initData(),this.getData()},methods:{initData:function(){this.recordsList=[],this.page=1,this.total_page=0,this.isLoadMore=!0},getData:function(){var t=this;$http.get("plugin.team-fjyx.api.results.getList",{member_id:this.id},"...").then((function(e){1===e.result?(t.isLoadMore=!0,t.total_page=e.data.last_page,t.total_page||(t.total_page=0),t.recordsList=e.data.data):Object(o["a"])(e.msg)})).catch((function(t){}))},getMoreData:function(){var t=this;t.isLoadMore=!1,this.page>=this.total_page||(this.page=this.page+1,$http.get("plugin.team-fjyx.api.results.getList",{page:t.page},"加载中...").then((function(e){if(t.isLoadMore=!0,1!==e.result)return t.page=t.page-1,void(t.isLoadMore=!1);var i=e.data.data;t.recordsList=t.recordsList.concat(i)}),(function(t){})))}},components:{cTitle:r["a"]}},d=l,c=d,f=(i("13968"),i("2877")),m=Object(f["a"])(c,a,s,!1,null,"49df4dbe",null);e["default"]=m.exports},7396:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"#teamPerformance .rationList[data-v-49df4dbe]{padding:0;margin:0}#teamPerformance .rationList li[data-v-49df4dbe]{margin-bottom:.5rem}#teamPerformance .rationList li .detail[data-v-49df4dbe]{background:#fff}#teamPerformance .rationList li .header[data-v-49df4dbe]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:.625rem 0;border-bottom:.0625rem solid #ebebeb}#teamPerformance .rationList li .header p[data-v-49df4dbe]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}#teamPerformance .rationList li .header p span[data-v-49df4dbe]:first-child{color:#8c8c8c}#teamPerformance .rationList li .header p span[data-v-49df4dbe]{line-height:1.75rem}#teamPerformance .rationList li .header p .number[data-v-49df4dbe]{font-size:16px}#teamPerformance .rationList li .header p .order_number[data-v-49df4dbe]{font-size:12px}#teamPerformance .rationList li .list_box[data-v-49df4dbe]{padding:0 .625rem}#teamPerformance .rationList li .list[data-v-49df4dbe]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:18px}#teamPerformance .rationList li .list p[data-v-49df4dbe]{-webkit-flex:1;-ms-flex:1;flex:1;-ms-flex-align:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}#teamPerformance .rationList li .info[data-v-49df4dbe],#teamPerformance .rationList li .list p[data-v-49df4dbe]{-webkit-box-flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}#teamPerformance .rationList li .info[data-v-49df4dbe]{-webkit-flex:1;-ms-flex:1;flex:1;-ms-flex-align:center;padding:.5rem 0;background:#fff;font-size:14px}#teamPerformance .rationList li .info img[data-v-49df4dbe]{-webkit-box-flex:0;-webkit-flex:0 0 1.875rem;-ms-flex:0 0 1.875rem;flex:0 0 1.875rem;width:1.875rem;height:1.875rem;border-radius:1rem;margin-right:.5rem}#teamPerformance .rationList li .info span[data-v-49df4dbe]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left;max-width:5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",""]),t.exports=e},ac0d:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var a=document.documentElement,s=document.body,o={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return a&&a.scrollTop?t=a.scrollTop:s&&(t=s.scrollTop),t},getClientHeight:function(){var t=0;return t=s.clientHeight&&a.clientHeight?Math.min(s.clientHeight,a.clientHeight):Math.max(s.clientHeight,a.clientHeight),t},getScrollHeight:function(){return Math.max(s.scrollHeight,a.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}}}]); |