bundle-pages-user_wallet-user_wallet.50894870.js 5.3 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-user_wallet-user_wallet"],{3330:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return i}));var i={mescrollUni:a("8cca").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"wallet"},[a("v-uni-view",{staticClass:"header white flex row-between"},[a("v-uni-view",{staticClass:"white"},[a("v-uni-view",{staticClass:" xs"},[e._v("可提现金额")]),a("v-uni-view",{staticClass:"header-price m-t-20"},[e._v(e._s(e.withdrawInfo.wallet||0))])],1),a("router-link",{attrs:{to:"/bundle/pages/user_withdraw/user_withdraw"}},[a("v-uni-view",{staticClass:"header-btn br60 flex bg-white row-center md"},[e._v("去提现")])],1)],1),a("v-uni-view",{staticClass:"section m-t-40"},[a("v-uni-view",{staticClass:"title xl normal bold p-l-30"},[a("v-uni-view",{staticClass:"inline m-t-4 m-r-20"}),e._v("提现记录")],1),a("v-uni-view",{staticClass:"content"},[a("mescroll-uni",{ref:"mescrollRef",attrs:{top:"0rpx",height:e.height+"px",up:e.upOption},on:{init:function(t){arguments[0]=t=e.$handleEvent(t),e.mescrollInit.apply(void 0,arguments)},up:function(t){arguments[0]=t=e.$handleEvent(t),e.upCallback.apply(void 0,arguments)},down:function(t){arguments[0]=t=e.$handleEvent(t),e.downCallback.apply(void 0,arguments)}}},[e._l(e.lists,(function(t,i){return[a("v-uni-view",{key:i+"_0",staticClass:"wallet-cell flex row-between"},[a("v-uni-view",[a("v-uni-view",{staticClass:"remark md"},[e._v("余额提现")]),a("v-uni-view",{staticClass:"time m-t-10 muted sm"},[e._v(e._s(t.create_time))])],1),a("v-uni-view",{staticClass:"black"},[a("v-uni-view",{staticClass:"money lg text-right"},[e._v(e._s(t.change_amount))]),0==t.status?[a("v-uni-view",{staticClass:"sm",staticStyle:{color:"#01D739"}},[e._v("申请中")])]:e._e(),1==t.status?[a("v-uni-view",{staticClass:"sm",staticStyle:{color:"#01D739"}},[e._v("处理中")])]:e._e(),2==t.status?[a("v-uni-view",{staticClass:"lighter sm"},[e._v("转账成功")])]:e._e(),3==t.status?[a("v-uni-view",{staticClass:"sm",staticStyle:{color:"#FF4141"}},[e._v("转账失败")])]:e._e()],2)],1)]}))],2)],1)],1)],1)},s=[]},"42fb":function(e,t,a){"use strict";var i=a("487a"),n=a.n(i);n.a},"487a":function(e,t,a){var i=a("6f97");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("967d").default;n("70b7d84a",i,!0,{sourceMap:!1,shadowMode:!1})},"6f97":function(e,t,a){var i=a("c86c");t=i(!1),t.push([e.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-eb3befda]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.wallet .header[data-v-eb3befda]{margin:%?20?% %?30?%;padding:%?50?% %?40?%;border-radius:%?14?%;background-color:#3868f9}.wallet .header-price[data-v-eb3befda]{font-size:%?60?%}.wallet .header-btn[data-v-eb3befda]{width:%?182?%;height:%?72?%;color:#3868f9}.wallet .section .title[data-v-eb3befda]{padding-bottom:%?30?%;border-bottom:1px solid #e5e5e5}.wallet .section .title uni-view[data-v-eb3befda]{width:%?8?%;height:%?30?%;background-color:#3868f9}.wallet .section .content[data-v-eb3befda]{padding:0 %?30?%;height:calc(100vh - %?380?% - env(safe-area-inset-bottom))}.wallet .section .content .wallet-cell[data-v-eb3befda]{padding:%?16?% %?30?%;border-bottom:1px solid #e5e5e5}",""]),e.exports=t},"94cd":function(e,t,a){"use strict";a.r(t);var i=a("3330"),n=a("be2f");for(var s in n)["default"].indexOf(s)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(s);a("42fb");var l=a("828b"),r=Object(l["a"])(n["default"],i["b"],i["c"],!1,null,"eb3befda",null,!1,i["a"],void 0);t["default"]=r.exports},be2f:function(e,t,a){"use strict";a.r(t);var i=a("e165"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(s);t["default"]=n.a},e165:function(e,t,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("c223");var n=i(a("b7c7")),s=i(a("2634")),l=i(a("2fdc")),r=i(a("2524")),o=a("dafb"),c=a("274e"),u={mixins:[r.default],data:function(){return{height:414,withdrawInfo:{},lists:[],upOption:{empty:{icon:"/static/images/empty/money.png",tip:"暂无提现记录!",fixed:!0,top:"200rpx"}}}},updated:function(){this.getHeight()},onShow:function(){this.getWithdrawInfoFunc()},methods:{getHeight:function(){var e=this;return(0,l.default)((0,s.default)().mark((function t(){var a;return(0,s.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.getRect)(".content");case 2:a=t.sent,e.height=a.height;case 4:case"end":return t.stop()}}),t)})))()},getWithdrawInfoFunc:function(){var e=this;return(0,l.default)((0,s.default)().mark((function t(){var a;return(0,s.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,c.apiGetWithdrawInfo)();case 2:a=t.sent,e.withdrawInfo=a;case 4:case"end":return t.stop()}}),t)})))()},upCallback:function(e){var t=this,a=e.num,i=e.size;console.log(e),(0,c.apiWithdrawLog)({page_no:a,page_size:i}).then((function(e){var i=e.lists,s=e.count;(1==a||t.keyword)&&(t.lists=[]),t.lists=[].concat((0,n.default)(t.lists),(0,n.default)(i)),t.mescroll.endBySize(10,s)})).catch((function(e){t.mescroll.endErr()}))}}};t.default=u}}]);