bztang-admin/addons/yun_shop/static/app/js/chunk-d68e5672.fa589a18.js

1 line
7.5 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d68e5672"],{3532:function(t,e,i){var a=i("ddd9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var s=i("499e").default;s("3fb56042",a,!0,{sourceMap:!1,shadowMode:!1})},"3bc1":function(t,e,i){"use strict";i("3532")},"4c65":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:{page:"page"}},[i("c-title",{attrs:{text:t.title_name}}),i("div",{staticClass:"header-wrapper"},[i("div",{staticClass:"user-info"},[i("div",{staticClass:"face"},[i("img",{attrs:{src:t.basics.avatar_image,alt:""}})]),i("div",{staticClass:"name"},[t._v(t._s(t.basics.nickname))])])]),i("div",{staticClass:"share_info"},[i("div",[i("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.basics.reward))]),i("br"),t._v(" 累计代付奖励 ")]),i("div",[i("span",[t._v(t._s(t.$i18n.t("money"))+t._s(t.basics.commission))]),i("br"),t._v(" 累计代付佣金奖励 ")])]),i("van-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[i("van-tab",{attrs:{name:"first"}},[i("span",{attrs:{slot:"title"},slot:"title"},[t._v("代付记录")])])],1),i("div",{staticClass:"list-items"},t._l(t.listData,(function(e){return i("div",{key:e.id,staticClass:"item"},[i("div",{staticClass:"header"},[i("div",{staticClass:"order_sn"},[t._v(t._s(e.order_sn))]),i("div",{staticClass:"time"},[t._v(t._s(e.created_at))])]),i("div",{staticClass:"desc-wrapper"},[i("div",{staticClass:"desc-item"},[i("div",{staticClass:"price"},[t._v(t._s(e.reward))]),i("div",{staticClass:"text"},[t._v("代付奖励")])]),i("div",{staticClass:"desc-item"},[i("div",{staticClass:"price"},[t._v(t._s(e.commission))]),i("div",{staticClass:"text"},[t._v("代付佣金奖励")])]),i("div",{staticClass:"desc-item"},[i("div",{staticClass:"text"},[t._v(t._s(e.status_name))])])]),i("div",{staticClass:"record",on:{click:function(i){return t.toDetailsInfo(e.id)}}},[i("span",{staticClass:"left look"},[t._v("查看记录")]),i("i",{staticClass:"fa fa-angle-right"})])])})),0)],1)},s=[],c=(i("e7e5"),i("d399")),n=(i("99af"),i("ac0d")),o="上级代付",r={mixins:[n["a"]],data:function(){return{activeName:"first",page:1,isLoadMore:!0,total_page:0,listData:[],basics:{},title_name:""}},mounted:function(){},activated:function(){this.getListData()},methods:{toDetailsInfo:function(t){this.$router.push(this.fun.getUrl("superiorPaymentDetails",{},{record_id:t}))},initData:function(){this.page=1,this.isLoadMore=!0,this.total_page=0},getListData:function(){var t=this;c["a"].loading({message:"加载中",forbidClick:!0}),$http.get("plugin.parent-payment.frontend.modules.payment.controllers.records.index").then((function(e){c["a"].clear(),1===e.result?(t.listData=e.data.page_list.data,t.basics=e.data.basics,t.title_name=t.basics.plugin_name||o,t.fun.setWXTitle(t.title_name),t.isLoadMore=!0,t.total_page=e.data.page_list.last_page,t.total_page||(t.total_page=0)):Object(c["a"])(e.msg)}))},getMoreData:function(){var t=this;this.isLoadMore=!1,this.page>=this.total_page||(this.page+=1,$http.get("plugin.parent-payment.frontend.modules.payment.controllers.records.index",{page:this.page}).then((function(e){if(t.isLoadMore=!0,1===e.result){var i=e.data.page_list.data;t.listData=t.listData.concat(i)}else t.page=t.page-1,t.isLoadMore=!1})))}}},l=r,d=l,f=(i("3bc1"),i("2877")),m=Object(f["a"])(d,a,s,!1,null,"caff054c",null);e["default"]=m.exports},ac0d:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));var a=document.documentElement,s=document.body,c={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(){}}}},ddd9:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".page[data-v-caff054c]{background:#fff;min-height:100vh;padding-bottom:3.0625rem}.header-wrapper[data-v-caff054c]{width:100%;height:6.656rem;padding-top:1.688rem;padding-left:1.531rem;background-color:#ee2e2b}.header-wrapper .user-info[data-v-caff054c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.header-wrapper .user-info .face img[data-v-caff054c]{width:2.875rem;height:2.875rem;border-radius:50%}.header-wrapper .user-info .name[data-v-caff054c]{margin-left:.683rem;font-size:1rem;color:#fff}.share_info[data-v-caff054c]{width:100%;padding:1rem 0;background-color:#fff;margin-bottom:.625rem;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}.share_info div[data-v-caff054c]:first-child{border-right:.0625rem solid #ebebeb}.share_info div[data-v-caff054c]{font-size:12px;line-height:1.25rem;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box}.share_info div span[data-v-caff054c]{color:#e84f40;font-size:16px;font-weight:700}.list-items .item[data-v-caff054c]{padding:0 .938rem;background:#fff;margin-bottom:.625rem}.list-items .item .header[data-v-caff054c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;height:2.5rem;border-bottom:.05rem solid #ebebeb}.list-items .item .header .order_sn[data-v-caff054c]{font-size:.75rem;color:#333}.list-items .item .header .time[data-v-caff054c]{font-size:.75rem;color:#8c8c8c}.list-items .item .desc-wrapper[data-v-caff054c]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;height:4rem}.list-items .item .desc-wrapper[data-v-caff054c],.list-items .item .desc-wrapper .desc-item[data-v-caff054c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.list-items .item .desc-wrapper .desc-item[data-v-caff054c]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.list-items .item .desc-wrapper .desc-item .price[data-v-caff054c]{margin-bottom:.3rem;font-size:.875rem;color:#f15353}.list-items .item .desc-wrapper .desc-item .text[data-v-caff054c]{font-size:.813rem;color:#333}.list-items .item .record[data-v-caff054c]{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;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:1.8rem;padding-bottom:.6rem}.list-items .item .record .look[data-v-caff054c]{font-size:.75rem;color:#8c8c8c}",""]),t.exports=e}}]);