1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_spread_money-index"],{"0c3c":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("26cb"),o=n(i("7c3b")),r=i("5318"),s={name:"Home",props:{},mixins:[o.default],data:function(){return{top:"545",imgHost:r.HTTP_REQUEST_URL}},computed:(0,a.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY)},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){},beforeDestroy:function(){this.$store.commit("CLOSE_HOME")}};e.default=s},2759:function(t,e,i){"use strict";i.r(e);var n=i("efe6"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"352c":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.commission-details .promoterHeader .headerCon .money[data-v-ae099a08]{font-size:%?36?%}.commission-details .promoterHeader .headerCon .money .num[data-v-ae099a08]{font-family:Guildford Pro}.sign-record .list .item .listn .itemn .name[data-v-ae099a08]{width:100%;white-space:break-spaces}.sign-record .list .item .listn .itemn .title[data-v-ae099a08]{padding-right:%?30?%;flex:1}',""]),t.exports=e},"40cc":function(t,e,i){"use strict";var n=i("968d"),a=i.n(n);a.a},5749:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:this.imgHost+"/statics/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title||this.$t("暂无记录")))])],1)},a=[]},"5a8e":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.colorStyle},[i("v-uni-view",{staticClass:"commission-details"},[i("v-uni-view",{staticClass:"promoterHeader bg-color"},[i("v-uni-view",{staticClass:"headerCon acea-row row-between-wrapper"},[i("v-uni-view",[i("v-uni-view",{staticClass:"name"},[t._v(t._s(t.$t(t.name)))]),4==t.recordType?i("v-uni-view",{staticClass:"money"},[t._v(t._s(t.$t("¥"))),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.extractCount))])],1):i("v-uni-view",{staticClass:"money"},[t._v(t._s(t.$t("¥"))),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.recordCount))])],1)],1),i("v-uni-view",{staticClass:"iconfont icon-jinbi1"})],1)],1),i("v-uni-view",{staticClass:"sign-record"},[t._l(t.recordList,(function(e,n){return t.recordList.length>0?[i("v-uni-view",{key:n+"_0",staticClass:"list"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"data"},[t._v(t._s(e.time))]),i("v-uni-view",{staticClass:"listn"},[t._l(e.child,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"itemn acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(1==t.type?t.$t(e.mark):t.$t(e.title)))]),i("v-uni-view",[t._v(t._s(e.add_time))]),e.fail_msg?i("v-uni-view",{staticClass:"fail-msg"},[t._v(t._s(t.$t("原因"))+":"+t._s(e.fail_msg))]):t._e()],1),1==e.pm?i("v-uni-view",{staticClass:"num font-color"},[t._v("+"+t._s(e.number))]):i("v-uni-view",{staticClass:"num"},[t._v("-"+t._s(e.number))])],1)]}))],2)],1)],1)]:t._e()})),t.recordList.length?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e(),t.recordList.length<1&&t.page>1?i("v-uni-view",[i("emptyPage",{attrs:{title:t.$t("暂无数据~")}})],1):t._e()],2)],1),i("home")],1)},a=[]},6397:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".pictrueBox[data-v-5c721f6d]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-5c721f6d]{position:fixed;color:#fff;text-align:center;z-index:999;right:%?15?%;display:flex}.home .homeCon[data-v-5c721f6d]{border-radius:%?50?%;opacity:0;height:0;color:var(--view-theme);width:0}.home .homeCon.on[data-v-5c721f6d]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:var(--view-theme)!important;opacity:.8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.home .homeCon .iconfont[data-v-5c721f6d]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-5c721f6d]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:var(--view-theme)}.home .pictrue .image[data-v-5c721f6d]{width:100%;height:100%;border-radius:50%;-webkit-transform:rotate(90deg);transform:rotate(90deg);ms-transform:rotate(90deg);moz-transform:rotate(90deg);webkit-transform:rotate(90deg);o-transform:rotate(90deg)}",""]),t.exports=e},"67c8":function(t,e,i){"use strict";i.r(e);var n=i("5749"),a=i("2759");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("40cc");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"40a2f1ee",null,!1,n["a"],void 0);e["default"]=s.exports},"6f26":function(t,e,i){"use strict";i.r(e);var n=i("5a8e"),a=i("8fd8");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("a8de");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"ae099a08",null,!1,n["a"],void 0);e["default"]=s.exports},"7ffa":function(t,e,i){"use strict";i.r(e);var n=i("cf5d"),a=i("d105");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("dea5");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"5c721f6d",null,!1,n["a"],void 0);e["default"]=s.exports},"8f6e":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("caad"),i("2532"),i("14d9");var a=i("40f6"),o=i("8f93"),r=i("26cb"),s=n(i("67c8")),c=n(i("7ffa")),u=n(i("7c3b")),d={components:{emptyPage:s.default,home:c.default},mixins:[u.default],data:function(){return{name:"",type:0,page:1,limit:15,loading:!1,loadend:!1,loadTitle:this.$t("加载更多"),recordList:[],recordType:0,recordCount:0,extractCount:0,times:[]}},computed:(0,r.mapGetters)(["isLogin"]),onLoad:function(t){this.isLogin?this.type=t.type:(0,o.toLogin)()},onShow:function(){var t=this.type;1==t?(uni.setNavigationBarTitle({title:"提现记录"}),this.name="提现总额",this.recordType=4,this.getRecordList(),this.getRecordListCount()):2==t?(uni.setNavigationBarTitle({title:"佣金记录"}),this.name="佣金明细",this.recordType=3,this.getRecordList(),this.getRecordListCount()):uni.showToast({title:"参数错误",icon:"none",duration:1e3,mask:!0,success:function(t){setTimeout((function(){history.back()}),1200)}})},methods:{getRecordList:function(){var t=this,e=this,i=e.page,n=e.limit,o=e.recordType;e.loading||e.loadend||(e.loading=!0,e.loadTitle="",(0,a.getCommissionInfo)({page:i,limit:n},o).then((function(i){for(var n=0;n<i.data.time.length;n++)t.times.includes(i.data.time[n])||(t.times.push(i.data.time[n]),t.recordList.push({time:i.data.time[n],child:[]}));for(var a=0;a<t.times.length;a++)for(var o=0;o<i.data.list.length;o++)t.times[a]===i.data.list[o].time_key&&t.recordList[a].child.push(i.data.list[o]);var r=i.data.list.length<e.limit;e.loadend=r,e.loadTitle=r?e.$t("我也是有底线的"):e.$t("加载更多"),e.page+=1,e.loading=!1})).catch((function(t){e.loading=!1,e.loadTitle=e.$t("加载更多")})))},getRecordListCount:function(){var t=this;(0,a.getSpreadInfo)().then((function(e){t.recordCount=e.data.commissionCount,t.extractCount=e.data.extractCount}))}},onReachBottom:function(){this.getRecordList()}};e.default=d},"8fd8":function(t,e,i){"use strict";i.r(e);var n=i("8f6e"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"968d":function(t,e,i){var n=i("b0ab");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4bb12e84",n,!0,{sourceMap:!1,shadowMode:!1})},a8de:function(t,e,i){"use strict";var n=i("b17e"),a=i.n(n);a.a},b0ab:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.empty-box[data-v-40a2f1ee]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-40a2f1ee]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-40a2f1ee]{font-size:%?26?%;color:#999}',""]),t.exports=e},b17e:function(t,e,i){var n=i("352c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("688700f7",n,!0,{sourceMap:!1,shadowMode:!1})},cf5d:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.colorStyle},[i("v-uni-view",{staticStyle:{"touch-action":"none"}},[i("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px"},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?i("v-uni-view",{staticClass:"homeCon bg-color",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/index/index"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/order_addcart/order_addcart"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/user/index"}})],1):t._e(),i("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{staticClass:"image",attrs:{src:!0===t.homeActive?t.imgHost+"/statics/images/close.gif":t.imgHost+"/statics/images/open.gif"}})],1)],1)],1)],1)],1)},a=[]},d105:function(t,e,i){"use strict";i.r(e);var n=i("0c3c"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},dea5:function(t,e,i){"use strict";var n=i("f006"),a=i.n(n);a.a},efe6:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("5318"),a={props:{title:{type:String,default:""}},data:function(){return{imgHost:n.HTTP_REQUEST_URL}}};e.default=a},f006:function(t,e,i){var n=i("6397");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("17166856",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|