1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3a42cd38"],{"63fc":function(t,e,i){var a=i("a646");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("499e").default;s("4a4cb73f",a,!0,{sourceMap:!1,shadowMode:!1})},6512:function(t,e,i){"use strict";i("63fc")},a646:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".page[data-v-b62a453e]{background:#fff;min-height:100vh}.header_box[data-v-b62a453e]{padding:1rem .75rem;background:#f15353;color:#f5f5f5;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.header_box .left[data-v-b62a453e]{line-height:3rem;font-size:.875rem}.header_box .right[data-v-b62a453e]{font-size:.875rem;text-align:right}.header_box .right .li[data-v-b62a453e]{line-height:1.5rem}.money[data-v-b62a453e]{width:100%;height:5.375rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:space-evenly;-webkit-justify-content:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}.money[data-v-b62a453e],.money .moneyItem[data-v-b62a453e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.money .moneyItem[data-v-b62a453e]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.money .moneyItem .price[data-v-b62a453e]{font-size:1rem;color:#f15353}.money .moneyItem .desc[data-v-b62a453e]{color:#8c8c8c;font-size:.875rem;margin-top:.2rem}.hr[data-v-b62a453e]{height:.625rem;width:100%;background-color:#ebebeb}.wrapper span.month[data-v-b62a453e]{display:block;text-align:left;line-height:2.25rem;padding:0 .75rem;background:#f0f0f0;font-size:16px}.wrapper .info[data-v-b62a453e]{border-bottom:.0625rem solid #eee;overflow:hidden;padding:.625rem .75rem;background:#fff;font-size:14px}.wrapper .info .info-div[data-v-b62a453e]{width:100%;float:left}.wrapper .info .left[data-v-b62a453e]{width:70%;float:left;text-align:left;-webkit-box-sizing:border-box;box-sizing:border-box}.wrapper .info .left .time[data-v-b62a453e]{font-size:12px;color:#8c8c8c}.wrapper .info .left .left-item[data-v-b62a453e]{line-height:1.5rem}.wrapper .info .right[data-v-b62a453e]{float:left;width:30%;color:#f15353;text-align:right}.wrapper .info .right .state[data-v-b62a453e]{font-size:12px;color:#8c8c8c}.wrapper .info .right .right-item[data-v-b62a453e]{line-height:1.5rem}.order_detail.opens[data-v-b62a453e]{display:block}.order_detail[data-v-b62a453e]{display:none;overflow:hidden;width:100%}.order_detail .team_list[data-v-b62a453e]{background-color:#fff;padding:.625rem 0;overflow:hidden;border-top:.0625rem solid #e2e2e2}.order_detail .team_list .img[data-v-b62a453e]{width:2.5rem;height:2.5rem;float:left;text-align:left}.order_detail .team_list .img img[data-v-b62a453e]{width:100%;height:100%}.order_detail .team_list .info1[data-v-b62a453e]{height:2.5rem;width:80%;float:left;font-size:14px;color:#222;line-height:1.429rem;text-align:left;padding:0 .625rem;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}.order_detail .team_list .info1 .name[data-v-b62a453e]{font-size:.875rem;color:#333}.order_detail .team_list .info1 .desc[data-v-b62a453e]{color:#8c8c8c;font-size:.75rem}#distribution-goods[data-v-b62a453e]{background-color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;padding-top:10px;border-top:.0625rem solid #e2e2e2;margin-bottom:.375rem}#distribution-goods .img[data-v-b62a453e]{background-color:#666}#distribution-goods .img[data-v-b62a453e],#distribution-goods .img img[data-v-b62a453e]{width:4.375rem;height:4.375rem}#distribution-goods .inner[data-v-b62a453e]{-webkit-box-flex:5;-webkit-flex:5;-ms-flex:5;flex:5;padding:0 .625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}#distribution-goods .name[data-v-b62a453e]{-webkit-box-flex:5;-webkit-flex:5;-ms-flex:5;flex:5;text-align:justify;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.875rem;color:#333}#distribution-goods .price[data-v-b62a453e]{-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;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#distribution-goods .price .b[data-v-b62a453e]{text-align:right;color:#666;font-size:12px}#distribution-goods .price .total[data-v-b62a453e]{color:#333;float:right;font-size:1rem;line-height:1.6rem}",""]),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(){}}}},edd8: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",{staticClass:"page"},[i("c-title",{attrs:{hide:!1,text:t.pageData.plugin_name}}),i("div",{staticClass:"header_box"},[i("div",{staticClass:"left"},[i("span",[t._v(t._s(t.pageData.level_name))])]),i("div",{staticClass:"right"},[i("div",{staticClass:"li"},[t._v("等级比例:"+t._s(t.pageData.dividend_ratio)+"%")]),i("div",{staticClass:"li"},[t._v("下一等级比例:"+t._s(t.pageData.next_dividend_ratio)+"%")])])]),i("div",{staticClass:"money"},[i("div",{staticClass:"moneyItem"},[i("div",{staticClass:"price"},[t._v(t._s(t.pageData.unliquidated)+"元")]),i("div",{staticClass:"desc"},[t._v("未结算")])]),i("div",{staticClass:"moneyItem"},[i("div",{staticClass:"price"},[t._v(t._s(t.pageData.liquidated)+"元")]),i("div",{staticClass:"desc"},[t._v("已结算")])])]),i("div",{staticClass:"hr"}),i("div",{staticClass:"tags"},[i("van-tabs",{on:{change:t.changeVanTab},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},t._l(t.list_title,(function(t,e){return i("van-tab",{key:e,attrs:{title:t.name,name:t.dividend_type}})})),1)],1),i("div",{staticClass:"listData"},[t._l(t.list_data,(function(e,a){return i("div",{key:a,staticClass:"wrapper"},[i("div",{staticClass:"detail"},[i("span",{staticClass:"month"},[t._v(t._s(e.create_month))]),t._l(e.has_many_dividend,(function(e,s){return i("div",{key:s,staticClass:"info"},[i("div",{staticClass:"info-div",on:{click:function(e){return t.openDetail(a,s)}}},[i("div",{staticClass:"left"},[i("div",{staticClass:"num left-item"},[t._v("订单号:"+t._s(e.order_sn))]),i("div",{staticClass:"time left-item"},[t._v("时间:"+t._s(e.created_at))])]),i("div",{staticClass:"right"},[i("div",{staticClass:"price right-item"},[t._v(t._s(e.dividend_amount))]),i("div",{staticClass:"state right-item"},[t._v(t._s(e.status_name))])])]),i("div",{staticClass:"order_detail",class:{opens:a==t.display1&&s==t.display2}},[i("div",{staticClass:"team_list"},[e.member?i("div",{staticClass:"img"},[i("img",{attrs:{src:e.member.avatar}})]):t._e(),e.member?i("div",{staticClass:"info1"},[i("span",{staticClass:"name"},[t._v(t._s(e.member.nickname))]),i("span",{staticClass:"desc"},[t._v("微信号:"+t._s(e.member.yz_member&&e.member.yz_member.wechat?e.member.yz_member.wechat:"暂无微信号"))])]):t._e()]),t._l(e.order_goods,(function(e,a){return i("div",{key:a,staticClass:"team_goods",attrs:{id:"distribution-goods"}},[i("div",{staticClass:"img"},[i("img",{attrs:{src:e.thumb}})]),i("div",{staticClass:"inner"},[i("div",{staticClass:"name"},[t._v(t._s(e.title))])]),i("div",{staticClass:"price"},[i("div",[i("div",{staticClass:"b"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.goods_price/e.total))]),i("div",{staticClass:"b"},[t._v(" ×"+t._s(e.total))])]),i("div",{staticClass:"total"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.goods_price))])])])}))],2)])}))],2)])})),0==t.list_data.length?i("div",{staticClass:"no_data",staticStyle:{color:"#666","font-size":"0.8rem","margin-top":"2rem"}},[t._v(" 没有任何数据 ")]):t._e()],2)],1)},s=[],o=i("c7eb"),l=(i("e7e5"),i("d399")),n=i("1da1"),r=(i("99af"),i("6968")),d=i("ac0d"),c={mixins:[d["a"]],components:{cTitle:r["a"]},data:function(){return{display1:"-1",display2:"-1",list_title:[],list_data:[],active:0,isLoadMore:!0,page:1,total_page:0,requestData:{},pageData:{}}},activated:function(){this.getData(),window.screenTop=0,setTimeout((function(){window.scrollTo(0,0)}),200)},methods:{openDetail:function(t,e){if(this.display1==t&&this.display2==e)return this.display1="-1",void(this.display2="-1");this.display1=t,this.display2=e},initData:function(){this.page=1,this.requestData={}},changeVanTab:function(t){this.initData(),this.getData(t)},getData:function(){var t=arguments,e=this;return Object(n["a"])(Object(o["a"])().mark((function i(){var a,s;return Object(o["a"])().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=t.length>0&&void 0!==t[0]?t[0]:null,null!=a&&(e.requestData.dividend_type=a),l["a"].loading({message:"获取中...",forbidClick:!0}),i.next=5,$http.get("plugin.team-sztt.api.index",e.requestData);case 5:if(s=i.sent,l["a"].clear(),1==s.result){i.next=9;break}return i.abrupt("return",Object(l["a"])(s.msg));case 9:e.isLoadMore=!0,e.total_page=s.data.lastpage,e.total_page||(e.total_page=0),e.pageData=s.data,setTimeout((function(){e.fun.setWXTitle(s.data.plugin_name)}),200),e.list_title=s.data.list_title,e.list_data=s.data.list;case 16:case"end":return i.stop()}}),i)})))()},getMoreData:function(){var t=this;if(this.page!=this.total_page){this.page=this.page+1;var e={page:this.page};Object.assign(e,this.requestData),$http.get("plugin.team-sztt.api.index",e,"加载中...").then((function(e){1==e.result?t.list_data=t.list_data.concat(e.data.list):(t.page=t.page-1,t.isLoadMore=!1)})).catch((function(t){}))}}}},b=c,m=(i("6512"),i("2877")),f=Object(m["a"])(b,a,s,!1,null,"b62a453e",null);e["default"]=f.exports}}]); |