1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-yue"],{"0bdd":function(t,e,n){var a=n("e11e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("7a7a919c",a,!0,{sourceMap:!1,shadowMode:!1})},"3f1b":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("c7eb")),o=a(n("1da1")),r=a(n("5530"));n("ac1f"),n("99af");var u=n("6f98"),s=n("26cb"),d=n("f3ff"),l=a(n("786c")),f=a(n("5f2a")),c=n("4a54"),g={filters:{getMoneyStyle:d.getMoneyStyle},components:{empty:f.default,uniLoadMore:l.default},onReady:function(t){var e=this;uni.getSystemInfo({success:function(t){var n=uni.createSelectorQuery();n.select(".swiper-box").boundingClientRect(),n.exec((function(n){e.maxheight=t.windowHeight-n[0].top+"px",console.log("打印页面的剩余高度",e.maxheight)}))},fail:function(t){}})},data:function(){return{userInfo:{},maxheight:"",tabCurrentIndex:0,sr:"",zc:"",navList:[{state:2,text:"收入",loadingType:"more",orderList:[],page:1,limit:10},{state:1,text:"支出",loadingType:"more",orderList:[],page:1,limit:10}],money:""}},onLoad:function(t){},onShow:function(){this.getUserInfo(),this.loadData()},methods:(0,r.default)((0,r.default)({},(0,s.mapMutations)("user",["setUserInfo"])),{},{navto:function(t){uni.navigateTo({url:t})},getUserInfo:function(){var t=this;(0,c.getUser)({}).then((function(e){var n=e.data;t.userInfo=n}))},loadData:function(t){var e=this;return(0,o.default)((0,i.default)().mark((function n(){var a,o,r;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e,a=e.tabCurrentIndex,o=e.navList[a],r=o.state,"tabChange"!==t||!0!==o.loaded){n.next=6;break}return n.abrupt("return");case 6:if("loading"!==o.loadingType){n.next=8;break}return n.abrupt("return");case 8:o.loadingType="loading",(0,u.spreadCommission)({page:o.page,limit:o.limit},r).then((function(t){var n=t.data;o.orderList=o.orderList.concat(n.list),o.page++,o.limit!=n.list.length?(o.loadingType="noMore",uni.hideLoading(),e.$set(o,"loaded",!0)):o.loadingType="more"})).catch((function(t){console.log(t)}));case 10:case"end":return n.stop()}}),n)})))()},changeTab:function(t){this.tabCurrentIndex=t.target.current,this.loadData("tabChange")},tabClick:function(t){this.tabCurrentIndex=t},toBack:function(){uni.navigateBack()}})};e.default=g},"4a54":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addressDel=function(t){return(0,i.default)({url:"/api/address/del",method:"post",data:t})},e.addressEdit=function(t){return(0,i.default)({url:"/api/address/edit",method:"post",data:t})},e.cartDel=function(t){return(0,i.default)({url:"/api/cart/del",method:"post",data:t})},e.delcollect=function(t){return(0,i.default)({url:"/api/collect/del",method:"post",data:t})},e.details=function(t,e){return(0,i.default)({url:"/api/article/details/"+e,method:"get",data:t})},e.getAddressList=function(t){return(0,i.default)({url:"/api/address/list",method:"get",data:t})},e.getCartList=function(t){return(0,i.default)({url:"/api/cart/list",method:"get",data:t})},e.getCartNum=function(t){return(0,i.default)({url:"/api/cart/num",method:"post",data:t})},e.getCommissionInfo=function(t){return(0,i.default)({url:"/api/brokerage/list",method:"get",data:t})},e.getUser=function(t){return(0,i.default)({url:"/api/user",method:"get",data:t})},e.getUserInfo=function(t){return(0,i.default)({url:"/api/userinfo",method:"get",data:t})},e.getcollectList=function(t){return(0,i.default)({url:"/api/collect/user",method:"get",data:t})},e.jfzz=function(t){return(0,i.default)({url:"/api/user/transfer_account",method:"post",data:t})},e.moneyList=function(t){return(0,i.default)({url:"/api/money/list",method:"get",data:t})},e.myspread=function(t){return(0,i.default)({url:"/api/spread/people",method:"POST",data:t})},e.orderData=function(t){return(0,i.default)({url:"/api/order/data",method:"get",data:t})},e.setAddressDefault=function(t){return(0,i.default)({url:"/api/address/default/set",method:"post",data:t})},e.spreadBanner=function(t){return(0,i.default)({url:"/api/spread/banner",method:"get",data:t})},e.sqdl=function(t){return(0,i.default)({url:"/api/user/apply",method:"POST",data:t})},e.yjzye=function(t){return(0,i.default)({url:"/api/user/transformation",method:"post",data:t})},e.yuezz=function(t){return(0,i.default)({url:"/api/user/transfer_nowMoney",method:"post",data:t})};var i=a(n("873e"))},"6f98":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.aliInfo=function(t){return(0,i.default)({url:"/api/ali/info",method:"get",data:t})},e.balance=function(t){return(0,i.default)({url:"/api/user/balance",method:"get",data:t})},e.bankInfo=function(t){return(0,i.default)({url:"/api/bank/info",method:"get",data:t})},e.extractBank=function(t){return(0,i.default)({url:"/api/extract/bank",method:"get",data:t})},e.extractCash=function(t){return(0,i.default)({url:"/api/extract/cash",method:"post",data:t})},e.getBank=function(t){return(0,i.default)({url:"/api/auction/pay_list",method:"get",data:t})},e.integral=function(t){return(0,i.default)({url:"/api/integral/list",method:"get",data:t})},e.rechargeWechat=function(t){return(0,i.default)({url:"/api/recharge/wechat",method:"post",data:t})},e.setAliInfo=function(t){return(0,i.default)({url:"/api/ali/edit",method:"post",data:t})},e.setBank=function(t){return(0,i.default)({url:"/api/auction/pay",method:"post",data:t})},e.setBankInfo=function(t){return(0,i.default)({url:"/api/bank/edit",method:"post",data:t})},e.spreadCommission=function(t,e){return(0,i.default)({url:"/api/spread/commission/"+e,method:"get",data:t})},e.userBalance=function(t){return(0,i.default)({url:"/api/user/balance",method:"get",data:t})},e.yue=function(t){return(0,i.default)({url:"/api/now_money/list",method:"get",data:t})};var i=a(n("873e"))},7436:function(t,e,n){t.exports=n.p+"static/img/tg-bg.f2f5141d.png"},"8b36":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={uniLoadMore:n("786c").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"content-money"},[a("v-uni-view",{staticClass:"content-money"},[a("v-uni-view",{staticClass:"status_bar"}),a("v-uni-view",{staticClass:"body-title"},[a("v-uni-view",{staticClass:"goback-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toBack.apply(void 0,arguments)}}},[a("v-uni-image",{staticClass:"goback",attrs:{src:n("f8c8"),mode:""}})],1),a("v-uni-view",{staticClass:"header"},[t._v("我的佣金")])],1),a("v-uni-view",{staticClass:"content-bg"},[a("v-uni-image",{attrs:{src:n("7436"),mode:""}})],1),a("v-uni-view",{staticClass:"money-box"},[a("v-uni-view",{staticClass:"money"},[t._v(t._s(t._f("getMoneyStyle")(t.userInfo.now_money)))]),a("v-uni-view",[t._v("佣金")])],1),a("v-uni-view",{staticClass:"moneybtn-box"},[a("v-uni-view",{staticClass:"money-btn",staticStyle:{"text-decoration":"underline"}}),a("v-uni-view",{staticClass:"money-btn"})],1)],1)],1),a("v-uni-view",{staticClass:"info-box flex"},[a("v-uni-view",{staticClass:"shu"}),a("v-uni-view",{staticClass:"info-item"},[a("v-uni-view",{staticClass:"info-font"},[t._v("累计充值")]),a("v-uni-view",{staticClass:"info-num"},[t._v(t._s(t.userInfo.recharge||"0"))])],1),a("v-uni-view",{staticClass:"shu"}),a("v-uni-view",{staticClass:"info-item"},[a("v-uni-view",{staticClass:"info-font"},[t._v("累计支出")]),a("v-uni-view",{staticClass:"info-num"},[t._v(t._s(t.userInfo.orderStatusSum||"0"))])],1)],1),a("v-uni-view",{staticClass:"navbar"},t._l(t.navList,(function(e,n){return a("v-uni-view",{key:n,staticClass:"nav-item",class:{current:t.tabCurrentIndex===n},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabClick(n)}}},[t._v(t._s(e.text))])})),1),a("v-uni-swiper",{staticClass:"swiper-box",style:{height:t.maxheight},attrs:{current:t.tabCurrentIndex,duration:"300"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTab.apply(void 0,arguments)}}},t._l(t.navList,(function(e,n){return a("v-uni-swiper-item",{key:n,staticClass:"tab-content"},[a("v-uni-scroll-view",{staticClass:"list-scroll-content",attrs:{"scroll-y":"true"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.loadData.apply(void 0,arguments)}}},[!0===e.loaded&&0===e.orderList.length?a("empty"):t._e(),t._l(e.orderList,(function(e,n){return a("v-uni-view",{key:n,staticClass:"order-item flex"},[a("v-uni-view",{staticClass:"title-box"},[a("v-uni-view",{staticClass:"title"},[a("v-uni-text",[t._v(t._s(e.mark))])],1),a("v-uni-view",{staticClass:"time"},[a("v-uni-text",[t._v(t._s(e.add_time))])],1)],1),a("v-uni-view",{staticClass:"money"},[a("v-uni-text",[t._v(t._s((0==e.pm?"-":"+")+e.number))])],1)],1)})),a("uni-load-more",{attrs:{status:e.loadingType}})],2)],1)})),1)],1)},o=[]},"9ecb":function(t,e,n){"use strict";n.r(e);var a=n("8b36"),i=n("e65f");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("c23f");var r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"08203e38",null,!1,a["a"],void 0);e["default"]=u.exports},c23f:function(t,e,n){"use strict";var a=n("0bdd"),i=n.n(a);i.a},e11e:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-08203e38]{background:#f2f5f4;height:100%}body.?%PAGE?%[data-v-08203e38]{background:#f2f5f4}.status_bar[data-v-08203e38]{height:0;width:100%}.content-money[data-v-08203e38]{position:relative;height:%?480?%}.content-money .content-bg[data-v-08203e38]{position:absolute;top:0;left:0;right:0;width:%?750?%;height:%?480?%}.content-money .content-bg uni-image[data-v-08203e38]{width:100%;height:100%}.content-money .body-title[data-v-08203e38]{height:%?80?%;text-align:center;font-size:%?35?%;position:relative}.content-money .body-title .header[data-v-08203e38]{position:absolute;left:0;top:0;width:100%;font-size:%?36?%;font-family:PingFang SC;font-weight:700;color:#fffeff;height:%?80?%;font-size:%?36?%;font-weight:700;z-index:9;display:flex;justify-content:center;align-items:center}.content-money .body-title .goback-box[data-v-08203e38]{position:absolute;left:%?18?%;top:0;height:%?80?%;display:flex;align-items:center}.content-money .body-title .goback[data-v-08203e38]{z-index:100;width:%?34?%;height:%?34?%}.money-box[data-v-08203e38]{position:relative;z-index:2;padding-top:%?70?%;color:#fff;text-align:center}.money-box .money[data-v-08203e38]{font-size:%?72?%;font-family:PingFang SC;font-weight:700;color:#fff}.money-box .text[data-v-08203e38]{font-size:%?30?%}.moneybtn-box[data-v-08203e38]{display:flex;justify-content:space-between;position:relative;z-index:2;color:#fff;padding:%?20?% %?50?%;font-size:%?30?%;font-family:PingFang SC;font-weight:700;color:#fff}.navbar[data-v-08203e38]{margin-top:%?25?%;display:flex;height:40px;padding:0 5px;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.06);position:relative;z-index:10}.navbar .nav-item[data-v-08203e38]{flex:1;display:flex;justify-content:center;align-items:center;height:100%;font-size:15px;color:#303133;position:relative}.navbar .nav-item.current[data-v-08203e38]{color:#000;font-weight:700}.navbar .nav-item.current[data-v-08203e38]:after{content:"";position:absolute;left:50%;bottom:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:44px;height:0;border-bottom:2px solid #ff4c4c}.swiper-box .order-item[data-v-08203e38]{padding:%?20?% %?30?%;line-height:1.5}.swiper-box .order-item .title-box .title[data-v-08203e38]{font-size:%?32?%;color:#606266}.swiper-box .order-item .title-box .time[data-v-08203e38]{font-size:%?28?%;color:#909399}.swiper-box .order-item .money[data-v-08203e38]{color:#ef3a55;font-size:%?32?%}.info-box[data-v-08203e38]{width:%?670?%;height:%?186?%;background:#fff;box-shadow:0 0 %?20?% 0 rgba(50,50,52,.06);border-radius:%?20?%;margin:%?-100?% auto 0;position:relative;z-index:2}.info-box .info-item[data-v-08203e38]{width:50%;display:flex;flex-direction:column;align-items:center;line-height:1}.info-box .info-item .info-font[data-v-08203e38]{font-size:%?30?%;font-family:PingFang SC;font-weight:700;color:#999}.info-box .info-item .info-num[data-v-08203e38]{margin-top:%?30?%;font-size:%?30?%;font-family:PingFang SC;font-weight:700;color:#181818}.info-box .shu[data-v-08203e38]{width:%?2?%;height:%?74?%;background:#dcdfe6}.list-scroll-content[data-v-08203e38]{background-color:#fff;height:100%}.content[data-v-08203e38]{height:100%}.content .empty-content[data-v-08203e38]{background-color:#fff}.btm-wrap[data-v-08203e38]{height:%?140?%;width:%?750?%;position:fixed;bottom:0;left:0;background-color:#fff}.btm-wrap .btn[data-v-08203e38]{width:%?674?%;height:%?88?%;line-height:%?88?%;margin:auto;background:linear-gradient(-22deg,#9a5e19,#9a5e19);border-radius:%?44?%;text-align:center;font-size:%?36?%;font-family:PingFang SC;font-weight:500;color:#fff}',""]),t.exports=e},e65f:function(t,e,n){"use strict";n.r(e);var a=n("3f1b"),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},f3ff:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.getMoneyStyle=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"string"==typeof t&&(t=(+t).toFixed(2));"number"==typeof t&&(t=t.toFixed(2));var e=t.split(""),n=e.reverse().map((function(t,e,n){return e%3==0&&e/3>1&&e!=n.length?t+",":t}));return n=n.reverse().join(""),n},e.getTime=function(t){for(var e=13-(t+"").length,n=1,a=0;a<e;a++)n+="0";n=parseInt(n);var i=new Date(parseInt(t)*n),o=i.getFullYear(),r=i.getMonth()+1,u=i.getDate(),s=i.getHours(),d=i.getMinutes(),l=i.getSeconds();return o+"-"+r+"-"+u+" "+s+":"+d+":"+l},e.isCardNo=function(t){if(!1===/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}$)/.test(t))return console.log(t),!1;return!0},e.openMap=function(t){return new Promise((function(t,e){wx.getSetting({success:function(n){n.authSetting["scope.userLocation"]?t():wx.showModal({title:"提示",content:"请求获取位置权限",success:function(n){if(0==n.confirm)return e(),!1;wx.openSetting({success:function(e){e.authSetting["scope.userLocation"]?t():wx.showToast({title:"此功能需获取位置信息,请重新设置",duration:3e3,icon:"none"})}})}})}})}))},e.timeComputed=function(t){var e=(new Date).getTime(),n=t-e;n<0&&(n*=-1);var a=Math.floor(n/1e3/60/60/24),i=Math.floor(n/1e3/60/60%24),o=Math.floor(n/1e3/60%60),r=Math.floor(n/1e3%60);return{hours:i,minutes:o,seconds:r,day:a}},n("ac1f"),n("00b4"),n("d81d"),n("26e9"),n("d3b7"),n("e25e")},f8c8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAEgklEQVR4XuWbS6xeUxiG3ze0hqgyLSVpIkJUgpQyaIu6JBK30mqiQqsTvc9oa6gtZm0FQS8TA5epkhi5xAxjTExcEiYYvfIm30l2/qzV9F/7ts72Tc7g/Puc73n+tdZel28RizQkPQbg7kj/C5IflKCw5KGxn5H0KoD9M3lcSvKveXNbdAIknQCwPQF6mOShyQqQdDGA9wA8lYD8BcD1JP+cpABJywL+wQTg35ZC8qN54f356ruApKsD/q4E4K8Bf64EvnoBkm4E8C6AmxOAPwX8l6XwVQuQdEd889cmAL8P+O/awFcrQNLGgL8yAfhVwP/YFr5KAZKeCPhLEoDu6x7w3Pc7iaoGQUnPAXgzQ/YxgE0k/+mEPP5INQIk7QFwLAN3huSWLsEX/lYVAiR5BncwA3iS5I4+4KsYAyS9BmB3BvAYyX19wY8uQNJbAJ7NABbN7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