spread-page-spread-brokerageRecord.b1734c39.js 8.2 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["spread-page-spread-brokerageRecord"],{"173a":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n("419c");var a=n("9d0a"),i=n("3e51"),o={data:function(){return{tabList:[{name:"全部"},{name:"佣金入账"},{name:"申请提现"},{name:"其他变动"}],current:[],trade_type:0}},onLoad:function(t){this.trade_type=t.trade_type,this.ReachBottom()},onShow:function(){},onPullDownRefresh:function(){},computed:{},methods:{tabChange:function(t){console.log("切换",t);var e=t;this.trade_type=e,this.current=[],this.ReachBottom()},ReachBottom:function(){var t=this;uni.showLoading({title:"加载中..."}),(0,i.getCurrentLogList)({trade_type:this.trade_type}).then((function(e){t.current=e,console.log("成功",e),uni.hideLoading()})).catch((function(t){uni.hideLoading(),(0,a.showToast)({title:t.msg})}))}}};e.default=o},"1d84":function(t,e,n){var a=n("9342");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("967d").default;i("de294a30",a,!0,{sourceMap:!1,shadowMode:!1})},"2fa4":function(t,e,n){"use strict";n.r(e);var a=n("e805"),i=n("4483");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("7c9f");var r=n("828b"),s=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"7827ebbd",null,!1,a["a"],void 0);e["default"]=s.exports},"3e51":function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.singleAgentData=e.setAccount=e.myApplyApi=e.multipleAgentData=e.getWithdrawalRecord=e.getSpreadWithdrawal=e.getSpreadPoster=e.getSpreadMyTeam=e.getSpreadIndex=e.getScanTipsInfo=e.getPosterGoodsApi=e.getCurrentLogList=e.getAccount=e.bindingPromotionRelationship=e.applyWithdrawal=e.applyApi=e.allGroupsApi=e.agentList=void 0;var i=a(n("7653"));e.getSpreadIndex=function(){return i.default.get("api/user.spread.index/index")};e.getSpreadWithdrawal=function(){return i.default.get("api/user.spread.get_cash/index")};e.getCurrentLogList=function(t){return i.default.get("api/user.spread.current_log/list",t)};e.getSpreadPoster=function(){return i.default.post("api/user.spread.poster/index")};e.getWithdrawalRecord=function(t){return i.default.get("api/user.spread.get_cash/list",t)};e.getSpreadMyTeam=function(t){return i.default.get("api/user.spread.index/down",t)};e.applyWithdrawal=function(t){return i.default.post("api/user.spread.get_cash/apply",t)};e.getScanTipsInfo=function(t){return i.default.get("api/user.spread.index/scanTipsInfo",t)};e.bindingPromotionRelationship=function(t){return i.default.get("api/user.spread.index/member_spread_bind",t)};e.getAccount=function(){return i.default.post("api/user.spread.get_cash/getAccount")};e.setAccount=function(t){return i.default.post("api/user.spread.get_cash/setAccount",t)};e.getPosterGoodsApi=function(t){return i.default.get("api/user.spread.service_provider/index",t)};e.allGroupsApi=function(){return i.default.get("api/user.spread.index/allGroups")};e.agentList=function(){return i.default.get("api/user.partner.index/agentList")};e.singleAgentData=function(t){return i.default.post("api/user.partner.index/singleAgentData",t)};e.multipleAgentData=function(t){return i.default.post("api/user.partner.index/multipleAgentData",t)};e.myApplyApi=function(t){return i.default.get("api/user.spread.apply/myApply",t)};e.applyApi=function(t){return i.default.post("api/user.spread.apply/apply",t)}},4483:function(t,e,n){"use strict";n.r(e);var a=n("173a"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"74ff":function(t,e,n){n("64aa"),t.exports={data:function(){},props:{backgroundColor:{type:String,default:""},fontColor:{type:String,default:""},fontSize:{type:Number,default:0},fontUnit:{type:String,default:"rpx"}},computed:{backgroundColorStyle:function(){return this.$tn.color.getBackgroundColorStyle(this.backgroundColor)},backgroundColorClass:function(){return this.$tn.color.getBackgroundColorInternalClass(this.backgroundColor)},fontColorStyle:function(){return this.$tn.color.getFontColorStyle(this.fontColor)},fontColorClass:function(){return this.$tn.color.getFontColorInternalClass(this.fontColor)},fontSizeStyle:function(){return this.$tn.string.getLengthUnitValue(this.fontSize,this.fontUnit)}},methods:{}}},"7c9f":function(t,e,n){"use strict";var a=n("1d84"),i=n.n(a);i.a},9342:function(t,e,n){var a=n("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.border-l[data-v-7827ebbd]{border-left:1px solid #ebebeb}.m-4[data-v-7827ebbd]{margin:15px!important}.flex[data-v-7827ebbd]{display:-webkit-box!important;display:-webkit-flex!important;display:flex!important}.bg-white[data-v-7827ebbd]{background-color:#f6f6f6!important;color:#333!important}.radius[data-v-7827ebbd]{border-radius:6px!important}.p-4[data-v-7827ebbd]{padding:15px!important}.mb-4[data-v-7827ebbd]{margin-bottom:15px!important}.flex-sub[data-v-7827ebbd]{-webkit-box-flex:1!important;-webkit-flex:1!important;flex:1!important}.pb-2[data-v-7827ebbd]{padding-bottom:5px!important}.text-gray[data-v-7827ebbd]{color:#aaa!important}.flex-column[data-v-7827ebbd]{-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;-webkit-flex-direction:column!important;flex-direction:column!important}.text-right[data-v-7827ebbd]{text-align:right!important}.pr-2[data-v-7827ebbd]{padding-right:5px!important}.text-red[data-v-7827ebbd]{color:#e54d42!important}',""]),t.exports=e},"9d0a":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.showToast=e.showModal=e.showLoading=e.closeLoading=void 0;e.showToast=function(t){var e=t.title,n=t.icon,a=t.mask,i=t.callback;uni.showToast({icon:n||"none",title:e,mask:a||!0}),setTimeout((function(){i&&i()}),1500)};e.showModal=function(t){var e=t.title,n=t.content,a=t.showCancel,i=t.cancelText,o=t.confirmText,r=t.callback;uni.showModal({title:e||"操作提示",content:n,showCancel:a||!1,cancelText:i||"取消",confirmText:o||"确认",success:function(t){t.confirm&&r&&r(!0),t.cancel&&r&&r(!1)}})};e.showLoading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.title,n=void 0===e?"":e,a=t.mask,i=void 0!==a&&a;uni.showLoading({title:n,mask:i})};e.closeLoading=function(){uni.hideLoading()}},e805:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={tnTabs:n("37fc").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("custom-page",{attrs:{"custom-navbar":!0}},[n("v-uni-view",{staticClass:"main",style:{paddingTop:"calc("+t.sys_navBar+"px )"}},[n("tn-tabs",{attrs:{current:t.trade_type,height:100,list:t.tabList},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.tabChange.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"m-4"},[0==t.current.length?n("v-uni-view",{staticClass:"py-5 text-center my-5 mx-5 ui-BG radius-lg"},[n("v-uni-image",{staticStyle:{width:"200px"},attrs:{src:"/static/none-coupons.svg",mode:"widthFix"}}),n("v-uni-view",{staticClass:" ui-TC-3 text-sm",staticStyle:{"text-align":"center"}},[t._v("暂无记录!")])],1):t._l(t.current,(function(e,a){return n("v-uni-view",{key:a,staticClass:"flex p-4 bg-white mb-4 radius"},[n("v-uni-view",{staticClass:"flex-sub"},[1==e.trade_type?n("p",{staticClass:"pb-2"},[t._v("佣金入账")]):t._e(),2==e.trade_type?n("p",{staticClass:"pb-2"},[t._v("申请提现")]):t._e(),3==e.trade_type?n("p",{staticClass:"pb-2"},[t._v("其它变动")]):t._e(),n("p",{staticClass:"text-gray"},[t._v(t._s(e.addtime))])]),n("v-uni-view",{staticClass:"flex"},[n("v-uni-view",{staticClass:"flex flex-column pr-2 text-right"},[n("p",{staticClass:"text-red pb-2"},[t._v(t._s(e.fee))]),n("p",{staticClass:"text-price text-gray"},[t._v(t._s(e.amount))])]),n("v-uni-view",{staticClass:"flex align-center"},[n("i",{staticClass:"cicon-forward text-gray"})])],1)],1)}))],2)],1)],1)},o=[]}}]);