第一次提交
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/user/cash/apply.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/user/cash/apply.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/cash/apply"],{"3acd":function(t,n,e){"use strict";e.r(n);var i=e("8da8"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a},"4c19":function(t,n,e){"use strict";e.r(n);var i=e("cce7"),o=e("3acd");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("7b8c");var c=e("828b"),u=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=u.exports},"7b8c":function(t,n,e){"use strict";var i=e("a530"),o=e.n(i);o.a},"8da8":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={components:{Popup:function(){e.e("components/uni-popup").then(function(){return resolve(e("b892"))}.bind(null,e)).catch(e.oe)}},data:function(){return{loadding:!0,indicatorDots:!0,autoplay:!0,interval:2e3,duration:500,withdraw_type:10,agent:{},payType:[],words:{},temlIds:[],money:"",ifchecked:!1,url:"",isPopup:!1,cash_ratio:0,cash_ratioMoney:"",overMoney:"",isType:!1,pop_type:10,balance:""}},mounted:function(){this.getData()},onLoad:function(){},watch:{money:function(t,n){t!=n&&(this.cash_ratioMoney=this.cash_ratio_percent(),this.overMoney=this.overprice())}},methods:{typeFunc:function(t){this.pop_type=t},getData:function(){var n=this;t.showLoading({title:"加载中"}),n.loadding=!0,n._get("user.cash/index",{platform:n.getPlatform()},(function(e){n.balance=e.data.balance,n.cash_ratio=e.data.cash_ratio,n.loadding=!1,t.hideLoading()}))},checkedme:function(t){this.ifchecked=!this.ifchecked},TabType:function(t){this.withdraw_type=t},selectType:function(){this.withdraw_type=this.pop_type,this.isType=!1},hasType:function(t){return-1!=this.payType.indexOf(t)},popup:function(){this.isPopup=!0},hidePopupFunc:function(){this.isPopup=!1},getAll:function(){this.money=this.balance},cash_ratio_percent:function(){var t=this.money,n=t*this.cash_ratio/100;return n=n.toFixed(2),n},overprice:function(){var t=this.money*this.cash_ratio/100;return t=t.toFixed(2),console.log(t),t},formSubmit:function(n){console.log(111);var e=this,i=n.detail.value;i.pay_type=e.withdraw_type;var o=JSON.stringify(i);t.showLoading({title:"正在提交",mask:!0}),e._post("user.cash/submit",{data:o},(function(n){t.hideLoading(),t.showToast({title:"申请成功",duration:2e3,icon:"success"}),t.navigateBack()}),(function(t){e.isPopup=!1}))}}};n.default=i}).call(this,e("df3c")["default"])},a530:function(t,n,e){},cce7:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.loadding?null:t.theme()||""),i=t.loadding?null:t.theme();t._isMounted||(t.e0=function(n){t.isType=!0},t.e1=function(n){t.isType=!1}),t.$mp.data=Object.assign({},{$root:{m0:e,m1:i}})},o=[]},e52d:function(t,n,e){"use strict";(function(t,n){var i=e("47a9");e("7d57");i(e("3240"));var o=i(e("4c19"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])}},[["e52d","common/runtime","common/vendor"]]]);
|
||||
7
unpackage/dist/build/mp-weixin/pages/user/cash/apply.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/user/cash/apply.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "提现申请",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"popup": "/components/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/user/cash/apply.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/user/cash/apply.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/user/cash/apply.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/user/cash/apply.wxss
vendored
Normal file
@ -0,0 +1 @@
|
||||
page{background-color:#fff}[data-theme="theme0"] .dominant{color:#ff5704!important}[data-theme="theme1"] .dominant{color:#19ad57!important}[data-theme="theme2"] .dominant{color:#fc0!important}[data-theme="theme3"] .dominant{color:#33a7ff!important}[data-theme="theme4"] .dominant{color:#e4e4e4!important}[data-theme="theme5"] .dominant{color:#c8ba97!important}[data-theme="theme6"] .dominant{color:#623ceb!important}.txje{font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#333}.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}.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:#f6220c}.apply-cash .btn-red{width:686rpx;height:96rpx;line-height:96rpx;opacity:1;border-radius:16rpx;border:none;font-size:28rpx}[data-theme="theme0"] .apply-cash .btn-red{background-color:#ff5704!important}[data-theme="theme1"] .apply-cash .btn-red{background-color:#19ad57!important}[data-theme="theme2"] .apply-cash .btn-red{background-color:#fc0!important}[data-theme="theme3"] .apply-cash .btn-red{background-color:#33a7ff!important}[data-theme="theme4"] .apply-cash .btn-red{background-color:#e4e4e4!important}[data-theme="theme5"] .apply-cash .btn-red{background-color:#c8ba97!important}[data-theme="theme6"] .apply-cash .btn-red{background-color:#623ceb!important}.apply-cash .btn-red-disabled{width:686rpx;height:96rpx;line-height:96rpx;background-color:#f5f5f5;background:#f5f5f5;opacity:1;border-radius:16rpx;color:rgba(0,0,0,.24);border:none;font-size:28rpx}.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{padding:27rpx 0 49rpx 0}.withdrawal-btn{margin:0 30rpx;height:60rpx;line-height:60rpx;color:#fff;text-align:center;border-radius:30rpx;padding:0;font-size:24rpx}[data-theme="theme0"] .withdrawal-btn{background-color:#ff5704!important}[data-theme="theme1"] .withdrawal-btn{background-color:#19ad57!important}[data-theme="theme2"] .withdrawal-btn{background-color:#fc0!important}[data-theme="theme3"] .withdrawal-btn{background-color:#33a7ff!important}[data-theme="theme4"] .withdrawal-btn{background-color:#e4e4e4!important}[data-theme="theme5"] .withdrawal-btn{background-color:#c8ba97!important}[data-theme="theme6"] .withdrawal-btn{background-color:#623ceb!important}.login_index_seller_rule{width:90%;margin:0 auto;text-align:center;font-size:24rpx}.radio{-webkit-transform:scale(.7);transform:scale(.7)}.pop-improt{width:622rpx;height:480rpx;box-sizing:border-box;border-radius:24rpx;padding:32rpx}.pop-improt .icon-guanbi{position:absolute;top:32rpx;right:32rpx;width:30rpx;height:30rpx;font-size:26rpx;color:#666}.pop-improt.typeof{width:750rpx;height:auto}.pop-improt .close-text{position:absolute;top:32rpx;left:32rpx;font-size:28rpx;font-weight:600}[data-theme="theme0"] .pop-improt .close-text{color:#ff5704!important}[data-theme="theme1"] .pop-improt .close-text{color:#19ad57!important}[data-theme="theme2"] .pop-improt .close-text{color:#fc0!important}[data-theme="theme3"] .pop-improt .close-text{color:#33a7ff!important}[data-theme="theme4"] .pop-improt .close-text{color:#e4e4e4!important}[data-theme="theme5"] .pop-improt .close-text{color:#c8ba97!important}[data-theme="theme6"] .pop-improt .close-text{color:#623ceb!important}.submitbtn{width:558rpx;height:80rpx;opacity:1;border-radius:16rpx;font-size:28rpx;font-family:PingFang SC;font-weight:400;color:#fff;line-height:80rpx;opacity:1;margin:0 auto}[data-theme="theme0"] .submitbtn{background-color:#ff5704!important}[data-theme="theme1"] .submitbtn{background-color:#19ad57!important}[data-theme="theme2"] .submitbtn{background-color:#fc0!important}[data-theme="theme3"] .submitbtn{background-color:#33a7ff!important}[data-theme="theme4"] .submitbtn{background-color:#e4e4e4!important}[data-theme="theme5"] .submitbtn{background-color:#c8ba97!important}[data-theme="theme6"] .submitbtn{background-color:#623ceb!important}.cash-icon{width:40rpx;height:40rpx}.select-img{width:48rpx;height:48rpx}.select-img image{width:48rpx;height:48rpx}.pop-type-item{height:138rpx;background:#fff;border-radius:0}.cash-input-item{height:88rpx;background:#fff;display:flex;justify-content:center;align-items:center}.cash-input-item .input-label{width:160rpx;text-align:left}.cash-top{height:146rpx;box-sizing:border-box;background:#f5f5f5}.border-top{height:58rpx;width:100%;background-color:#f5f5f5}.border-top .border-box{box-sizing:border;border-radius:40rpx 40rpx 0 0;background-color:#fff;height:58rpx;width:100%}.mb48{margin-bottom:48rpx}.mb60{margin-bottom:60rpx}
|
||||
1
unpackage/dist/build/mp-weixin/pages/user/cash/list.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/user/cash/list.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/cash/list"],{"0a13":function(t,e,a){"use strict";a.r(e);var n=a("4eec"),i=a("9388");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);var s=a("828b"),c=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=c.exports},1593:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={components:{uniLoadMore:function(){a.e("components/uni-load-more").then(function(){return resolve(a("e5dd"))}.bind(null,a)).catch(a.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 e=this;t.getSystemInfo({success:function(t){e.phoneHeight=t.windowHeight,e.scrollviewHigh=t.windowHeight}})},getData:function(){var t=this,e=t.page;t.loading=!0;var a=t.list_rows;t._get("user.cash/lists",{status:-1,page:e||1,list_rows:a},(function(e){if(t.loading=!1,t.tableData=t.tableData.concat(e.data.list.data),t.last_page=e.data.list.last_page,e.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}}};e.default=n}).call(this,a("df3c")["default"])},"4eec":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,0==this.tableData.length&&!this.loading);this.$mp.data=Object.assign({},{$root:{g0:e}})},i=[]},9388:function(t,e,a){"use strict";a.r(e);var n=a("1593"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},f7ba:function(t,e,a){"use strict";(function(t,e){var n=a("47a9");a("7d57");n(a("3240"));var i=n(a("0a13"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(i.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])}},[["f7ba","common/runtime","common/vendor"]]]);
|
||||
7
unpackage/dist/build/mp-weixin/pages/user/cash/list.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/user/cash/list.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "余额提现",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"uni-load-more": "/components/uni-load-more"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/user/cash/list.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/user/cash/list.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<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"><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="30">提现</text><text class="gray9 f22">{{item.create_time}}</text></view><view><text class="{{[item.apply_status.text=='审核通过'?'green':'gray9']}}">{{item.apply_status.text}}</text><text class="red ml20">{{''+item.money+"元"}}</text></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="098cdc77-1" loadingType="{{loadingType}}" bind:__l="__l"></uni-load-more></block></view></scroll-view></view>
|
||||
Reference in New Issue
Block a user