bztang-admin/addons/yun_shop/static/app/js/chunk-32eaeaa4.2b3cabb1.js

1 line
9.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-32eaeaa4"],{"20fa":function(t,e,s){"use strict";s("e4f8")},"3f35":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"consensus-activity-asset"},[s("c-title",{attrs:{text:t.text}}),1==t.type&&0!==t.origin_asset_list.length?s("div",{staticClass:"head"},[t._l(t.origin_asset_list,(function(e,a){return[s("span",[t._v(t._s(e.origin_asset.name)+""+t._s(e.amount))]),a+1!==t.origin_asset_list.length?s("span",{staticClass:"line"}):t._e()]}))],2):t._e(),s("div",{staticClass:"nav"},[2==t.type?s("div",{staticClass:"reopen"},[s("p",[t._v("当前"+t._s(t.custom_name.reopen_name))]),s("p",{staticClass:"bold fz48"},[t._v(t._s(t.reopen))])]):t._e(),s("div",{staticClass:"nav-box"},[s("router-link",{staticClass:"flex w33",attrs:{to:t.fun.getUrl("consensus_activity_asset_withdraw",{num:1,name:1==t.type?"asset":"reopen"})}},[s("span",{staticClass:"bg bg-F15353"},[s("i",{staticClass:"iconfont icon-ht_content_tixian"})]),s("span",{staticClass:"fz24 mt22"},[t._v("转入加权分红额度")])]),s("router-link",{staticClass:"flex w33",attrs:{to:t.fun.getUrl("consensus_activity_asset_withdraw",{num:2,name:1==t.type?"asset":"reopen"})}},[s("span",{staticClass:"bg bg-FF8846"},[s("i",{staticClass:"iconfont icon-huiyuanguanli-copy"})]),s("span",{staticClass:"fz24 mt22"},[t._v("转入"+t._s(t.custom_name.quality_name))])]),2==t.type?s("router-link",{staticClass:"flex w33",attrs:{to:t.fun.getUrl("consensus_activity_asset_withdraw",{num:6,name:1==t.type?"asset":"reopen"})}},[s("span",{staticClass:"bg bg-4898FF"},[s("i",{staticClass:"iconfont icon-card_collect_b"})]),s("span",{staticClass:"fz24 mt22"},[t._v("转入"+t._s(t.point_name))])]):t._e(),s("router-link",{staticClass:"flex w33",attrs:{to:t.fun.getUrl("consensus_activity_asset_withdraw",{num:3,name:1==t.type?"asset":"reopen"})}},[s("span",{staticClass:"bg bg-4898FF"},[s("i",{staticClass:"iconfont icon-card_collect_b"})]),s("span",{staticClass:"fz24 mt22"},[t._v("转入"+t._s(t.integral_name||t.custom_name.integral_name))])]),1==t.type?s("router-link",{staticClass:"flex w33",attrs:{to:t.fun.getUrl("consensus_activity_asset_withdraw",{num:5,name:1==t.type?"asset":"reopen"})}},[s("span",{staticClass:"bg bg-4898FF"},[s("i",{staticClass:"iconfont icon-pd_leveltag"})]),s("span",{staticClass:"fz24 mt22"},[t._v("会员转让")])]):t._e(),s("router-link",{staticClass:"flex w33 ",attrs:{to:t.fun.getUrl("consensus_activity_asset_withdraw",{num:4,name:1==t.type?"asset":"reopen"})}},[s("span",{staticClass:"bg bg-FF8846"},[s("i",{staticClass:"iconfont icon-balance_a_n1"})]),s("span",{staticClass:"fz24 mt22"},[t._v("转入"+t._s(t.custom_name.yuan_withdraw_limit_name))])])],1)]),s("p",{staticClass:"tips"},[t._v("明细记录")]),t.list&&0!==t.list.length?s("div",{staticClass:"list"},t._l(t.list,(function(e,a){return s("div",{key:a,staticClass:"box"},[s("div",{staticClass:"between"},[s("span",{staticClass:"bold fz28"},[t._v(t._s(e.source_name))]),s("span",[t._v(t._s(e.change_value))])]),s("div",{staticClass:"box-bottom between"},[s("div",{staticClass:"hidden"},[s("span",[t._v(t._s(e.mark))])]),s("span",{staticStyle:{"flex-shrink":"0"}},[t._v(t._s(e.created_at))])]),a+1!==t.list.length?s("div",{staticClass:"line"}):t._e()])})),0):t._e()],1)},i=[],n=(s("a9e3"),s("99af"),s("ac0d")),o={mixins:[n["a"]],data:function(){return{text:"",type:null,reopen:0,integral_name:"",point_name:"",custom_name:{},origin_asset_list:[],list:[],total_page:1,isLoadMore:!0,page:1}},activated:function(){this.type=Number(this.$route.params.num),this.getData(),this.getRecord()},methods:{getMoreData:function(){if(this.isLoadMore=!1,!(this.page>=this.total_page)){var t=this.page+1;this.getRecord(t)}},getRecord:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,s="plugin.wise-yuan-trade.frontend.reopen-value.record";1==this.type&&(s="plugin.wise-yuan-trade.frontend.origin-asset.record"),$http.get(s,{page:e},"").then((function(s){if(t.isLoadMore=!0,s.result){var a=s.data;t.list=1==e?a.data:t.list.concat(a.data),t.total_page=a.last_page,t.page=a.current_page}else t.$toast(s.msg)}))},getData:function(){var t=this,e="plugin.wise-yuan-trade.frontend.reopen-value.index";1==this.type&&(e="plugin.wise-yuan-trade.frontend.origin-asset.index"),$http.get(e,"","").then((function(e){if(e.result){var s=e.data;t.custom_name=s.custom_name,1==t.type?(t.text=s.custom_name.origin_asset_name,t.origin_asset_list=s.origin_asset_list):2==t.type&&(t.integral_name=s.integral_name,t.point_name=s.point_name,t.text=s.custom_name.reopen_name,t.reopen=s.reopen)}else t.$toast(e.msg)}))}}},c=o,r=(s("20fa"),s("2877")),l=Object(r["a"])(c,a,i,!1,null,"4239f0df",null);e["default"]=l.exports},"9e38":function(t,e,s){var a=s("24fb");e=a(!1),e.push([t.i,".consensus-activity-asset[data-v-4239f0df]{padding:.625rem .75rem}.consensus-activity-asset .hidden[data-v-4239f0df]{overflow-x:scroll;white-space:nowrap;margin-right:.625rem}.consensus-activity-asset .hidden[data-v-4239f0df]::-webkit-scrollbar{display:none}.consensus-activity-asset .w33[data-v-4239f0df]{width:33.33%}.consensus-activity-asset .fz24[data-v-4239f0df]{font-size:.75rem}.consensus-activity-asset .flex[data-v-4239f0df]{-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;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.consensus-activity-asset .flex[data-v-4239f0df],.consensus-activity-asset .nav[data-v-4239f0df]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.consensus-activity-asset .nav[data-v-4239f0df]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;background:#fff;border-radius:.625rem;padding:.3438rem 0 1.25rem;margin-top:.625rem}.consensus-activity-asset .reopen[data-v-4239f0df]{width:100%;font-size:.8125rem;margin-bottom:1.4688rem;margin-top:1.4375rem}.consensus-activity-asset .nav-box[data-v-4239f0df]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.consensus-activity-asset .nav-box a[data-v-4239f0df]{margin-top:.9063rem}.consensus-activity-asset .bg-F15353[data-v-4239f0df]{background:#f15353}.consensus-activity-asset .bg-FF8846[data-v-4239f0df]{background:#ff8846}.consensus-activity-asset .bg-4898FF[data-v-4239f0df]{background:#4898ff}.consensus-activity-asset .bg[data-v-4239f0df]{padding:.7188rem .6563rem;border-radius:.625rem;width:2.5rem;height:2.5rem;color:#fff}.consensus-activity-asset .mt22[data-v-4239f0df]{margin-top:.6875rem}.consensus-activity-asset .mt39[data-v-4239f0df]{margin-top:1.2188rem}.consensus-activity-asset .head[data-v-4239f0df]{background:#fff;border-radius:.625rem;padding:1.2188rem .75rem;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:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}.consensus-activity-asset .head .line[data-v-4239f0df]{margin:1.2188rem 0;width:100%;height:1px;background:#f0f0f1}.consensus-activity-asset .fz28[data-v-4239f0df]{font-size:.875rem}.consensus-activity-asset .fz48[data-v-4239f0df]{font-size:1.5rem}.consensus-activity-asset .bold[data-v-4239f0df]{font-weight:700}.consensus-activity-asset .line[data-v-4239f0df]{width:100%;height:1px;background:#ccc;margin:1.0625rem 0 .9375rem}.consensus-activity-asset .box-bottom[data-v-4239f0df]{margin-top:.5rem;color:#aaaab3;font-size:.75rem}.consensus-activity-asset .list[data-v-4239f0df]{background:#fff;padding:.9375rem .75rem;border-radius:.625rem}.consensus-activity-asset .between[data-v-4239f0df]{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}.consensus-activity-asset .tips[data-v-4239f0df]{margin:.875rem .75rem;font-weight:700;font-size:.9375rem;text-align:left}",""]),t.exports=e},ac0d:function(t,e,s){"use strict";s.d(e,"a",(function(){return n}));var a=document.documentElement,i=document.body,n={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:i&&(t=i.scrollTop),t},getClientHeight:function(){var t=0;return t=i.clientHeight&&a.clientHeight?Math.min(i.clientHeight,a.clientHeight):Math.max(i.clientHeight,a.clientHeight),t},getScrollHeight:function(){return Math.max(i.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(){}}}},e4f8:function(t,e,s){var a=s("9e38");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=s("499e").default;i("f92d60f6",a,!0,{sourceMap:!1,shadowMode:!1})}}]);