pages-wallet-wallet.891b91a6.js 12 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-wallet-wallet"],{"71c7":function(e,t,a){"use strict";a.r(t);var n=a("7761"),i=a("bfed");for(var l in i)["default"].indexOf(l)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(l);a("7371");var r=a("f0c5"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"bf21a372",null,!1,n["a"],void 0);t["default"]=s.exports},7371:function(e,t,a){"use strict";var n=a("9e2c"),i=a.n(n);i.a},"76cc":function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* 银行卡信息Start */.wallet-head[data-v-bf21a372]{position:relative;width:100%;height:%?264?%;background:url(/static/image/wallet/imgbg.jpg) no-repeat 50%;background-size:100% 100%}.wallet-head .bank-det[data-v-bf21a372]{position:absolute;color:#fff;left:5%;top:%?32?%;width:90%;height:%?232?%}.wallet-head .bank-det .bank-icon[data-v-bf21a372]{margin-left:5.5%;margin-top:%?48?%;height:%?70?%;width:%?70?%;vertical-align:top}.wallet-head .bank-det .bank-name[data-v-bf21a372]{display:inline-block;vertical-align:top;padding:%?46?% 0 0 %?20?%;font-size:%?36?%;line-height:%?45?%}.wallet-head .bank-det .changebank[data-v-bf21a372]{float:right;display:inline-block;vertical-align:top;width:%?110?%;padding-top:0;margin-top:%?48?%;margin-right:6%;height:%?50?%;line-height:%?50?%;border:1px solid #fff;border-radius:%?30?%;text-align:center;font-size:%?30?%}.wallet-head .bank-det .bank-num[data-v-bf21a372]{\n /* width: 86%; */width:100%;display:inline-block;vertical-align:top;padding-top:%?20?%;font-size:%?36?%;text-align:right;line-height:%?40?%}.wallet-head .bank-det .bank-num span[data-v-bf21a372]{vertical-align:middle;\n /* margin-right: 10%; */opacity:.5;font-size:%?42?%;line-height:%?50?%}\n/* 银行卡信息End */\n/* 钱包金额Start */.wallet-money[data-v-bf21a372]{width:100%;height:%?130?%;background:#343740;color:#fff}.wallet-money > uni-view > uni-view[data-v-bf21a372]:nth-of-type(1){font-size:%?24?%;opacity:.4;margin-top:%?27?%;line-height:%?30?%}.wallet-money > uni-view > uni-view[data-v-bf21a372]:nth-of-type(2){font-size:%?28?%;margin-top:%?10?%;line-height:%?40?%}\n/* 钱包金额End */\n/* 钱包数据Start */.wallet-data[data-v-bf21a372]{width:100%;height:auto;padding:%?2?% 0 %?100?%;background:#fefefe}.wallet-data > uni-view[data-v-bf21a372]{display:inline-block;vertical-align:top;width:%?330?%;height:%?160?%;padding-left:%?50?%;box-sizing:border-box;margin:%?30?% 0 0 %?30?%;border-radius:%?5?%;box-shadow:%?3?% %?8?% %?30?% #efeff4,%?-3?% %?8?% %?30?% #efeff4;background:#fff}.wallet-data .bg1[data-v-bf21a372]{background:url(/static/image/wallet/bg1.png) no-repeat 50%;background-size:100% 100%}.wallet-data .bg2[data-v-bf21a372]{background:url(/static/image/wallet/bg2.png) no-repeat 50%;background-size:100% 100%}.wallet-data .bg3[data-v-bf21a372]{background:url(/static/image/wallet/bg3.png) no-repeat 50%;background-size:100% 100%}.wallet-data .bg4[data-v-bf21a372]{background:url(/static/image/wallet/bg4.png) no-repeat 50%;background-size:100% 100%}.wallet-data .bg5[data-v-bf21a372]{background:url(/static/image/wallet/bg5.png) no-repeat 50%;background-size:100% 100%}.wallet-data .bg6[data-v-bf21a372]{background:url(/static/image/wallet/bg6.png) no-repeat 50%;background-size:100% 100%}.wallet-data > uni-view > uni-view[data-v-bf21a372]:nth-of-type(1){padding-top:%?20?%;line-height:%?60?%;font-size:%?32?%;color:#333}.wallet-data > uni-view hr[data-v-bf21a372]{width:%?35?%}.wallet-data > uni-view > uni-view[data-v-bf21a372]:nth-last-of-type(1){font-size:%?20?%;color:#999;line-height:%?54?%}\n/* 钱包数据End */.wallet-btn[data-v-bf21a372]{width:100%;position:fixed;bottom:0;height:%?100?%;line-height:%?100?%}.wallet-btn > uni-view[data-v-bf21a372]{font-size:%?36?%;flex-shrink:1;height:100%;font-weight:700;box-sizing:border-box;width:100%}.wallet-btn > uni-view[data-v-bf21a372]:nth-of-type(1){color:#ea552d;background:#fff;border-top:1px solid #d4d4d4}.wallet-btn > uni-view[data-v-bf21a372]:nth-of-type(2){color:#fff;background:#ea552d;border-top:1px solid #ea552d}',""]),e.exports=t},7761:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",[a("public-module"),a("v-uni-view",{staticClass:"wallet-head"},[a("v-uni-view",{staticClass:"bank-det d-flex flex-column"},[a("v-uni-view",{staticClass:"d-flex"},[a("v-uni-image",{staticClass:"bank-icon flex-shrink",attrs:{src:"/static/image/wallet/bankcard.png",mode:"widthFix"}}),a("v-uni-view",{staticClass:"bank-name d-flex flex-1"},[a("p",[e._v(e._s(e.bankname))]),a("p",{staticStyle:{"font-size":"24upx","line-height":"40upx"}},[e._v("储蓄卡")])]),a("v-uni-view",{staticClass:"changebank",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeBank.apply(void 0,arguments)}}},[e._v("改绑")])],1),a("v-uni-view",{staticClass:"bank-num d-flex"},[a("span",{staticClass:"d-flex a-center j-center"},[e._v(e._s(e.accountno))])])],1)],1),a("v-uni-view",{staticClass:"wallet-money d-flex"},[a("v-uni-view",{staticClass:"d-flex flex-1 flex-column",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toBillDetails(1)}}},[a("v-uni-view",{staticClass:"d-flex a-center j-center"},[e._v("预收账户")]),a("v-uni-view",{staticClass:"d-flex a-center j-center"},[e._v("¥"+e._s(e.advanceMoney))])],1),a("v-uni-view",{staticClass:"d-flex flex-1 flex-column",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toBillDetails(2)}}},[a("v-uni-view",{staticClass:"d-flex a-center j-center"},[e._v("可提现现金")]),a("v-uni-view",{staticClass:"d-flex a-center j-center"},[e._v("¥"+e._s(e.withdrawal))])],1),a("v-uni-view",{staticClass:"d-flex flex-1 flex-column",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toBillDetails(3)}}},[a("v-uni-view",{staticClass:"d-flex a-center j-center"},[e._v("推广费")]),a("v-uni-view",{staticClass:"d-flex a-center j-center"},[e._v("¥"+e._s(e.extendMoney))])],1)],1),a("v-uni-view",{staticClass:"wallet-data"},[a("v-uni-view",{staticClass:"bg1"},[a("v-uni-view",[e._v(e._s(e.monthCost))]),a("hr"),a("v-uni-view",[e._v("本月累计推广费(元)")])],1),a("v-uni-view",{staticClass:"bg2"},[a("v-uni-view",[e._v(e._s(e.yearCost))]),a("hr"),a("v-uni-view",[e._v("今年累计推广费(元)")])],1),a("v-uni-view",{staticClass:"bg3"},[a("v-uni-view",[e._v(e._s(e.monthPremium))]),a("hr"),a("v-uni-view",[e._v("本月推广订单保费(元)")])],1),a("v-uni-view",{staticClass:"bg4"},[a("v-uni-view",[e._v(e._s(e.yearPremium))]),a("hr"),a("v-uni-view",[e._v("今年推广订单保费(元)")])],1),a("v-uni-view",{staticClass:"bg5"},[a("v-uni-view",[e._v(e._s(e.monthExNumber))]),a("hr"),a("v-uni-view",[e._v("本月累计推广人数")])],1),a("v-uni-view",{staticClass:"bg6"},[a("v-uni-view",[e._v(e._s(e.historyNumber))]),a("hr"),a("v-uni-view",[e._v("历史累计推广人数")])],1)],1),a("v-uni-view",{staticStyle:{height:"100upx"}}),a("v-uni-view",{staticClass:"wallet-btn d-flex"},[a("v-uni-view",{staticClass:"d-flex a-center j-center flex-1",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toSpread.apply(void 0,arguments)}}},[e._v("推广")]),a("v-uni-view",{staticClass:"d-flex a-center j-center flex-1",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toWithdraw.apply(void 0,arguments)}}},[e._v("提现")])],1)],1)},i=[]},"9e2c":function(e,t,a){var n=a("76cc");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("4f06").default;i("76722a5c",n,!0,{sourceMap:!1,shadowMode:!1})},bfed:function(e,t,a){"use strict";a.r(t);var n=a("ebfe"),i=a.n(n);for(var l in n)["default"].indexOf(l)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(l);t["default"]=i.a},ebfe:function(e,t,a){"use strict";a("7a82");var n=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("ac1f"),a("466d");var i,l=n(a("ade3")),r=n(a("c7eb")),s=n(a("1da1")),o=n(a("5530")),u=a("26cb"),d=(i={data:function(){return{bankname:"",accountno:"",advanceMoney:"0",withdrawal:"0",extendMoney:"0",monthCost:"0",yearCost:"0",monthPremium:"0",yearPremium:"0",monthExNumber:"0",historyNumber:"0"}},computed:(0,o.default)({},(0,u.mapState)(["userInfo"])),onShow:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getAdvanceMoney();case 2:return t.next=4,e.getPayAccount();case 4:return t.next=6,e.getExtendMoney();case 6:return t.next=8,e.getQuerywallet();case 8:case"end":return t.stop()}}),t)})))()}},(0,l.default)(i,"onShow",(function(){this.bankname=this.userInfo.esmUserInternal.bankname,this.accountno=this.formatBankNo({value:this.userInfo.esmUserInternal.accountno})})),(0,l.default)(i,"methods",{getAdvanceMoney:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var a;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http.get("/insPayApply/advanceAccount?userid="+e.userInfo.sysUser.id,{},{load:!1});case 2:a=t.sent,e.advanceMoney=a.data;case 4:case"end":return t.stop()}}),t)})))()},getPayAccount:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var a;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http.get("/insPayApply/payAccount?userid="+e.userInfo.sysUser.id,{},{load:!1});case 2:a=t.sent,e.withdrawal=a.data.accountBalance;case 4:case"end":return t.stop()}}),t)})))()},getExtendMoney:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var a;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http.get("/insPayApply/extendAccount?userid="+e.userInfo.sysUser.id,{},{load:!1});case 2:a=t.sent,e.extendMoney=a.data.accountBalance;case 4:case"end":return t.stop()}}),t)})))()},getQuerywallet:function(){var e=this;return(0,s.default)((0,r.default)().mark((function t(){var a;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http.get("/insPayApply/querywallet?userid="+e.userInfo.sysUser.id,{},{load:!1});case 2:a=t.sent,e.monthCost=a.data.monthCost,e.yearCost=a.data.yearCost,e.monthPremium=a.data.monthPremium,e.yearPremium=a.data.yearPremium,e.monthExNumber=a.data.monthExNumber,e.historyNumber=a.data.historyNumber;case 9:case"end":return t.stop()}}),t)})))()},toBillDetails:function(e){this.navigate({url:"/pages/wallet/billDetails"+e},"navigateTo",!0)},changeBank:function(){this.navigate({url:"/pages/wallet/bindBank"},"navigateTo",!0)},toSpread:function(){this.navigate({url:"/pages/tools/poster/poster"},"navigateTo",!0)},toWithdraw:function(){this.navigate({url:"/pages/wallet/withdraw"},"navigateTo",!0)},formatBankNo:function(e){if(""!=e.value){var t=new String(e.value);if(t=t.substring(0,22),null==t.match(".[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{7}")){if(null==t.match(".[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{7}|.[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{7}|.[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{7}|.[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{7}")){var a,n="",i="";for(a=0;a<t.length;a++)i=t.substr(a,1),isNaN(i)||" "==i||(n+=i);for(t="",a=0;a<n.length;a++)4==a&&(t+=" "),8==a&&(t+=" "),12==a&&(t+=" "),16==a&&(t+=" "),t+=n.substr(a,1)}}else t=" "+t.substring(1,5)+" "+t.substring(6,10)+" "+t.substring(14,18)+"-"+t.substring(18,25);return t!=e.value&&(e.value=t),t}}}),i);t.default=d}}]);