第一次提交
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/agent/cash/apply/apply.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agent/cash/apply/apply.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/agent/cash/apply/apply"],{"073c":function(t,a,n){"use strict";n.r(a);var e=n("8f5b"),i=n.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){n.d(a,t,(function(){return e[t]}))}(o);a["default"]=i.a},"8f5b":function(t,a,n){"use strict";(function(t){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={components:{},data:function(){return{loadding:!0,indicatorDots:!0,autoplay:!0,interval:2e3,duration:500,withdraw_type:10,isData:!1,agent:{},payType:[],words:{},temlIds:[],money:""}},mounted:function(){this.getData()},methods:{getData:function(){var a=this;t.showLoading({title:"加载中"}),a.loadding=!0,a._get("user.agent/cash",{platform:a.getPlatform()},(function(n){a.agent=n.data,a.words=n.data.words,a.payType=a.agent.settlement.pay_type,a.agent.isData=!0,a.temlIds=n.data.template_arr,a.loadding=!1,t.hideLoading()}))},TabType:function(t){this.withdraw_type=t},hasType:function(t){return-1!=this.payType.indexOf(t)},getAll:function(){this.money=this.agent.agent.money},formSubmit:function(a){var n=this,e=a.detail.value;e.pay_type=n.withdraw_type;var i=JSON.stringify(e);n.subMessage(n.temlIds,(function(){t.showLoading({title:"正在提交",mask:!0}),n._post("plus.agent.cash/submit",{data:i},(function(a){t.hideLoading(),t.showToast({title:"申请成功",duration:2e3,icon:"success"}),t.navigateBack(-1)}))}))}}};a.default=n}).call(this,n("df3c")["default"])},b98f:function(t,a,n){"use strict";(function(t,a){var e=n("47a9");n("7d57");e(n("3240"));var i=e(n("de5c"));t.__webpack_require_UNI_MP_PLUGIN__=n,a(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},d26f:function(t,a,n){},de5c:function(t,a,n){"use strict";n.r(a);var e=n("fe77"),i=n("073c");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(a,t,(function(){return i[t]}))}(o);n("f170");var s=n("828b"),u=Object(s["a"])(i["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);a["default"]=u.exports},f170:function(t,a,n){"use strict";var e=n("d26f"),i=n.n(e);i.a},fe77:function(t,a,n){"use strict";n.d(a,"b",(function(){return e})),n.d(a,"c",(function(){return i})),n.d(a,"a",(function(){}));var e=function(){var t=this.$createElement,a=(this._self._c,this.loadding?null:this.hasType("10")),n=this.loadding?null:this.hasType("20"),e=this.loadding?null:this.hasType("30");this.$mp.data=Object.assign({},{$root:{m0:a,m1:n,m2:e}})},i=[]}},[["b98f","common/runtime","common/vendor"]]]);
|
||||
4
unpackage/dist/build/mp-weixin/pages/agent/cash/apply/apply.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/pages/agent/cash/apply/apply.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "申请提现",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/agent/cash/apply/apply.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agent/cash/apply/apply.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<block wx:if="{{!loadding}}"><view class="apply-cash"><view class="form-wrap f30"><form data-event-opts="{{[['submit',[['formSubmit',['$event']]]],['reset',[['formReset',['$event']]]]]}}" bindsubmit="__e" bindreset="__e"><view class="p-0-20 pt30 txje">{{''+words.cash_apply.words.money.value}}<text class="f26 gray9 ml30">{{words.cash_apply.words.min_money.value+agent.settlement.min_money+'元'}}</text></view><view class="p-0-20"><view class="withd-bc"><view class="withd-bct"><view style="height:100%;display:flex;align-items:center;"><text style="font-size:48rpx;">¥</text><input class="tx-inpt" name="money" type="number" data-event-opts="{{[['input',[['__set_model',['','money','$event',[]]]]]]}}" value="{{money}}" bindinput="__e"/></view></view><view class="withd-bcb">{{''+words.cash_apply.words.capital.value+agent.agent.money+"元,"}}<text data-event-opts="{{[['tap',[['getAll',['$event']]]]]}}" style="color:#0479FF;" bindtap="__e">全部提现</text></view></view></view><view class="p20 f32 gray3 txbt">提现方式</view><view class="form-item p20"><view class="ww100"><block wx:if="{{$root.m0}}"><view class="p-30-0 border-b"><view data-event-opts="{{[['tap',[['TabType',[10]]]]]}}" class="{{['d-b-c',withdraw_type==10?'active':'']}}" bindtap="__e"><view class="d-s-c flex-1"><image style="width:28rpx;height:28rpx;margin-right:22rpx;" src="/static/wx.png" mode></image><text class="f26 gray3">微信支付</text></view><text class="icon iconfont icon-xuanze"></text></view></view></block><block wx:if="{{$root.m1}}"><view class="p-30-0 border-b"><view data-event-opts="{{[['tap',[['TabType',[20]]]]]}}" class="{{['d-b-c',withdraw_type==20?'active':'']}}" bindtap="__e"><view class="d-s-c flex-1"><image style="width:28rpx;height:28rpx;margin-right:22rpx;" src="/static/zfb.png" mode></image><text class="f26 gray3">支付宝</text></view><text class="icon iconfont icon-xuanze"></text></view><block wx:if="{{withdraw_type==20}}"><view class="mt20"><input class="p20 border-tb" name="alipay_name" type="text" value="" placeholder-class="grary" placeholder="请输入姓名"/></view><view class="mt20"><input class="p20 border-tb" name="alipay_account" type="text" value="" placeholder-class="grary" placeholder="请输入支付宝账号"/></view></block></view></block><block wx:if="{{$root.m2}}"><view class="p-30-0 border-b"><view data-event-opts="{{[['tap',[['TabType',[30]]]]]}}" class="{{['d-b-c',withdraw_type==30?'active':'']}}" bindtap="__e"><view class="d-s-c flex-1"><image style="width:28rpx;height:22rpx;margin-right:22rpx;" src="/static/yinxingqia.png" mode></image><text class="f26 gray3">银行卡</text></view><text class="icon iconfont icon-xuanze"></text></view><block wx:if="{{withdraw_type==30}}"><view class="mt20"><input class="p20 border-tb" name="bank_account" type="text" value="" placeholder-class="grary" placeholder="请输入姓名"/></view><view class="mt20"><input class="p20 border-tb" name="bank_name" type="text" value="" placeholder-class="grary" placeholder="请输入开户行名称/地址"/></view><view class="mt20"><input class="p20 border-tb" name="bank_card" type="text" value="" placeholder-class="grary" placeholder="请输入银行卡号"/></view></block></view></block></view></view><view class="d-c-c mt60" style="border:16rpx solid #F2F2F2;"><button class="btn-red flex-1" type="primary" form-type="submit">{{words.cash_apply.words.submit.value}}</button></view></form></view></view></block>
|
||||
1
unpackage/dist/build/mp-weixin/pages/agent/cash/apply/apply.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agent/cash/apply/apply.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
page{background-color:#f2f2f2}.txje{font-size:32rpx;font-family:PingFang SC;font-weight:500;color:#333;margin-top:16rpx}.form-wrap{background:#fff}.form-item{margin-bottom:20rpx;display:flex;justify-content:flex-start;align-items:center;font-size:28rpx}.form-item .field-name{width:140rpx}.form-item input{font-size:28rpx}.txbt{border-top:16rpx solid #f2f2f2}.form-item .text-price{padding:0 10rpx;height:80rpx;line-height:80rpx;border-radius:40rpx;border:1px solid #ccc}.agreement-content{max-height:60vh;overflow-y:auto}.iconfont.icon-xuanze{font-size:30rpx}.form-item .active .iconfont.icon-xuanze{color:#ff5649}.apply-cash .btn-red{height:88rpx;line-height:88rpx;border-radius:44rpx;background:#ff5649;border-color:#ff5649;border:none;font-size:32rpx}.withd-b{background-color:#fff;margin-bottom:97rpx}.withd-bct{height:92rpx;padding-top:59rpx;padding-right:49rpx;display:flex;justify-content:space-between;align-items:center;border-bottom:1rpx solid #d0d0d0}.tx-inpt{background-color:#fff;font-size:48rpx;line-height:92rpx}.withd-bcb{font-size:26rpx;color:#999;padding:27rpx 0 49rpx 0}.withdrawal-btn{margin:0 30rpx;background-color:#f36a24;height:60rpx;line-height:60rpx;color:#fff;text-align:center;border-radius:30rpx;padding:0;font-size:24rpx}.border-tb{border:none;border-top:1rpx solid #eee;border-bottom:1rpx solid #eee}
|
||||
1
unpackage/dist/build/mp-weixin/pages/agent/cash/list/list.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agent/cash/list/list.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/agent/cash/list/list"],{"0090":function(t,a,e){"use strict";(function(t,a){var n=e("47a9");e("7d57");n(e("3240"));var i=n(e("5868"));t.__webpack_require_UNI_MP_PLUGIN__=e,a(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},"4d68":function(t,a,e){"use strict";var n=e("c119"),i=e.n(n);i.a},5868:function(t,a,e){"use strict";e.r(a);var n=e("eec6"),i=e("9204");for(var s in i)["default"].indexOf(s)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(s);e("4d68");var o=e("828b"),l=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);a["default"]=l.exports},9204:function(t,a,e){"use strict";e.r(a);var n=e("ad41"),i=e.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(s);a["default"]=i.a},ad41:function(t,a,e){"use strict";(function(t){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n={components:{uniLoadMore:function(){e.e("components/uni-load-more").then(function(){return resolve(e("e5dd"))}.bind(null,e)).catch(e.oe)}},data:function(){return{phoneHeight:0,scrollviewHigh:0,state_active:-1,tableData:[],no_more:!1,loading:!0,last_page:0,page:1,list_rows:20,tableList:[]}},computed:{loadingType:function(){return this.loading?1:0!=this.tableData.length&&this.no_more?2:0}},mounted:function(){this.init(),this.getData()},methods:{init:function(){var a=this;t.getSystemInfo({success:function(e){a.phoneHeight=e.windowHeight;var n=t.createSelectorQuery().select(".top-tabbar");n.boundingClientRect((function(t){var e=a.phoneHeight-t.height;a.scrollviewHigh=e})).exec()}})},getData:function(){var t=this,a=t.page;t.loading=!0;var e=t.list_rows;t._get("plus.agent.cash/lists",{status:t.state_active,page:a||1,list_rows:e},(function(a){if(t.loading=!1,t.tableList=[{value:-1,text:a.data.words.cash_list.words.all.value},{value:10,text:a.data.words.cash_list.words.apply_10.value},{value:20,text:a.data.words.cash_list.words.apply_20.value},{value:40,text:a.data.words.cash_list.words.apply_40.value},{value:30,text:a.data.words.cash_list.words.apply_30.value}],t.tableData=t.tableData.concat(a.data.list.data),t.last_page=a.data.list.last_page,a.data.list.last_page<=1)return t.no_more=!0,!1}))},stateFunc:function(t){t!=this.state_active&&(this.tableData=[],this.page=1,this.state_active=t,this.getData())},scrolltoupperFunc:function(){console.log("滚动视图区域到顶")},scrolltolowerFunc:function(){this.page<this.last_page&&(this.page++,this.getData()),this.no_more=!0}}};a.default=n}).call(this,e("df3c")["default"])},c119:function(t,a,e){},eec6:function(t,a,e){"use strict";e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return i})),e.d(a,"a",(function(){}));var n=function(){var t=this.$createElement,a=(this._self._c,0==this.tableData.length&&!this.loading);this.$mp.data=Object.assign({},{$root:{g0:a}})},i=[]}},[["0090","common/runtime","common/vendor"]]]);
|
||||
6
unpackage/dist/build/mp-weixin/pages/agent/cash/list/list.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/agent/cash/list/list.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "提现明细",
|
||||
"usingComponents": {
|
||||
"uni-load-more": "/components/uni-load-more"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/agent/cash/list/list.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agent/cash/list/list.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view><view class="top-tabbar"><block wx:for="{{tableList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['stateFunc',['$0'],[[['tableList','',index,'value']]]]]]]}}" class="{{[state_active==item.value?'tab-item active':'tab-item']}}" bindtap="__e">{{item.text}}</view></block></view><scroll-view class="scroll-Y" style="{{('height:'+scrollviewHigh+'px;')}}" scroll-y="true" lower-threshold="50" data-event-opts="{{[['scrolltoupper',[['scrolltoupperFunc',['$event']]]],['scrolltolower',[['scrolltolowerFunc',['$event']]]]]}}" bindscrolltoupper="__e" bindscrolltolower="__e"><view class="p-0-30 bg-white mt20"><block wx:for="{{tableData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="d-b-c border-b p-20-0"><view class="d-s-s f-w d-c flex-1"><text class="f28 mb16">提现</text><text class="gray9 f22">{{item.create_time}}</text></view><view><view class="{{['tr',item.apply_status.text=='审核通过'?'green':'gray9']}}">{{''+item.apply_status.text+''}}</view><view class="red ml20">{{"¥"+item.money}}</view></view></view></block><block wx:if="{{$root.g0}}"><view class="d-c-c p30"><text class="iconfont icon-wushuju"></text><text class="cont">亲,暂无相关记录哦</text></view></block><block wx:else><uni-load-more vue-id="44686a70-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></view></scroll-view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/agent/cash/list/list.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agent/cash/list/list.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
.tab-item{font-size:28rpx}.tab-item.active{font-weight:400;font-size:28rpx}.tab-item.active::after{width:57rpx;height:6rpx;background-color:#ff5649}
|
||||
Reference in New Issue
Block a user