first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:10:55 +08:00
commit 1c24452b6c
1735 changed files with 150474 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),o=require("../../api/index.js"),n=require("../../store/index.js"),t=require("../../utils/fun.js");if(!Array){(e.resolveComponent("wd-navbar")+e.resolveComponent("wd-picker")+e.resolveComponent("z-paging"))()}Math||((()=>"../../uni_modules/wot-design-uni/components/wd-navbar/wd-navbar.js")+(()=>"../../uni_modules/wot-design-uni/components/wd-picker/wd-picker.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js"))();const l=e.defineComponent({__name:"list",setup(l){const r=n.Store(),s=e.ref(null),u=e.ref([]),i=e.ref([]),p=e.ref(!0),m=e.ref(""),c=e.ref({bizType:""});e.computed((()=>r.userInfo||{inviteCode:"",nickname:"",mobile:"",avatar:"",paywallet:{balance:0}}));const d=(e,a)=>{o.api.moneyRecord({pageNo:e,pageSize:a,...c.value}).then((e=>{i.value=Object.entries(e.bizType).map((([e,a])=>({value:e,label:a}))),i.value.unshift({label:"全部",value:""}),s.value.complete(e.list)})).catch((e=>{s.value.complete(!1)}))},v=e=>{e.value?m.value=e.selectedItems.label:m.value="",s.value.reload()},f=()=>{e.index.navigateBack()};return(o,n)=>({a:e.o(f),b:e.p({title:"我的账单",bordered:!1,"left-arrow":!0,"custom-style":"background-color: transparent !important;",safeAreaInsetTop:!0}),c:a._imports_0$8,d:e.t(m.value||"筛选"),e:a._imports_1$6,f:e.o((e=>p.value=!0)),g:e.o((e=>p.value=!1)),h:e.o(v),i:e.o((e=>c.value.bizType=e)),j:e.p({columns:i.value,"use-default-slot":!0,modelValue:c.value.bizType}),k:e.f(u.value,((a,o,n)=>({a:e.t(a.title),b:e.t(e.unref(t.timeFormat)(a.createTime,"yyyy-MM-dd hh:mm:ss")),c:e.t(a.money),d:o}))),l:e.sr(s,"5fb110a8-1",{k:"paging"}),m:e.o(d),n:e.o((e=>u.value=e)),o:e.p({"refresher-enabled":p.value,"use-page-scroll":!0,modelValue:u.value})})}}),r=e._export_sfc(l,[["__scopeId","data-v-5fb110a8"]]);wx.createPage(r);

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "我的账单",
"navigationStyle": "custom",
"usingComponents": {
"wd-navbar": "../../uni_modules/wot-design-uni/components/wd-navbar/wd-navbar",
"wd-picker": "../../uni_modules/wot-design-uni/components/wd-picker/wd-picker",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="data-v-5fb110a8"><wd-navbar wx:if="{{b}}" class="data-v-5fb110a8" bindclickLeft="{{a}}" u-i="5fb110a8-0" bind:__l="__l" u-p="{{b}}"></wd-navbar><z-paging wx:if="{{o}}" class="r data-v-5fb110a8" u-s="{{['d']}}" u-r="paging" bindquery="{{m}}" u-i="5fb110a8-1" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o}}"><view class="p30 data-v-5fb110a8"><view class="data-v-5fb110a8"><view class="data-v-5fb110a8" style="display:flex;align-items:center;justify-content:space-between"><image class="data-v-5fb110a8" style="width:74rpx;height:34rpx" mode="widthFix" src="{{c}}"></image><wd-picker wx:if="{{j}}" class="data-v-5fb110a8" u-s="{{['d']}}" bindclose="{{f}}" bindopen="{{g}}" bindconfirm="{{h}}" u-i="5fb110a8-2,5fb110a8-1" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"><view class="data-v-5fb110a8" style="display:flex;align-items:center;font-size:28rpx">{{d}} <image class="data-v-5fb110a8" style="margin-left:15rpx;width:35rpx;height:35rpx" src="{{e}}"></image></view></wd-picker></view><view wx:for="{{k}}" wx:for-item="item" wx:key="d" class="wall_list data-v-5fb110a8"><view class="data-v-5fb110a8"><view class="data-v-5fb110a8" style="margin-bottom:25rpx;font-size:28rpx">{{item.a}}</view><view class="data-v-5fb110a8" style="font-size:24rpx;color:#999">{{item.b}}</view></view><view class="data-v-5fb110a8" style="font-size:32rpx;font-weight:bold;color:#799675">¥{{item.c}}</view></view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.block_wall.data-v-5fb110a8{display:flex;align-items:center;justify-content:center;flex-direction:column}.block_wall_tit.data-v-5fb110a8{display:flex;align-items:center}.wall_list.data-v-5fb110a8{width:690rpx;height:118rpx;background:#fff;box-shadow:0 2rpx 8rpx 2rpx rgba(0,88,219,.06);border-radius:8rpx;display:flex;align-items:center;justify-content:space-between;padding:0 30rpx;margin-top:30rpx}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),o=require("../../api/index.js"),t=require("../../store/index.js"),n=require("../../utils/fun.js");if(!Array){(e.resolveComponent("wd-navbar")+e.resolveComponent("wd-picker")+e.resolveComponent("z-paging"))()}Math||((()=>"../../uni_modules/wot-design-uni/components/wd-navbar/wd-navbar.js")+(()=>"../../uni_modules/wot-design-uni/components/wd-picker/wd-picker.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js"))();const r=e.defineComponent({__name:"wallet",setup(r){const l=e.ref({}),u=t.Store(),s=e.ref(null),i=e.ref([]),p=e.ref([]),c=e.ref(!0),m=e.ref(""),v=e.ref(!1),d=e.ref({bizType:""}),f=e.computed((()=>u.userInfo||{inviteCode:"",nickname:"",mobile:"",avatar:"",paywallet:{balance:0}}));e.onShow((async()=>{f.value.branchCompany&&o.api.rewardReport().then((e=>{l.value=e}))}));const _=(e,a)=>{o.api.moneyRecord({pageNo:e,pageSize:a,...d.value}).then((e=>{p.value=Object.entries(e.bizType).map((([e,a])=>({value:e,label:a}))),p.value.unshift({label:"全部",value:""}),s.value.complete(e.list)})).catch((e=>{s.value.complete(!1)}))},b=e=>{e.value?m.value=e.selectedItems.label:m.value="",s.value.reload()},w=()=>{e.index.navigateBack()},y=()=>{e.index.showModal({title:"提示",content:"每月初结算上月业绩“团队补货”为团队补货回款本月整个团队总补货回款为20W则月度团队补货收益为20W×12%=24000元",showCancel:!1})},g=()=>{v.value=!v.value},h=()=>{e.index.navigateTo({url:"/pages/wallet/zhaun"})};return(o,t)=>e.e({a:e.o(w),b:e.p({title:"钱包",bordered:!1,"left-arrow":!0,"custom-style":"background-color: transparent !important;",safeAreaInsetTop:!0}),c:a._imports_0$9,d:a._imports_1$7,e:e.o(g),f:`/static/icons/yan${v.value?"s":""}.png`,g:e.t(v.value?"****":f.value.money),h:a._imports_2$3,i:e.o(h),j:e.t(f.value.performanceReward||0),k:e.t(f.value.directReferralReward||0),l:e.t(f.value.indirectReferralReward||0),m:e.t(f.value.specialReward||0),n:f.value.branchCompany},f.value.branchCompany?{o:a._imports_3$2,p:e.o(y),q:e.t(l.value.total_monthly_performance),r:e.f(l.value.money_count,((a,o,t)=>({a:e.t(a.money||0),b:e.t(a.name),c:e.t(a.count||0),d:o}))),s:e.t(l.value.restock_reward||0)}:{},{t:a._imports_0$8,v:e.t(m.value||"筛选"),w:a._imports_1$6,x:e.o((e=>c.value=!0)),y:e.o((e=>c.value=!1)),z:e.o(b),A:e.o((e=>d.value.bizType=e)),B:e.p({columns:p.value,"use-default-slot":!0,modelValue:d.value.bizType}),C:e.f(i.value,((a,o,t)=>({a:e.t(a.title),b:e.t(e.unref(n.timeFormat)(a.createTime,"yyyy-MM-dd hh:mm:ss")),c:e.t(a.money),d:o}))),D:e.sr(s,"52fa05db-0",{k:"paging"}),E:e.o(_),F:e.o((e=>i.value=e)),G:e.p({"refresher-enabled":c.value,modelValue:i.value})})}}),l=e._export_sfc(r,[["__scopeId","data-v-52fa05db"]]);wx.createPage(l);

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"wd-navbar": "../../uni_modules/wot-design-uni/components/wd-navbar/wd-navbar",
"wd-picker": "../../uni_modules/wot-design-uni/components/wd-picker/wd-picker",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="data-v-52fa05db"><z-paging wx:if="{{G}}" class="r data-v-52fa05db" u-s="{{['d']}}" u-r="paging" bindquery="{{E}}" u-i="52fa05db-0" bind:__l="__l" bindupdateModelValue="{{F}}" u-p="{{G}}"><wd-navbar wx:if="{{b}}" class="data-v-52fa05db" bindclickLeft="{{a}}" u-i="52fa05db-1,52fa05db-0" bind:__l="__l" u-p="{{b}}"></wd-navbar><view class="p30 data-v-52fa05db"><image class="data-v-52fa05db" src="{{c}}" mode="widthFix" style="position:absolute;top:0;left:0;width:100%;z-index:-1"></image><view class="data-v-52fa05db" style="position:relative"><image class="data-v-52fa05db" src="{{d}}" style="width:690rpx;height:382rpx;position:absolute;top:0;left:0;z-index:-1"></image><view class="data-v-52fa05db" style="padding:24rpx 30rpx;font-size:36rpx;font-weight:bold;margin-bottom:24rpx">我的钱包</view><view class="data-v-52fa05db" style="display:flex;align-items:center;margin-bottom:14rpx;padding:0 30rpx"><view class="data-v-52fa05db" style="font-size:24rpx;color:#666a6d;margin:0 10rpx">我的余额(元)</view><image class="data-v-52fa05db" bindtap="{{e}}" src="{{f}}" style="width:35rpx;height:35rpx"></image></view><view class="data-v-52fa05db" style="font-size:58rpx;font-weight:bold;color:#69a24a;padding:0 30rpx;margin-bottom:25rpx;display:flex;align-items:center;justify-content:space-between">{{g}} <view class="data-v-52fa05db" bindtap="{{i}}" style="color:#8ec287;padding:8rpx 30rpx;border-radius:30rpx;font-size:28rpx;background-color:rgba(255, 255, 255, 0.8);font-weight:400;display:flex;align-items:center"><image class="data-v-52fa05db" src="{{h}}" style="width:35rpx;height:35rpx"></image><text class="data-v-52fa05db" style="margin-left:10rpx">划转</text></view></view><view class="data-v-52fa05db" style="width:690rpx;height:110rpx;background:#e9f2e7;border-radius:8rpx;display:flex;align-items:center;justify-content:space-between;padding:0 30rpx;margin-bottom:35rpx"><view class="block_wall data-v-52fa05db"><view class="block_wall_tit data-v-52fa05db" style="font-size:24rpx"><view class="data-v-52fa05db">业绩奖励</view></view><view class="data-v-52fa05db" style="font-size:32rpx;font-weight:bold">{{j}}</view></view><view class="block_wall data-v-52fa05db"><view class="block_wall_tit data-v-52fa05db" style="font-size:24rpx"><view class="data-v-52fa05db">直推奖励</view></view><view class="data-v-52fa05db" style="font-size:32rpx;font-weight:bold">{{k}}</view></view><view class="block_wall data-v-52fa05db"><view class="block_wall_tit data-v-52fa05db" style="font-size:24rpx"><view class="data-v-52fa05db">间推奖励</view></view><view class="data-v-52fa05db" style="font-size:32rpx;font-weight:bold">{{l}}</view></view><view class="block_wall data-v-52fa05db"><view class="block_wall_tit data-v-52fa05db" style="font-size:24rpx"><view class="data-v-52fa05db">特殊奖励</view></view><view class="data-v-52fa05db" style="font-size:32rpx;font-weight:bold">{{m}}</view></view></view></view><view wx:if="{{n}}" class="wallet-section data-v-52fa05db"><view class="section-title data-v-52fa05db"><view class="data-v-52fa05db"><text class="data-v-52fa05db">市场报单业绩</text><text class="data-v-52fa05db" style="font-size:24rpx;font-weight:500">(元)</text><image class="data-v-52fa05db" src="{{o}}" bindtap="{{p}}" style="width:28rpx;height:28rpx"></image></view><view class="data-v-52fa05db" style="font-size:26rpx">合计:{{q}}元</view></view><view class="wallet-cards data-v-52fa05db"><view wx:for="{{r}}" wx:for-item="item" wx:key="d" class="wallet-item data-v-52fa05db"><text class="amount red data-v-52fa05db">{{item.a}}</text><text class="label data-v-52fa05db">{{item.b}}</text><text class="desc data-v-52fa05db">已招募{{item.c}}个</text></view><view class="wallet-item data-v-52fa05db"><text class="amount data-v-52fa05db">{{s}}</text><text class="label data-v-52fa05db">团队补货</text></view></view></view><view class="data-v-52fa05db"><view class="data-v-52fa05db" style="display:flex;align-items:center;justify-content:space-between"><image class="data-v-52fa05db" style="width:74rpx;height:34rpx" mode="widthFix" src="{{t}}"></image><wd-picker wx:if="{{B}}" class="data-v-52fa05db" u-s="{{['d']}}" bindclose="{{x}}" bindopen="{{y}}" bindconfirm="{{z}}" u-i="52fa05db-2,52fa05db-0" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"><view class="data-v-52fa05db" style="display:flex;align-items:center;font-size:28rpx">{{v}} <image class="data-v-52fa05db" style="margin-left:15rpx;width:35rpx;height:35rpx" src="{{w}}"></image></view></wd-picker></view><view wx:for="{{C}}" wx:for-item="item" wx:key="d" class="wall_list data-v-52fa05db"><view class="data-v-52fa05db"><view class="data-v-52fa05db" style="margin-bottom:25rpx;font-size:28rpx">{{item.a}}</view><view class="data-v-52fa05db" style="font-size:24rpx;color:#999">{{item.b}}</view></view><view class="data-v-52fa05db" style="font-size:32rpx;font-weight:bold;color:#799675">¥{{item.c}}</view></view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.block_wall.data-v-52fa05db{display:flex;align-items:center;justify-content:center;flex-direction:column}.block_wall_tit.data-v-52fa05db{display:flex;align-items:center}.wall_list.data-v-52fa05db{width:690rpx;height:118rpx;background:#fff;box-shadow:0 2rpx 8rpx 2rpx rgba(0,88,219,.06);border-radius:8rpx;display:flex;align-items:center;justify-content:space-between;padding:0 30rpx;margin-top:30rpx}.wallet-section.data-v-52fa05db{background-color:#fff;margin:0rpx 0 20rpx;padding:30rpx;border-radius:8rpx}.section-title.data-v-52fa05db{display:flex;align-items:center;justify-content:space-between;padding:10rpx 0 20rpx;font-size:32rpx;font-weight:700;color:#333;border-bottom:1px solid #eee;margin-bottom:20rpx}.wallet-cards.data-v-52fa05db{display:flex;justify-content:space-between}.wallet-item.data-v-52fa05db{display:flex;flex-direction:column;flex:1;text-align:center;color:#333}.label.data-v-52fa05db{font-size:28rpx;color:#666}.amount.data-v-52fa05db{font-size:36rpx;font-weight:700;margin-bottom:10rpx;color:#799675}.desc.data-v-52fa05db{font-size:20rpx;color:#999;margin-top:6rpx}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/index.js"),n=require("../../store/index.js"),s=require("../../utils/fun.js"),t=require("../../uni_modules/wot-design-uni/components/composables/useCountDown.js");require("../../uni_modules/wot-design-uni/locale/index.js"),require("../../uni_modules/wot-design-uni/dayjs/index.js");const a={__name:"zhaun",setup(a){let i=e.ref({toPhone:"",smsCode:"",money:""});const u=e.ref("获取验证码"),{start:l,pause:r,reset:d,current:c}=t.useCountDown({time:6e4,onChange(e){},onFinish(){u.value="重新发送"}}),m=e=>{h.value.mobile?c.value.seconds?s.toast("请等待倒计时结束"):o.api.smsCode({mobile:h.value.mobile,scene:6}).then((e=>{l(),s.toast("验证码发送成功")})).catch((e=>{console.log(e),s.toast("验证码发送失败")})):s.toast("请输入手机号")},v=n.Store(),h=e.computed((()=>v.userInfo||{inviteCode:"",nickname:"",mobile:"",avatar:"",paywallet:{balance:0}})),f=()=>i.value.toPhone?i.value.money?i.value.smsCode?void o.api.transfer2other(i.value).then((o=>{e.index.showModal({title:"提示",content:"划转成功",showCancel:!1,success:()=>{e.index.reLaunch({url:"/pages/mine/mine"})}})})):e.index.showToast({title:"请输入验证码",icon:"none"}):e.index.showToast({title:"请输入划转金额",icon:"none"}):e.index.showToast({title:"请输入划转手机号",icon:"none"});return(o,n)=>({a:e.t(h.value.money),b:e.unref(i).money,c:e.o((o=>e.unref(i).money=o.detail.value)),d:e.unref(i).toPhone,e:e.o((o=>e.unref(i).toPhone=o.detail.value)),f:h.value.mobile,g:e.o((e=>h.value.mobile=e.detail.value)),h:e.unref(i).smsCode,i:e.o((o=>e.unref(i).smsCode=o.detail.value)),j:e.t(e.unref(c).seconds||u.value),k:e.o(m),l:e.o(f)})}},i=e._export_sfc(a,[["__scopeId","data-v-94f7856c"]]);wx.createPage(i);

View File

@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "余额划转",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="data-v-94f7856c" style="padding:30rpx"><view class="card_zhaun data-v-94f7856c" style="color:#949494">当前余额:{{a}}</view><view class="card_zhaun data-v-94f7856c"><view class="card_zhaun_flex data-v-94f7856c"><view class="card_zhaun_flex_title data-v-94f7856c">划转金额</view><input class="data-v-94f7856c" type="number" placeholder="请输入金额" value="{{b}}" bindinput="{{c}}"/></view><view class="card_zhaun_flex data-v-94f7856c"><view class="card_zhaun_flex_title data-v-94f7856c">划转给(手机号)</view><input class="data-v-94f7856c" type="number" placeholder="请输入手机号" value="{{d}}" bindinput="{{e}}"/></view><view class="card_zhaun_flex data-v-94f7856c"><view class="card_zhaun_flex_title data-v-94f7856c">当前手机号</view><input class="data-v-94f7856c" type="number" disabled placeholder="请输入手机号" value="{{f}}" bindinput="{{g}}"/></view><view class="card_zhaun_flex data-v-94f7856c"><view class="card_zhaun_flex_title data-v-94f7856c">验证码</view><view class="data-v-94f7856c" style="display:flex;align-items:center;justify-content:space-between;border-bottom:1rpx solid #e8e8e8"><input class="data-v-94f7856c" style="border:0" type="number" placeholder="请输入验证码" value="{{h}}" bindinput="{{i}}"/><view class="code-btn data-v-94f7856c" bindtap="{{k}}">{{j}}</view></view></view></view><view class="card_zhaun data-v-94f7856c"><view class="data-v-94f7856c" style="color:#f29100">温馨提示</view><view class="data-v-94f7856c" style="height:10rpx"></view><view class="data-v-94f7856c" style="font-size:28rpx;color:#909399"><view class="data-v-94f7856c">1.划转金额实时到账,不扣手续费;</view><view class="data-v-94f7856c" style="height:10rpx"></view><view class="data-v-94f7856c">2.划转成功后实时生效,不支持撤回。</view></view></view><view class="bottom-btn data-v-94f7856c"><view class="button-a data-v-94f7856c" bindtap="{{l}}">确认</view></view></view>

View File

@@ -0,0 +1 @@
.card_zhaun.data-v-94f7856c{padding:30rpx;background-color:#fff;border-radius:16rpx;margin-bottom:25rpx}.card_zhaun_flex.data-v-94f7856c{margin-bottom:20rpx}.card_zhaun_flex_title.data-v-94f7856c{font-size:28rpx;margin-bottom:20rpx}.card_zhaun_flex input.data-v-94f7856c{font-size:28rpx;border-bottom:1rpx solid #e8e8e8;padding:5rpx 0}.bottom-btn.data-v-94f7856c{width:100%;height:150rpx;padding:30rpx;background-color:#fff;position:fixed;bottom:0;left:0;border-radius:20rpx 20rpx 0 0;box-shadow:0 6rpx 16rpx 2rpx rgba(170,170,170,.35);display:flex;align-items:center;justify-content:center}.bottom-btn .button-a.data-v-94f7856c{width:690rpx;height:90rpx;background:#799675;border-radius:15rpx;text-align:center;font-size:30rpx;color:#fff;line-height:90rpx}.code-btn.data-v-94f7856c{width:175rpx;height:60rpx;line-height:60rpx;font-size:28rpx;color:#5d7a4e;border:1rpx solid #5d7a4e;text-align:center;border-radius:14rpx}