first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:09:02 +08:00
commit dac42e3b0c
3512 changed files with 181637 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),r=require("../../api/api.js");if(!Array){e.resolveComponent("up-input")()}Math;const n={__name:"addBankCard",setup(n){e.ref(""),e.ref(null);let a=e.reactive({type:1});e.onLoad((e=>{a.type=e.type}));let o=async()=>{2==a.type?(a.taxNo="",a.bankName=""):a.bankName="",await r.addUsersAccountInfo(a),e.index.showToast({title:"添加成功",icon:"none"}),setTimeout((()=>{e.index.navigateBack()}),1500)};return(r,n)=>e.e({a:e.t(1==e.unref(a).type?"姓名":"企业名称"),b:e.o((r=>e.unref(a).name=r)),c:e.p({border:!1,placeholder:"请输入",modelValue:e.unref(a).name}),d:1==e.unref(a).type},1==e.unref(a).type?{e:e.o((r=>e.unref(a).phone=r)),f:e.p({border:!1,placeholder:"请输入",modelValue:e.unref(a).phone})}:{},{g:1==e.unref(a).type},1==e.unref(a).type?{h:e.o((r=>e.unref(a).idCard=r)),i:e.p({border:!1,placeholder:"请输入",modelValue:e.unref(a).idCard})}:{},{j:2==e.unref(a).type},(e.unref(a).type,{}),{k:2==e.unref(a).type},2==e.unref(a).type?{l:e.o((r=>e.unref(a).subbranchName=r)),m:e.p({border:!1,placeholder:"请输入",modelValue:e.unref(a).subbranchName})}:{},{n:e.o((r=>e.unref(a).bankCard=r)),o:e.p({border:!1,placeholder:"请输入",modelValue:e.unref(a).bankCard}),p:e.o(((...r)=>e.unref(o)&&e.unref(o)(...r)))})}},a=e._export_sfc(n,[["__scopeId","data-v-4f1ffb96"]]);wx.createPage(a);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "添加银行卡",
"usingComponents": {
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
}
}

View File

@@ -0,0 +1 @@
<view class="addBankCard p30 data-v-4f1ffb96"><view class="data-v-4f1ffb96" style="height:30rpx"></view><view class="data-v-4f1ffb96"><view class="addBankCard_input_tit data-v-4f1ffb96">请输入{{a}}</view><view class="addBankCard_input data-v-4f1ffb96"><up-input wx:if="{{c}}" class="data-v-4f1ffb96" u-i="4f1ffb96-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></up-input></view><view wx:if="{{d}}" class="data-v-4f1ffb96"><view class="addBankCard_input_tit data-v-4f1ffb96">请输入手机号:</view><view class="addBankCard_input data-v-4f1ffb96"><up-input wx:if="{{f}}" class="data-v-4f1ffb96" u-i="4f1ffb96-1" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"></up-input></view></view><view wx:if="{{g}}" class="data-v-4f1ffb96"><view class="addBankCard_input_tit data-v-4f1ffb96">请输入身份证号:</view><view class="addBankCard_input data-v-4f1ffb96"><up-input wx:if="{{i}}" class="data-v-4f1ffb96" u-i="4f1ffb96-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-input></view></view><view wx:if="{{j}}" class="addBankCard_input_tit data-v-4f1ffb96">请输入开户行:</view><view wx:if="{{k}}" class="addBankCard_input data-v-4f1ffb96"><up-input wx:if="{{m}}" class="data-v-4f1ffb96" u-i="4f1ffb96-3" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"></up-input></view><view class="addBankCard_input_tit data-v-4f1ffb96">请输入银行卡卡号:</view><view class="addBankCard_input data-v-4f1ffb96"><up-input wx:if="{{o}}" class="data-v-4f1ffb96" u-i="4f1ffb96-4" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"></up-input></view></view><view class="data-v-4f1ffb96" style="margin:30rpx 0"><view class="data-v-4f1ffb96" style="font-size:28rpx;color:coral">请仔细核对信息,填写错误会导致提现失败。</view></view><view class="data-v-4f1ffb96" style="display:flex;justify-content:center"><view class="addBankCard_btn data-v-4f1ffb96" bindtap="{{p}}">确定</view></view></view>

View File

@@ -0,0 +1 @@
.addBankCard_input.data-v-4f1ffb96{width:690rpx;height:70rpx;background:#fff;border-radius:8rpx;display:flex;align-items:center;flex-direction:row;justify-content:start;margin-bottom:30rpx;padding:0 30rpx}.addBankCard_input_tit.data-v-4f1ffb96{width:100%;font-weight:700;font-size:26rpx;color:#232323;margin-bottom:20rpx}.addBankCard_btn.data-v-4f1ffb96{width:488rpx;height:86rpx;background:#4874e5;border-radius:44rpx;display:flex;align-items:center;flex-direction:row;justify-content:center;font-weight:700;font-size:28rpx;color:#fff}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),n=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("u-tag")+e.resolveComponent("z-paging"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-tag/u-tag.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js"))();const a={__name:"bankCard",setup(a){const o=e.ref(null);let t=e.ref([]),s=e.ref(1),u=e.ref("");e.onShow((()=>{1!=s.value&&o.value.reload(),s.value++})),e.onLoad((e=>{u.value=e.type}));let i=()=>{e.index.showActionSheet({itemList:["个人","企业"],success:n=>{n.tapIndex+1==0?console.log("选中了第"+(n.tapIndex+1)+"个按钮"):e.index.navigateTo({url:`/pages/wallet/addBankCard?type=${n.tapIndex+1}`})},fail:function(e){console.log(e.errMsg)}})};const c=(e,a)=>{const t={current:e,pageSize:a};n.getUsersAccountInfo(t).then((e=>{o.value.complete(e)})).catch((e=>{o.value.complete(!1)}))};let l=n=>{u.value&&(e.index.$emit("bank",n),e.index.navigateBack())};return(n,a)=>({a:e.p({name:"plus",color:"#333",size:"28"}),b:e.o(((...n)=>e.unref(i)&&e.unref(i)(...n))),c:e.f(e.unref(t),((n,a,o)=>e.e({a:"26a2a81c-2-"+o+",26a2a81c-0",b:e.p({text:1==n.type?"个人":"企业",size:"mini",type:1==n.type?"success":"error",plain:!0,plainFill:!0}),c:e.t(n.name),d:e.t(n.phone||""),e:2==n.type},2==n.type?{f:e.t(n.subbranchName)}:{},{g:e.t(n.bankCard),h:a,i:e.o((a=>e.unref(l)(n)),a)}))),d:e.sr(o,"26a2a81c-0",{k:"paging"}),e:e.o(c),f:e.o((n=>e.isRef(t)?t.value=n:t=n)),g:e.p({modelValue:e.unref(t)})})}},o=e._export_sfc(a,[["__scopeId","data-v-26a2a81c"]]);wx.createPage(o);

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "银行卡",
"usingComponents": {
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
"u-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="bankCard data-v-26a2a81c"><z-paging wx:if="{{g}}" class="r data-v-26a2a81c" u-s="{{['d']}}" u-r="paging" bindquery="{{e}}" u-i="26a2a81c-0" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><view class="p30 data-v-26a2a81c"><view class="bankCard_add data-v-26a2a81c" bindtap="{{b}}"><up-icon wx:if="{{a}}" class="data-v-26a2a81c" u-i="26a2a81c-1,26a2a81c-0" bind:__l="__l" u-p="{{a}}"></up-icon><view class="data-v-26a2a81c" style="font-size:26rpx;color:#333;margin-top:15rpx">添加银行卡</view></view></view><view class="data-v-26a2a81c" style="height:30rpx"></view><view wx:for="{{c}}" wx:for-item="item" wx:key="h" class="data-v-26a2a81c" bindtap="{{item.i}}"><view class="p30 data-v-26a2a81c"><view class="data-v-26a2a81c" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx"><view class="u-flex u-flex-y-center data-v-26a2a81c" style="font-size:28rpx"><view class="data-v-26a2a81c"><u-tag wx:if="{{item.b}}" class="data-v-26a2a81c" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></u-tag></view><view class="data-v-26a2a81c" style="width:30rpx"></view><view class="data-v-26a2a81c" style="font-size:26rpx">{{item.c}}</view><view class="data-v-26a2a81c" style="width:30rpx"></view><view class="data-v-26a2a81c" style="font-size:26rpx">{{item.d}}</view></view><view class="data-v-26a2a81c" style="height:20rpx"></view><view class="data-v-26a2a81c" style="color:#232323"><view wx:if="{{item.e}}" class="data-v-26a2a81c" style="font-size:28rpx">开户行:{{item.f}}</view><view class="data-v-26a2a81c" style="height:10rpx"></view><view class="data-v-26a2a81c" style="font-size:28rpx">银行卡号:{{item.g}}</view><view class="data-v-26a2a81c" style="height:10rpx"></view></view></view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.bankCard_add.data-v-26a2a81c{width:690rpx;height:174rpx;background:#eee;border-radius:16rpx;display:flex;align-items:center;flex-direction:column;justify-content:center;margin-top:30rpx}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");require("../../store/index.js");const r=require("../../money.js");if(!Array){e.resolveComponent("z-paging")()}Math;const t={__name:"freezeEarnings",setup(t){e.ref({});const a=e.ref(null);let n=e.ref([]),c=e.reactive({type:""}),s=()=>!a.value;e.onPullDownRefresh((()=>{s()||a.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{s()||(a.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&a.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{s()||a.value.pageReachBottom()}));const l=(e,r)=>{const t={current:e,pageSize:r,...c};o.freezeIncomeRecord(t).then((e=>{a.value.complete(e)})).catch((e=>{a.value.complete(!1)}))};return(o,t)=>({a:e.f(e.unref(n),((o,t,a)=>e.e({a:e.t(o.recordName),b:e.t(e.unref(r.moneyJson).find((e=>e.id==o.type)).name),c:o.incomeDate},o.incomeDate?{d:e.t(o.incomeDate||"-")}:{},{e:e.t(o.createTime),f:e.t(o.freezePoints),g:t}))),b:e.sr(a,"61d45309-0",{k:"paging"}),c:e.o(l),d:e.o((o=>e.isRef(n)?n.value=o:n=o)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(n)})})}},a=e._export_sfc(t,[["__scopeId","data-v-61d45309"]]);t.__runtimeHooks=1,wx.createPage(a);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "冻结基础收益",
"usingComponents": {
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="earnings p30 data-v-61d45309"><z-paging wx:if="{{e}}" class="r data-v-61d45309" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="61d45309-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="g" class="mt30 wallet_list data-v-61d45309"><view class="wallet_list_left data-v-61d45309"><view class="data-v-61d45309">{{item.a}}</view><view class="data-v-61d45309">{{item.b}}</view><view wx:if="{{item.c}}" class="data-v-61d45309">收益日期:{{item.d}}</view><view class="data-v-61d45309">{{item.e}}</view></view><view class="wallet_list_right data-v-61d45309">{{item.f}}元</view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.wallet_pall.data-v-61d45309{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-61d45309{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-61d45309{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-61d45309:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-61d45309:nth-child(2){width:128rpx;height:58rpx;background:rgba(0,46,164,.07);border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#002ea4}.wallet_list.data-v-61d45309{width:690rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-61d45309:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-61d45309:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-61d45309:nth-child(3){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-61d45309:nth-child(4){font-size:24rpx;color:#232323}.wallet_list_right.data-v-61d45309{font-weight:700;font-size:28rpx;color:#ff2727}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");require("../../store/index.js");const r=require("../../money.js");if(!Array){e.resolveComponent("z-paging")()}Math;const a={__name:"freezeMoney",setup(a){e.ref({});const t=e.ref(null);let n=e.ref([]),c=e.reactive({type:""}),l=()=>!t.value;e.onPullDownRefresh((()=>{l()||t.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{l()||(t.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&t.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{l()||t.value.pageReachBottom()}));const s=(e,r)=>{const a={current:e,pageSize:r,...c};o.freezeWalletRecord(a).then((e=>{t.value.complete(e)})).catch((e=>{t.value.complete(!1)}))};return(o,a)=>({a:e.f(e.unref(n),((o,a,t)=>e.e({a:e.t(o.recordName),b:e.t(e.unref(r.moneyJson).find((e=>e.id==o.type)).name),c:o.incomeDate},o.incomeDate?{d:e.t(o.incomeDate||"-")}:{},{e:e.t(o.createTime),f:e.t(o.freezePoints),g:a}))),b:e.sr(t,"946a45d9-0",{k:"paging"}),c:e.o(s),d:e.o((o=>e.isRef(n)?n.value=o:n=o)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(n)})})}},t=e._export_sfc(a,[["__scopeId","data-v-946a45d9"]]);a.__runtimeHooks=1,wx.createPage(t);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "冻结增值收益",
"usingComponents": {
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="earnings p30 data-v-946a45d9"><z-paging wx:if="{{e}}" class="r data-v-946a45d9" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="946a45d9-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="g" class="mt30 wallet_list data-v-946a45d9"><view class="wallet_list_left data-v-946a45d9"><view class="data-v-946a45d9">{{item.a}}</view><view class="data-v-946a45d9">{{item.b}}</view><view wx:if="{{item.c}}" class="data-v-946a45d9">收益日期:{{item.d}}</view><view class="data-v-946a45d9">{{item.e}}</view></view><view class="wallet_list_right data-v-946a45d9">{{item.f}}元</view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.wallet_pall.data-v-946a45d9{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-946a45d9{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-946a45d9{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-946a45d9:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-946a45d9:nth-child(2){width:128rpx;height:58rpx;background:rgba(0,46,164,.07);border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#002ea4}.wallet_list.data-v-946a45d9{width:690rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-946a45d9:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-946a45d9:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-946a45d9:nth-child(3){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-946a45d9:nth-child(4){font-size:24rpx;color:#232323}.wallet_list_right.data-v-946a45d9{font-weight:700;font-size:28rpx;color:#ff2727}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");require("../../store/index.js");const t=require("../../money.js");if(!Array){(e.resolveComponent("zxz-uni-data-select")+e.resolveComponent("up-tag")+e.resolveComponent("z-paging"))()}Math||((()=>"../../uni_modules/zxz-uni-data-select/components/zxz-uni-data-select/zxz-uni-data-select.js")+(()=>"../../uni_modules/uview-plus/components/u-tag/u-tag.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js"))();const n={__name:"incomeList",setup(n){let a=e.computed((()=>t.moneyJson.map(((e,o)=>({text:e.name,value:e.id})))));const l=e=>{i.value.reload()};e.ref({});const i=e.ref(null);let c=e.ref([]),r=e.reactive({type:""}),s=()=>!i.value;e.onPullDownRefresh((()=>{s()||i.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{s()||(i.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&i.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{s()||i.value.pageReachBottom()}));const p=(e,t)=>{const n={current:e,pageSize:t,...r};o.getUsersPointRecord(n).then((e=>{i.value.complete(e)})).catch((e=>{i.value.complete(!1)}))};return(o,n)=>({a:e.o(l),b:e.o((o=>e.unref(r).type=o)),c:e.p({clear:!0,filterable:!0,localdata:e.unref(a),modelValue:e.unref(r).type}),d:e.f(e.unref(c),((o,n,a)=>e.e({a:e.t(e.unref(t.moneyJson).find((e=>e.id==o.type)).name),b:e.t(o.recordName||"-"),c:o.incomeDate},o.incomeDate?{d:e.t(o.incomeDate||"-")}:{},{e:e.t(o.createTime),f:2==o.pointType},2==o.pointType?{g:"30a615c3-2-"+a+",30a615c3-0",h:e.p({size:"mini",text:"增值收益",type:"warning",plain:!0,plainFill:!0})}:{},{i:1==o.pointType},1==o.pointType?{j:"30a615c3-3-"+a+",30a615c3-0",k:e.p({size:"mini",text:"基础收益",plain:!0,plainFill:!0})}:{},{l:e.t(o.points),m:n}))),e:e.sr(i,"30a615c3-0",{k:"paging"}),f:e.o(p),g:e.o((o=>e.isRef(c)?c.value=o:c=o)),h:e.p({"use-page-scroll":!0,modelValue:e.unref(c)})})}},a=e._export_sfc(n,[["__scopeId","data-v-30a615c3"]]);n.__runtimeHooks=1,wx.createPage(a);

View File

@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "收支明细",
"usingComponents": {
"zxz-uni-data-select": "../../uni_modules/zxz-uni-data-select/components/zxz-uni-data-select/zxz-uni-data-select",
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="earnings p30 data-v-30a615c3"><z-paging wx:if="{{h}}" class="r data-v-30a615c3" u-s="{{['d']}}" u-r="paging" bindquery="{{f}}" u-i="30a615c3-0" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><zxz-uni-data-select wx:if="{{c}}" class="data-v-30a615c3" bindchange="{{a}}" u-i="30a615c3-1,30a615c3-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></zxz-uni-data-select><view wx:for="{{d}}" wx:for-item="item" wx:key="m" class="mt30 wallet_list data-v-30a615c3"><view class="wallet_list_left data-v-30a615c3"><view class="data-v-30a615c3">{{item.a}}</view><view class="data-v-30a615c3">{{item.b}}</view><view wx:if="{{item.c}}" class="data-v-30a615c3">收益日期:{{item.d}}</view><view class="data-v-30a615c3">{{item.e}}</view></view><view class="wallet_list_right data-v-30a615c3" style="display:flex;flex-direction:column;align-items:flex-end"><view class="data-v-30a615c3" style="margin-bottom:10rpx;width:130rpx"><view class="data-v-30a615c3"></view><up-tag wx:if="{{item.f}}" class="data-v-30a615c3" u-i="{{item.g}}" bind:__l="__l" u-p="{{item.h}}"></up-tag><up-tag wx:if="{{item.i}}" class="data-v-30a615c3" u-i="{{item.j}}" bind:__l="__l" u-p="{{item.k}}"></up-tag></view><view class="data-v-30a615c3">{{item.l}}元</view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.wallet_pall.data-v-30a615c3{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-30a615c3{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-30a615c3{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-30a615c3:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-30a615c3:nth-child(2){width:128rpx;height:58rpx;background:rgba(0,46,164,.07);border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#002ea4}.wallet_list.data-v-30a615c3{width:690rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-30a615c3:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-30a615c3:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-30a615c3:nth-child(3){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-30a615c3:nth-child(4){font-size:24rpx;color:#232323}.wallet_list_right.data-v-30a615c3{font-weight:700;font-size:28rpx;color:#ff2727}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js"),n=require("../../money.js"),t=require("../../hooks/useNav.js"),a=require("../../uni_modules/uview-plus/libs/function/index.js");if(!Array){(e.resolveComponent("uni-section")+e.resolveComponent("z-paging"))()}Math||((()=>"../../uni_modules/uni-section/components/uni-section/uni-section.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js"))();const s={__name:"wallet",setup(s){const{nav:r,navTo:u}=t.useNav();let i=e.ref({});const l=e.ref(null);let c=e.ref([]),p=e.ref(1),m=()=>!l.value;e.onShow((async()=>{let e=await o.userInfo();i.value=e,1!=p.value&&l.value.reload(),p.value++})),e.onPullDownRefresh((()=>{m()||l.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{m()||(l.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&l.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{m()||l.value.pageReachBottom()}));const d=(e,t)=>{console.log(n.moneyJson);const a={current:e,pageSize:t};o.getUsersPoint2Info(a).then((e=>{l.value.complete(e.records)})).catch((e=>{l.value.complete(!1)}))};return(o,t)=>({a:e.t(e.unref(i).points2||"0.00"),b:e.o((o=>e.unref(u)("/pages/mine/topUp",!0))),c:e.o((o=>e.unref(u)("/pages/mine/transferBalance",!0))),d:e.p({title:"明细",type:"line",titleFontSize:"32rpx"}),e:e.f(e.unref(c),((o,t,s)=>({a:e.t(e.unref(n.moneyJson).find((e=>e.id==o.type)).name),b:e.t(e.unref(a.timeFormat)(new Date(o.createTime).getTime(),"yyyy-mm-dd hh:MM")),c:e.t(o.points),d:t}))),f:e.sr(l,"4d2332d8-0",{k:"paging"}),g:e.o(d),h:e.o((o=>e.isRef(c)?c.value=o:c=o)),i:e.p({"use-page-scroll":!0,modelValue:e.unref(c)})})}},r=e._export_sfc(s,[["__scopeId","data-v-4d2332d8"]]);s.__runtimeHooks=1,wx.createPage(r);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "钱包",
"usingComponents": {
"uni-section": "../../uni_modules/uni-section/components/uni-section/uni-section",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="wallet p30 data-v-4d2332d8"><z-paging wx:if="{{i}}" class="r data-v-4d2332d8" u-s="{{['d']}}" u-r="paging" bindquery="{{g}}" u-i="4d2332d8-0" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><view class="wallet_pall data-v-4d2332d8"><view class="wallet_pall_header data-v-4d2332d8"> 当前余额(元) </view><view class="wallet_pall_ye data-v-4d2332d8"><view class="data-v-4d2332d8">{{a}}</view></view></view><view class="data-v-4d2332d8" style="padding:15rpx 30rpx;display:flex;align-items:center;background:#3864d6;border-radius:0 0 16rpx 16rpx"><view class="data-v-4d2332d8" bindtap="{{b}}" style="width:330rpx;text-align:center;color:#fff">充值</view><view class="data-v-4d2332d8" bindtap="{{c}}" style="width:330rpx;text-align:center;color:#fff">收益转入</view></view><view class="mt30 data-v-4d2332d8"><uni-section wx:if="{{d}}" class="data-v-4d2332d8" u-i="4d2332d8-1,4d2332d8-0" bind:__l="__l" u-p="{{d}}"></uni-section></view><view wx:for="{{e}}" wx:for-item="item" wx:key="d" class="mt30 wallet_list data-v-4d2332d8"><view class="wallet_list_left data-v-4d2332d8"><view class="data-v-4d2332d8">{{item.a}}</view><view class="data-v-4d2332d8">{{item.b}}</view></view><view class="wallet_list_right data-v-4d2332d8">{{item.c}}元</view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.wallet_pall.data-v-4d2332d8{height:272rpx;background:linear-gradient(179deg,#4874e5,#3864d6);border-radius:16rpx 16rpx 0 0;padding:40rpx;border-bottom:1rpx solid rgba(153,153,153,.6)}.wallet_pall_header.data-v-4d2332d8{font-weight:700;font-size:26rpx;color:#fff;display:flex;align-items:center;justify-content:space-between}.wallet_pall_header view.data-v-4d2332d8{width:128rpx;height:58rpx;background:#fff;border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#4874e5}.wallet_pall_ye.data-v-4d2332d8{display:flex;align-items:center;justify-content:space-between;height:100%}.wallet_pall_ye view.data-v-4d2332d8:nth-child(1){font-weight:700;font-size:68rpx;color:#fff}.wallet_pall_ye view.data-v-4d2332d8:nth-child(2){width:128rpx;height:58rpx;background:#fff;border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#4874e5}.wallet_list.data-v-4d2332d8{width:690rpx;height:120rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-4d2332d8:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-4d2332d8:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_right.data-v-4d2332d8{font-weight:700;font-size:28rpx;color:#ff2727}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),n=require("../../common/assets.js"),o=require("../../api/api.js");if(!Array){(e.resolveComponent("u-tag")+e.resolveComponent("up-input")+e.resolveComponent("up-code")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-tag/u-tag.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-code/u-code.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const t={__name:"withdraw",setup(t){e.ref();let u=e.ref({}),s=e.ref([]),r=e.ref(""),a=e.ref(null),i=e.reactive({points:"",smsCode:"",bankCardId:""}),l=e.ref();e.onLoad((async()=>{let n=await o.userInfo();u.value=n;const{configValue:t}=await o.getAppConfig({configKey:"WITHDRAWAL"});s.value=JSON.parse(t),e.index.$on("bank",(e=>{l.value=e,i.bankCardId=e.id,console.log(e)}))}));let p=()=>{e.index.navigateTo({url:"/pages/wallet/bankCard?type=xz"})},d=e=>{r.value=e},f=()=>{if(console.log(123456),!u.value.phone)return e.index.showToast({title:"请输入手机号",icon:"none"});a.value.canGetCode?(e.index.showLoading({title:"正在获取验证码"}),o.smsCode({phone:u.value.phone}).then((n=>{e.index.hideLoading(),e.index.$u.toast("验证码已发送"),a.value.start()}))):e.index.$u.toast("倒计时结束后再发送")},c=async()=>(console.log(u.value.points1,"getInfo.value.points1"),console.log(i.points,"dataFrom.points"),Number(u.value.points1)<Number(i.points)?e.index.showToast({title:"可提现金额不足",icon:"none"}):i.bankCardId?i.points?i.smsCode?(await o.userExtract(i),void e.index.showModal({title:"提示",content:"提交成功",showCancel:!1,success(){e.index.navigateBack()}})):e.index.showToast({title:"请输入验证码",icon:"none"}):e.index.showToast({title:"请输入提现金额",icon:"none"}):e.index.showToast({title:"请先选择提现银行卡",icon:"none"}));return(o,t)=>e.e({a:n._imports_0$4,b:e.o(((...n)=>e.unref(p)&&e.unref(p)(...n))),c:e.unref(l)},e.unref(l)?e.e({d:e.p({text:1==e.unref(l).type?"个人":"企业",size:"mini",type:1==e.unref(l).type?"success":"error",plain:!0,plainFill:!0}),e:e.t(e.unref(l).name),f:e.t(e.unref(l).phone||""),g:2==e.unref(l).type},2==e.unref(l).type?{h:e.t(e.unref(l).subbranchName)}:{},{i:e.t(e.unref(l).bankCard)}):{},{j:e.o((n=>e.unref(i).points=n)),k:e.p({fontSize:"36rpx",placeholder:"请输入金额",border:!1,modelValue:e.unref(i).points}),l:e.o((n=>e.unref(i).points=e.unref(u).points1)),m:e.o((n=>e.unref(u).phone=n)),n:e.p({border:!1,disabled:!0,modelValue:e.unref(u).phone}),o:e.o((n=>e.unref(i).smsCode=n)),p:e.p({placeholder:"请输入验证码",border:!1,modelValue:e.unref(i).smsCode}),q:e.sr(a,"47638ad0-4",{k:"uCode"}),r:e.o(e.unref(d)),s:e.p({"keep-running":!0,"start-text":"点我获取验证码"}),t:e.t(e.unref(r)),v:e.o(e.unref(f)),w:e.p({color:"#4874e5"}),x:e.t(e.unref(u).points1),y:e.t(e.unref(s).minMoney),z:e.t(e.unref(s).free),A:e.t(e.unref(s).monthQuota),B:e.o(((...n)=>e.unref(c)&&e.unref(c)(...n)))})}},u=e._export_sfc(t,[["__scopeId","data-v-47638ad0"]]);wx.createPage(u);

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "提现",
"usingComponents": {
"u-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
}
}

View File

@@ -0,0 +1 @@
<view class="withdraw p30 data-v-47638ad0"><view class="withdraw_k data-v-47638ad0" bindtap="{{b}}"><view class="withdraw_k_tit data-v-47638ad0">提现到</view><view class="withdraw_k_input data-v-47638ad0">请选择银行卡</view><image class="withdraw_k_img data-v-47638ad0" src="{{a}}"></image></view><view wx:if="{{c}}" class="data-v-47638ad0"><view class="data-v-47638ad0" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx"><view class="u-flex u-flex-y-center data-v-47638ad0" style="font-size:28rpx"><view class="data-v-47638ad0"><u-tag wx:if="{{d}}" class="data-v-47638ad0" u-i="47638ad0-0" bind:__l="__l" u-p="{{d}}"></u-tag></view><view class="data-v-47638ad0" style="width:30rpx"></view><view class="data-v-47638ad0" style="font-size:26rpx">{{e}}</view><view class="data-v-47638ad0" style="width:30rpx"></view><view class="data-v-47638ad0" style="font-size:26rpx">{{f}}</view></view><view class="data-v-47638ad0" style="height:20rpx"></view><view class="data-v-47638ad0" style="color:#232323"><view wx:if="{{g}}" class="data-v-47638ad0" style="font-size:28rpx">开户行:{{h}}</view><view class="data-v-47638ad0" style="height:10rpx"></view><view class="data-v-47638ad0" style="font-size:28rpx">银行卡号:{{i}}</view><view class="data-v-47638ad0" style="height:10rpx"></view></view></view></view><view class="withdraw_mon data-v-47638ad0"><view class="withdraw_mon_tit data-v-47638ad0">提现金额</view><view class="withdraw_mon_input data-v-47638ad0"><view class="withdraw_mon_input_fu data-v-47638ad0">¥</view><view class="data-v-47638ad0"><up-input wx:if="{{k}}" class="data-v-47638ad0" u-i="47638ad0-1" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></up-input></view><view class="withdraw_mon_input_note data-v-47638ad0" bindtap="{{l}}">全部提现</view></view><view class="data-v-47638ad0"><up-input wx:if="{{n}}" class="data-v-47638ad0" u-i="47638ad0-2" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></up-input></view><view class="withdraw_mon_input data-v-47638ad0"><up-input wx:if="{{p}}" class="data-v-47638ad0" u-i="47638ad0-3" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></up-input><view class="data-v-47638ad0" style="width:250rpx"><up-code wx:if="{{s}}" class="r data-v-47638ad0" u-r="uCode" bindchange="{{r}}" u-i="47638ad0-4" bind:__l="__l" u-p="{{s}}"></up-code><up-button wx:if="{{w}}" class="data-v-47638ad0" u-s="{{['d']}}" bindclick="{{v}}" u-i="47638ad0-5" bind:__l="__l" u-p="{{w}}">{{t}}</up-button></view></view><view class="withdraw_mon_note data-v-47638ad0">可提现金额:¥{{x}}</view><view class="withdraw_mon_note data-v-47638ad0">最小可提现金额为¥{{y}}</view><view class="withdraw_mon_note data-v-47638ad0">私户每100.00元提现手续费为{{z}}%</view></view><view class="withdraw_note data-v-47638ad0"><view class="withdraw_note_tit data-v-47638ad0" style="font-weight:bold;font-size:26rpx">提现规则:</view><view class="withdraw_note_s data-v-47638ad0">1.每月1号、11号、21号可提现到账时间T+1</view><view class="withdraw_note_s data-v-47638ad0">2.提现年龄是18-60岁</view><view class="withdraw_note_s data-v-47638ad0">3.提现银行卡是常用的一类银行,否则会有限额</view><view class="withdraw_note_s data-v-47638ad0">4.一月不能超{{A}}元,如遇超出 提现后管理人员会联系您</view><view class="withdraw_note_s data-v-47638ad0">5.提现次数不限、公户无限额、无手续费</view></view><view class="data-v-47638ad0" style="height:50rpx"></view><view class="data-v-47638ad0" style="display:flex;justify-content:center;margin-top:80rpx"><view class="affirm_btn data-v-47638ad0" bindtap="{{B}}">立即提现</view></view><view class="data-v-47638ad0" style="height:50rpx"></view></view>

View File

@@ -0,0 +1 @@
.withdraw_k.data-v-47638ad0{width:100%;height:74rpx;padding:0 20rpx;background:#fff;border-radius:8rpx;display:flex;align-items:center;justify-content:space-between;margin-bottom:30rpx}.withdraw_k_tit.data-v-47638ad0{font-weight:700;font-size:24rpx;color:#232323;margin-right:100rpx}.withdraw_k_input.data-v-47638ad0{flex:1;text-align:right;font-size:28rpx}.withdraw_k_img.data-v-47638ad0{width:44rpx;height:44rpx}.withdraw_mon.data-v-47638ad0{padding:20rpx;background:#fff;border-radius:8rpx}.withdraw_mon_tit.data-v-47638ad0{font-weight:700;font-size:24rpx;color:#232323}.withdraw_mon_input.data-v-47638ad0{display:flex;align-items:center;justify-content:space-between;border-bottom:2rpx solid #cccccc;padding:15rpx 0;margin-bottom:20rpx}.withdraw_mon_input_fu.data-v-47638ad0{font-weight:700;font-size:66rpx;color:#232323}.withdraw_mon_input_note.data-v-47638ad0{font-weight:700;font-size:24rpx;color:#f77}.withdraw_mon_note.data-v-47638ad0{font-weight:400;font-size:24rpx;color:#232323;margin-bottom:10rpx}.withdraw_note.data-v-47638ad0{margin-top:30rpx;padding:0 15rpx}.withdraw_note view.data-v-47638ad0{margin-bottom:15rpx;font-weight:400;font-size:26rpx;color:#232323;line-height:40rpx}.affirm_btn.data-v-47638ad0{width:650rpx;height:78rpx;background:#4874e5;border-radius:12rpx;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:24rpx;color:#fff}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const t=require("../../api/api.js");require("../../store/index.js");const s=require("../../uni_modules/uview-plus/libs/function/index.js");if(!Array){(e.resolveComponent("up-tag")+e.resolveComponent("z-paging"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-tag/u-tag.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js"))();const a={__name:"withdrawList",setup(a){e.ref({});const n=e.ref(null);let o=e.ref([]),i=()=>!n.value;e.onPullDownRefresh((()=>{i()||n.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{i()||(n.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&n.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{i()||n.value.pageReachBottom()}));const r=(e,s)=>{const a={current:e,pageSize:s};t.userExtractList(a).then((e=>{n.value.complete(e.records)})).catch((e=>{n.value.complete(!1)}))};return(t,a)=>({a:e.f(e.unref(o),((t,a,n)=>e.e({a:e.t(1==t.type?"提现人":"提现公司"),b:e.t(t.name),c:e.t(t.bankName),d:e.t(t.subbranchName),e:e.t(t.bankCard),f:e.t(e.unref(s.timeFormat)(new Date(t.createTime).getTime(),"yyyy-mm-dd hh:MM:ss")),g:e.t(t.completeTime?e.unref(s.timeFormat)(new Date(t.completeTime).getTime(),"yyyy-mm-dd hh:MM:ss"):"-"),h:e.t(t.handleMessage||"-"),i:0==t.status},0==t.status?{j:"315cdde9-1-"+n+",315cdde9-0",k:e.p({size:"mini",text:"申请中",type:"warning",plain:!0,plainFill:!0})}:{},{l:1==t.status},1==t.status?{m:"315cdde9-2-"+n+",315cdde9-0",n:e.p({size:"mini",type:"success",text:"提现成功",plain:!0,plainFill:!0})}:{},{o:-1==t.status},-1==t.status?{p:"315cdde9-3-"+n+",315cdde9-0",q:e.p({size:"mini",type:"error",text:"失败",plain:!0,plainFill:!0})}:{},{r:e.t(t.points),s:a}))),b:e.sr(n,"315cdde9-0",{k:"paging"}),c:e.o(r),d:e.o((t=>e.isRef(o)?o.value=t:o=t)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(o)})})}},n=e._export_sfc(a,[["__scopeId","data-v-315cdde9"]]);a.__runtimeHooks=1,wx.createPage(n);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "提现明细",
"usingComponents": {
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="earnings p30 data-v-315cdde9"><z-paging wx:if="{{e}}" class="r data-v-315cdde9" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="315cdde9-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="s" class="mt30 wallet_list data-v-315cdde9"><view class="wallet_list_left data-v-315cdde9"><view class="data-v-315cdde9">{{item.a}}{{item.b}}</view><view class="data-v-315cdde9">银行名称:{{item.c}}</view><view class="data-v-315cdde9">支行名称:{{item.d}}</view><view class="data-v-315cdde9">银行卡号:{{item.e}}</view><view class="data-v-315cdde9">提现时间:{{item.f}}</view><view class="data-v-315cdde9">处理时间:{{item.g}}</view><view class="data-v-315cdde9">处理结果:{{item.h}}</view></view><view class="wallet_list_right data-v-315cdde9" style="display:flex;flex-direction:column;align-items:flex-end;height:320rpx"><view class="data-v-315cdde9" style="margin-bottom:100rpx"><view class="data-v-315cdde9"></view><up-tag wx:if="{{item.i}}" class="data-v-315cdde9" u-i="{{item.j}}" bind:__l="__l" u-p="{{item.k}}"></up-tag><up-tag wx:if="{{item.l}}" class="data-v-315cdde9" u-i="{{item.m}}" bind:__l="__l" u-p="{{item.n}}"></up-tag><up-tag wx:if="{{item.o}}" class="data-v-315cdde9" u-i="{{item.p}}" bind:__l="__l" u-p="{{item.q}}"></up-tag></view><view class="data-v-315cdde9">{{item.r}}元</view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.wallet_pall.data-v-315cdde9{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-315cdde9{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-315cdde9{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-315cdde9:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-315cdde9:nth-child(2){width:128rpx;height:58rpx;background:rgba(0,46,164,.07);border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#002ea4}.wallet_list.data-v-315cdde9{width:690rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-315cdde9{font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_right.data-v-315cdde9{font-weight:700;font-size:28rpx;color:#ff2727}