first commit
This commit is contained in:
32
unpackage/dist/dev/mp-alipay/pages/wallet/addBankCard.acss
vendored
Normal file
32
unpackage/dist/dev/mp-alipay/pages/wallet/addBankCard.acss
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
.addBankCard_input.data-v-a9ded25a {
|
||||
width: 690rpx;
|
||||
height: 70rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
margin-bottom: 30rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.addBankCard_input_tit.data-v-a9ded25a {
|
||||
width: 100%;
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.addBankCard_btn.data-v-a9ded25a {
|
||||
width: 488rpx;
|
||||
height: 86rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 44rpx 44rpx 44rpx 44rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/wallet/addBankCard.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/wallet/addBankCard.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="addBankCard p30 data-v-a9ded25a"><view class="data-v-a9ded25a" style="height:30rpx"></view><view class="data-v-a9ded25a"><view class="addBankCard_input_tit data-v-a9ded25a">请输入{{a}}:</view><view class="addBankCard_input data-v-a9ded25a"><up-input class="data-v-a9ded25a" u-i="a9ded25a-0" onVI="__l" onUpdateModelValue="{{b}}" u-p="{{c}}"></up-input></view><view a:if="{{d}}" class="data-v-a9ded25a"><view class="addBankCard_input_tit data-v-a9ded25a">请输入手机号:</view><view class="addBankCard_input data-v-a9ded25a"><up-input class="data-v-a9ded25a" u-i="a9ded25a-1" onVI="__l" onUpdateModelValue="{{e}}" u-p="{{f}}"></up-input></view></view><view a:if="{{g}}" class="data-v-a9ded25a"><view class="addBankCard_input_tit data-v-a9ded25a">请输入身份证号:</view><view class="addBankCard_input data-v-a9ded25a"><up-input class="data-v-a9ded25a" u-i="a9ded25a-2" onVI="__l" onUpdateModelValue="{{h}}" u-p="{{i}}"></up-input></view></view><view a:if="{{j}}" class="addBankCard_input_tit data-v-a9ded25a">请输入开户行:</view><view a:if="{{k}}" class="addBankCard_input data-v-a9ded25a"><up-input class="data-v-a9ded25a" u-i="a9ded25a-3" onVI="__l" onUpdateModelValue="{{l}}" u-p="{{m}}"></up-input></view><view class="addBankCard_input_tit data-v-a9ded25a">请输入银行卡卡号:</view><view class="addBankCard_input data-v-a9ded25a"><up-input class="data-v-a9ded25a" u-i="a9ded25a-4" onVI="__l" onUpdateModelValue="{{n}}" u-p="{{o}}"></up-input></view></view><view class="data-v-a9ded25a" style="margin:30rpx 0"><view class="data-v-a9ded25a" style="font-size:28rpx;color:coral">请仔细核对信息,填写错误会导致提现失败。</view></view><view class="data-v-a9ded25a" style="display:flex;justify-content:center"><view class="addBankCard_btn data-v-a9ded25a" onTap="{{p}}">确定</view></view></view>
|
||||
86
unpackage/dist/dev/mp-alipay/pages/wallet/addBankCard.js
vendored
Normal file
86
unpackage/dist/dev/mp-alipay/pages/wallet/addBankCard.js
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
_easycom_up_input2();
|
||||
}
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
if (!Math) {
|
||||
_easycom_up_input();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "addBankCard",
|
||||
setup(__props) {
|
||||
common_vendor.ref("");
|
||||
common_vendor.ref(null);
|
||||
let enterprise = common_vendor.reactive({
|
||||
type: 1
|
||||
});
|
||||
common_vendor.onLoad((options) => {
|
||||
enterprise.type = options.type;
|
||||
});
|
||||
let addBank = async () => {
|
||||
if (enterprise.type == 2) {
|
||||
enterprise.taxNo = "";
|
||||
enterprise.bankName = "";
|
||||
} else {
|
||||
enterprise.bankName = "";
|
||||
}
|
||||
await api_api.addUsersAccountInfo(enterprise);
|
||||
common_vendor.index.showToast({ title: "添加成功", icon: "none" });
|
||||
setTimeout(() => {
|
||||
common_vendor.index.navigateBack();
|
||||
}, 1500);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(common_vendor.unref(enterprise).type == 1 ? "姓名" : "企业名称"),
|
||||
b: common_vendor.o(($event) => common_vendor.unref(enterprise).name = $event),
|
||||
c: common_vendor.p({
|
||||
border: false,
|
||||
placeholder: "请输入",
|
||||
modelValue: common_vendor.unref(enterprise).name
|
||||
}),
|
||||
d: common_vendor.unref(enterprise).type == 1
|
||||
}, common_vendor.unref(enterprise).type == 1 ? {
|
||||
e: common_vendor.o(($event) => common_vendor.unref(enterprise).phone = $event),
|
||||
f: common_vendor.p({
|
||||
border: false,
|
||||
placeholder: "请输入",
|
||||
modelValue: common_vendor.unref(enterprise).phone
|
||||
})
|
||||
} : {}, {
|
||||
g: common_vendor.unref(enterprise).type == 1
|
||||
}, common_vendor.unref(enterprise).type == 1 ? {
|
||||
h: common_vendor.o(($event) => common_vendor.unref(enterprise).idCard = $event),
|
||||
i: common_vendor.p({
|
||||
border: false,
|
||||
placeholder: "请输入",
|
||||
modelValue: common_vendor.unref(enterprise).idCard
|
||||
})
|
||||
} : {}, {
|
||||
j: common_vendor.unref(enterprise).type == 2
|
||||
}, common_vendor.unref(enterprise).type == 2 ? {} : {}, {
|
||||
k: common_vendor.unref(enterprise).type == 2
|
||||
}, common_vendor.unref(enterprise).type == 2 ? {
|
||||
l: common_vendor.o(($event) => common_vendor.unref(enterprise).subbranchName = $event),
|
||||
m: common_vendor.p({
|
||||
border: false,
|
||||
placeholder: "请输入",
|
||||
modelValue: common_vendor.unref(enterprise).subbranchName
|
||||
})
|
||||
} : {}, {
|
||||
n: common_vendor.o(($event) => common_vendor.unref(enterprise).bankCard = $event),
|
||||
o: common_vendor.p({
|
||||
border: false,
|
||||
placeholder: "请输入",
|
||||
modelValue: common_vendor.unref(enterprise).bankCard
|
||||
}),
|
||||
p: common_vendor.o((...args) => common_vendor.unref(addBank) && common_vendor.unref(addBank)(...args))
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a9ded25a"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/dev/mp-alipay/pages/wallet/addBankCard.json
vendored
Normal file
6
unpackage/dist/dev/mp-alipay/pages/wallet/addBankCard.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "添加银行卡",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
|
||||
}
|
||||
}
|
||||
11
unpackage/dist/dev/mp-alipay/pages/wallet/bankCard.acss
vendored
Normal file
11
unpackage/dist/dev/mp-alipay/pages/wallet/bankCard.acss
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
.bankCard_add.data-v-49219fe6 {
|
||||
width: 690rpx;
|
||||
height: 174rpx;
|
||||
background: #eeeeee;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/wallet/bankCard.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/wallet/bankCard.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="bankCard data-v-49219fe6"><z-paging class="data-v-49219fe6" u-s="{{['d']}}" ref="__r" u-r="{{d}}" onQuery="{{e}}" u-i="49219fe6-0" onVI="__l" onUpdateModelValue="{{f}}" u-p="{{g}}"><view class="p30 data-v-49219fe6"><view class="bankCard_add data-v-49219fe6" onTap="{{b}}"><up-icon class="data-v-49219fe6" u-i="49219fe6-1,49219fe6-0" onVI="__l" u-p="{{a}}"></up-icon><view class="data-v-49219fe6" style="font-size:26rpx;color:#333;margin-top:15rpx">添加银行卡</view></view></view><view class="data-v-49219fe6" style="height:30rpx"></view><view a:for="{{c}}" a:for-item="item" a:key="h" class="data-v-49219fe6" onTap="{{item.i}}"><view class="p30 data-v-49219fe6"><view class="data-v-49219fe6" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx"><view class="u-flex u-flex-y-center data-v-49219fe6" style="font-size:28rpx"><view class="data-v-49219fe6"><u-tag class="data-v-49219fe6" u-i="{{item.a}}" onVI="__l" u-p="{{item.b}}"></u-tag></view><view class="data-v-49219fe6" style="width:30rpx"></view><view class="data-v-49219fe6" style="font-size:26rpx">{{item.c}}</view><view class="data-v-49219fe6" style="width:30rpx"></view><view class="data-v-49219fe6" style="font-size:26rpx">{{item.d}}</view></view><view class="data-v-49219fe6" style="height:20rpx"></view><view class="data-v-49219fe6" style="color:#232323"><view a:if="{{item.e}}" class="data-v-49219fe6" style="font-size:28rpx">开户行:{{item.f}}</view><view class="data-v-49219fe6" style="height:10rpx"></view><view class="data-v-49219fe6" style="font-size:28rpx">银行卡号:{{item.g}}</view><view class="data-v-49219fe6" style="height:10rpx"></view></view></view></view></view></z-paging></view>
|
||||
109
unpackage/dist/dev/mp-alipay/pages/wallet/bankCard.js
vendored
Normal file
109
unpackage/dist/dev/mp-alipay/pages/wallet/bankCard.js
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_u_tag2 = common_vendor.resolveComponent("u-tag");
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
(_easycom_up_icon2 + _easycom_u_tag2 + _easycom_z_paging2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_u_tag = () => "../../uni_modules/uview-plus/components/u-tag/u-tag.js";
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_icon + _easycom_u_tag + _easycom_z_paging)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "bankCard",
|
||||
setup(__props) {
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
let numiNDE = common_vendor.ref(1);
|
||||
let type = common_vendor.ref("");
|
||||
common_vendor.onShow(() => {
|
||||
if (numiNDE.value != 1) {
|
||||
paging.value.reload();
|
||||
}
|
||||
numiNDE.value++;
|
||||
});
|
||||
common_vendor.onLoad((options) => {
|
||||
type.value = options.type;
|
||||
});
|
||||
let addBank = () => {
|
||||
common_vendor.index.showActionSheet({
|
||||
itemList: ["个人", "企业"],
|
||||
success: (res) => {
|
||||
if (res.tapIndex + 1 == 0) {
|
||||
console.log("选中了第" + (res.tapIndex + 1) + "个按钮");
|
||||
} else {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/wallet/addBankCard?type=${res.tapIndex + 1}`
|
||||
});
|
||||
}
|
||||
},
|
||||
fail: function(res) {
|
||||
console.log(res.errMsg);
|
||||
}
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
const params = {
|
||||
current: pageNo,
|
||||
pageSize
|
||||
};
|
||||
api_api.getUsersAccountInfo(params).then((res) => {
|
||||
paging.value.complete(res);
|
||||
}).catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
let bankSele = (e) => {
|
||||
if (type.value) {
|
||||
common_vendor.index.$emit("bank", e);
|
||||
common_vendor.index.navigateBack();
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#333",
|
||||
size: "28"
|
||||
}),
|
||||
b: common_vendor.o((...args) => common_vendor.unref(addBank) && common_vendor.unref(addBank)(...args)),
|
||||
c: common_vendor.f(common_vendor.unref(dataList), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: "49219fe6-2-" + i0 + ",49219fe6-0",
|
||||
b: common_vendor.p({
|
||||
text: item.type == 1 ? "个人" : "企业",
|
||||
size: "mini",
|
||||
type: item.type == 1 ? "success" : "error",
|
||||
plain: true,
|
||||
plainFill: true
|
||||
}),
|
||||
c: common_vendor.t(item.name),
|
||||
d: common_vendor.t(item.phone || ""),
|
||||
e: item.type == 2
|
||||
}, item.type == 2 ? {
|
||||
f: common_vendor.t(item.subbranchName)
|
||||
} : {}, {
|
||||
g: common_vendor.t(item.bankCard),
|
||||
h: index,
|
||||
i: common_vendor.o(($event) => common_vendor.unref(bankSele)(item))
|
||||
});
|
||||
}),
|
||||
d: () => ({
|
||||
r: paging,
|
||||
k: "paging"
|
||||
}),
|
||||
e: common_vendor.o(queryList),
|
||||
f: common_vendor.o(($event) => common_vendor.isRef(dataList) ? dataList.value = $event : dataList = $event),
|
||||
g: common_vendor.p({
|
||||
modelValue: common_vendor.unref(dataList)
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-49219fe6"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
8
unpackage/dist/dev/mp-alipay/pages/wallet/bankCard.json
vendored
Normal file
8
unpackage/dist/dev/mp-alipay/pages/wallet/bankCard.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"defaultTitle": "银行卡",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
67
unpackage/dist/dev/mp-alipay/pages/wallet/freezeEarnings.acss
vendored
Normal file
67
unpackage/dist/dev/mp-alipay/pages/wallet/freezeEarnings.acss
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
.wallet_pall.data-v-e53ac4ec {
|
||||
width: 690rpx;
|
||||
height: 272rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 40rpx;
|
||||
background: #ffffff;
|
||||
}
|
||||
.wallet_pall_header.data-v-e53ac4ec {
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye.data-v-e53ac4ec {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 70%;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-e53ac4ec:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 68rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-e53ac4ec:nth-child(2) {
|
||||
width: 128rpx;
|
||||
height: 58rpx;
|
||||
background: rgba(0, 46, 164, 0.07);
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_list.data-v-e53ac4ec {
|
||||
width: 690rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
padding: 15rpx 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wallet_list_left view.data-v-e53ac4ec:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.wallet_list_left view.data-v-e53ac4ec:nth-child(2) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_left view.data-v-e53ac4ec:nth-child(3) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_left view.data-v-e53ac4ec:nth-child(4) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_right.data-v-e53ac4ec {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ff2727;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/wallet/freezeEarnings.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/wallet/freezeEarnings.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-e53ac4ec"><z-paging class="data-v-e53ac4ec" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="e53ac4ec-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a:key="g" class="mt30 wallet_list data-v-e53ac4ec"><view class="wallet_list_left data-v-e53ac4ec"><view class="data-v-e53ac4ec">{{item.a}}</view><view class="data-v-e53ac4ec">{{item.b}}</view><view a:if="{{item.c}}" class="data-v-e53ac4ec">收益日期:{{item.d}}</view><view class="data-v-e53ac4ec">{{item.e}}</view></view><view class="wallet_list_right data-v-e53ac4ec">{{item.f}}元</view></view></z-paging></view>
|
||||
87
unpackage/dist/dev/mp-alipay/pages/wallet/freezeEarnings.js
vendored
Normal file
87
unpackage/dist/dev/mp-alipay/pages/wallet/freezeEarnings.js
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../uni_modules/uview-plus/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
require("../../store/index.js");
|
||||
const money = require("../../money.js");
|
||||
if (!Array) {
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
_easycom_z_paging2();
|
||||
}
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
if (!Math) {
|
||||
_easycom_z_paging();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "freezeEarnings",
|
||||
setup(__props) {
|
||||
common_vendor.ref({});
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
let dataFrom = common_vendor.reactive({
|
||||
type: ""
|
||||
});
|
||||
let isPagingRefNotFound = () => {
|
||||
return !paging.value;
|
||||
};
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.reload().catch(() => {
|
||||
});
|
||||
});
|
||||
common_vendor.onPageScroll((e) => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.updatePageScrollTop(e.scrollTop);
|
||||
e.scrollTop < 10 && paging.value.doChatRecordLoadMore();
|
||||
});
|
||||
common_vendor.onReachBottom(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.pageReachBottom();
|
||||
});
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
const params = {
|
||||
current: pageNo,
|
||||
pageSize,
|
||||
...dataFrom
|
||||
};
|
||||
api_api.freezeIncomeRecord(params).then((res) => {
|
||||
paging.value.complete(res);
|
||||
}).catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(dataList), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.recordName),
|
||||
b: common_vendor.t(common_vendor.unref(money.moneyJson).find((val) => val.id == item.type).name),
|
||||
c: item.incomeDate
|
||||
}, item.incomeDate ? {
|
||||
d: common_vendor.t(item.incomeDate || "-")
|
||||
} : {}, {
|
||||
e: common_vendor.t(item.createTime),
|
||||
f: common_vendor.t(item.freezePoints),
|
||||
g: index
|
||||
});
|
||||
}),
|
||||
b: () => ({
|
||||
r: paging,
|
||||
k: "paging"
|
||||
}),
|
||||
c: common_vendor.o(queryList),
|
||||
d: common_vendor.o(($event) => common_vendor.isRef(dataList) ? dataList.value = $event : dataList = $event),
|
||||
e: common_vendor.p({
|
||||
["use-page-scroll"]: true,
|
||||
modelValue: common_vendor.unref(dataList)
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-e53ac4ec"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/dev/mp-alipay/pages/wallet/freezeEarnings.json
vendored
Normal file
6
unpackage/dist/dev/mp-alipay/pages/wallet/freezeEarnings.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "冻结基础收益",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
67
unpackage/dist/dev/mp-alipay/pages/wallet/freezeMoney.acss
vendored
Normal file
67
unpackage/dist/dev/mp-alipay/pages/wallet/freezeMoney.acss
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
.wallet_pall.data-v-5310970e {
|
||||
width: 690rpx;
|
||||
height: 272rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 40rpx;
|
||||
background: #ffffff;
|
||||
}
|
||||
.wallet_pall_header.data-v-5310970e {
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye.data-v-5310970e {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 70%;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-5310970e:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 68rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-5310970e:nth-child(2) {
|
||||
width: 128rpx;
|
||||
height: 58rpx;
|
||||
background: rgba(0, 46, 164, 0.07);
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_list.data-v-5310970e {
|
||||
width: 690rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
padding: 15rpx 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wallet_list_left view.data-v-5310970e:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.wallet_list_left view.data-v-5310970e:nth-child(2) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_left view.data-v-5310970e:nth-child(3) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_left view.data-v-5310970e:nth-child(4) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_right.data-v-5310970e {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ff2727;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/wallet/freezeMoney.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/wallet/freezeMoney.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-5310970e"><z-paging class="data-v-5310970e" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="5310970e-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a:key="g" class="mt30 wallet_list data-v-5310970e"><view class="wallet_list_left data-v-5310970e"><view class="data-v-5310970e">{{item.a}}</view><view class="data-v-5310970e">{{item.b}}</view><view a:if="{{item.c}}" class="data-v-5310970e">收益日期:{{item.d}}</view><view class="data-v-5310970e">{{item.e}}</view></view><view class="wallet_list_right data-v-5310970e">{{item.f}}元</view></view></z-paging></view>
|
||||
87
unpackage/dist/dev/mp-alipay/pages/wallet/freezeMoney.js
vendored
Normal file
87
unpackage/dist/dev/mp-alipay/pages/wallet/freezeMoney.js
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../uni_modules/uview-plus/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
require("../../store/index.js");
|
||||
const money = require("../../money.js");
|
||||
if (!Array) {
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
_easycom_z_paging2();
|
||||
}
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
if (!Math) {
|
||||
_easycom_z_paging();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "freezeMoney",
|
||||
setup(__props) {
|
||||
common_vendor.ref({});
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
let dataFrom = common_vendor.reactive({
|
||||
type: ""
|
||||
});
|
||||
let isPagingRefNotFound = () => {
|
||||
return !paging.value;
|
||||
};
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.reload().catch(() => {
|
||||
});
|
||||
});
|
||||
common_vendor.onPageScroll((e) => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.updatePageScrollTop(e.scrollTop);
|
||||
e.scrollTop < 10 && paging.value.doChatRecordLoadMore();
|
||||
});
|
||||
common_vendor.onReachBottom(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.pageReachBottom();
|
||||
});
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
const params = {
|
||||
current: pageNo,
|
||||
pageSize,
|
||||
...dataFrom
|
||||
};
|
||||
api_api.freezeWalletRecord(params).then((res) => {
|
||||
paging.value.complete(res);
|
||||
}).catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(dataList), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.recordName),
|
||||
b: common_vendor.t(common_vendor.unref(money.moneyJson).find((val) => val.id == item.type).name),
|
||||
c: item.incomeDate
|
||||
}, item.incomeDate ? {
|
||||
d: common_vendor.t(item.incomeDate || "-")
|
||||
} : {}, {
|
||||
e: common_vendor.t(item.createTime),
|
||||
f: common_vendor.t(item.freezePoints),
|
||||
g: index
|
||||
});
|
||||
}),
|
||||
b: () => ({
|
||||
r: paging,
|
||||
k: "paging"
|
||||
}),
|
||||
c: common_vendor.o(queryList),
|
||||
d: common_vendor.o(($event) => common_vendor.isRef(dataList) ? dataList.value = $event : dataList = $event),
|
||||
e: common_vendor.p({
|
||||
["use-page-scroll"]: true,
|
||||
modelValue: common_vendor.unref(dataList)
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5310970e"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/dev/mp-alipay/pages/wallet/freezeMoney.json
vendored
Normal file
6
unpackage/dist/dev/mp-alipay/pages/wallet/freezeMoney.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "冻结增值收益",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
67
unpackage/dist/dev/mp-alipay/pages/wallet/incomeList.acss
vendored
Normal file
67
unpackage/dist/dev/mp-alipay/pages/wallet/incomeList.acss
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
.wallet_pall.data-v-c5decf36 {
|
||||
width: 690rpx;
|
||||
height: 272rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 40rpx;
|
||||
background: #ffffff;
|
||||
}
|
||||
.wallet_pall_header.data-v-c5decf36 {
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye.data-v-c5decf36 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 70%;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-c5decf36:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 68rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-c5decf36:nth-child(2) {
|
||||
width: 128rpx;
|
||||
height: 58rpx;
|
||||
background: rgba(0, 46, 164, 0.07);
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_list.data-v-c5decf36 {
|
||||
width: 690rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
padding: 15rpx 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wallet_list_left view.data-v-c5decf36:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.wallet_list_left view.data-v-c5decf36:nth-child(2) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_left view.data-v-c5decf36:nth-child(3) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_left view.data-v-c5decf36:nth-child(4) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_right.data-v-c5decf36 {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ff2727;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/wallet/incomeList.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/wallet/incomeList.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-c5decf36"><z-paging class="data-v-c5decf36" u-s="{{['d']}}" ref="__r" u-r="{{e}}" onQuery="{{f}}" u-i="c5decf36-0" onVI="__l" onUpdateModelValue="{{g}}" u-p="{{h}}"><zxz-uni-data-select class="data-v-c5decf36" onChange="{{a}}" u-i="c5decf36-1,c5decf36-0" onVI="__l" onUpdateModelValue="{{b}}" u-p="{{c}}"></zxz-uni-data-select><view a:for="{{d}}" a:for-item="item" a:key="m" class="mt30 wallet_list data-v-c5decf36"><view class="wallet_list_left data-v-c5decf36"><view class="data-v-c5decf36">{{item.a}}</view><view class="data-v-c5decf36">{{item.b}}</view><view a:if="{{item.c}}" class="data-v-c5decf36">收益日期:{{item.d}}</view><view class="data-v-c5decf36">{{item.e}}</view></view><view class="wallet_list_right data-v-c5decf36" style="display:flex;flex-direction:column;align-items:flex-end"><view class="data-v-c5decf36" style="margin-bottom:10rpx;width:130rpx"><view class="data-v-c5decf36"></view><up-tag a:if="{{item.f}}" class="data-v-c5decf36" u-i="{{item.g}}" onVI="__l" u-p="{{item.h}}"></up-tag><up-tag a:if="{{item.i}}" class="data-v-c5decf36" u-i="{{item.j}}" onVI="__l" u-p="{{item.k}}"></up-tag></view><view class="data-v-c5decf36">{{item.l}}元</view></view></view></z-paging></view>
|
||||
131
unpackage/dist/dev/mp-alipay/pages/wallet/incomeList.js
vendored
Normal file
131
unpackage/dist/dev/mp-alipay/pages/wallet/incomeList.js
vendored
Normal file
@@ -0,0 +1,131 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../uni_modules/uview-plus/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
require("../../store/index.js");
|
||||
const money = require("../../money.js");
|
||||
if (!Array) {
|
||||
const _easycom_zxz_uni_data_select2 = common_vendor.resolveComponent("zxz-uni-data-select");
|
||||
const _easycom_up_tag2 = common_vendor.resolveComponent("up-tag");
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
(_easycom_zxz_uni_data_select2 + _easycom_up_tag2 + _easycom_z_paging2)();
|
||||
}
|
||||
const _easycom_zxz_uni_data_select = () => "../../uni_modules/zxz-uni-data-select/components/zxz-uni-data-select/zxz-uni-data-select.js";
|
||||
const _easycom_up_tag = () => "../../uni_modules/uview-plus/components/u-tag/u-tag.js";
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
if (!Math) {
|
||||
(_easycom_zxz_uni_data_select + _easycom_up_tag + _easycom_z_paging)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "incomeList",
|
||||
setup(__props) {
|
||||
let range = common_vendor.computed(() => {
|
||||
return money.moneyJson.map((item, index) => {
|
||||
return {
|
||||
text: item.name,
|
||||
value: item.id
|
||||
};
|
||||
});
|
||||
});
|
||||
const changeSele = (e) => {
|
||||
paging.value.reload();
|
||||
};
|
||||
common_vendor.ref({});
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
let dataFrom = common_vendor.reactive({
|
||||
type: ""
|
||||
});
|
||||
let isPagingRefNotFound = () => {
|
||||
return !paging.value;
|
||||
};
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.reload().catch(() => {
|
||||
});
|
||||
});
|
||||
common_vendor.onPageScroll((e) => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.updatePageScrollTop(e.scrollTop);
|
||||
e.scrollTop < 10 && paging.value.doChatRecordLoadMore();
|
||||
});
|
||||
common_vendor.onReachBottom(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.pageReachBottom();
|
||||
});
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
const params = {
|
||||
current: pageNo,
|
||||
pageSize,
|
||||
...dataFrom
|
||||
};
|
||||
api_api.getUsersPointRecord(params).then((res) => {
|
||||
paging.value.complete(res);
|
||||
}).catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(changeSele),
|
||||
b: common_vendor.o(($event) => common_vendor.unref(dataFrom).type = $event),
|
||||
c: common_vendor.p({
|
||||
clear: true,
|
||||
filterable: true,
|
||||
localdata: common_vendor.unref(range),
|
||||
modelValue: common_vendor.unref(dataFrom).type
|
||||
}),
|
||||
d: common_vendor.f(common_vendor.unref(dataList), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(common_vendor.unref(money.moneyJson).find((val) => val.id == item.type).name),
|
||||
b: common_vendor.t(item.recordName || "-"),
|
||||
c: item.incomeDate
|
||||
}, item.incomeDate ? {
|
||||
d: common_vendor.t(item.incomeDate || "-")
|
||||
} : {}, {
|
||||
e: common_vendor.t(item.createTime),
|
||||
f: item.pointType == 2
|
||||
}, item.pointType == 2 ? {
|
||||
g: "c5decf36-2-" + i0 + ",c5decf36-0",
|
||||
h: common_vendor.p({
|
||||
size: "mini",
|
||||
text: "增值收益",
|
||||
type: "warning",
|
||||
plain: true,
|
||||
plainFill: true
|
||||
})
|
||||
} : {}, {
|
||||
i: item.pointType == 1
|
||||
}, item.pointType == 1 ? {
|
||||
j: "c5decf36-3-" + i0 + ",c5decf36-0",
|
||||
k: common_vendor.p({
|
||||
size: "mini",
|
||||
text: "基础收益",
|
||||
plain: true,
|
||||
plainFill: true
|
||||
})
|
||||
} : {}, {
|
||||
l: common_vendor.t(item.points),
|
||||
m: index
|
||||
});
|
||||
}),
|
||||
e: () => ({
|
||||
r: paging,
|
||||
k: "paging"
|
||||
}),
|
||||
f: common_vendor.o(queryList),
|
||||
g: common_vendor.o(($event) => common_vendor.isRef(dataList) ? dataList.value = $event : dataList = $event),
|
||||
h: common_vendor.p({
|
||||
["use-page-scroll"]: true,
|
||||
modelValue: common_vendor.unref(dataList)
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c5decf36"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
8
unpackage/dist/dev/mp-alipay/pages/wallet/incomeList.json
vendored
Normal file
8
unpackage/dist/dev/mp-alipay/pages/wallet/incomeList.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"defaultTitle": "收支明细",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
74
unpackage/dist/dev/mp-alipay/pages/wallet/wallet.acss
vendored
Normal file
74
unpackage/dist/dev/mp-alipay/pages/wallet/wallet.acss
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
.wallet_pall.data-v-4c380209 {
|
||||
height: 272rpx;
|
||||
background: linear-gradient(179deg, #4874e5 0%, #3864d6 100%);
|
||||
border-radius: 16rpx 16rpx 0 0;
|
||||
padding: 40rpx;
|
||||
border-bottom: 1rpx solid rgba(153, 153, 153, 0.6);
|
||||
}
|
||||
.wallet_pall_header.data-v-4c380209 {
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #ffffff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wallet_pall_header view.data-v-4c380209 {
|
||||
width: 128rpx;
|
||||
height: 58rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #4874e5;
|
||||
}
|
||||
.wallet_pall_ye.data-v-4c380209 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 100%;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-4c380209:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 68rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-4c380209:nth-child(2) {
|
||||
width: 128rpx;
|
||||
height: 58rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #4874e5;
|
||||
}
|
||||
.wallet_list.data-v-4c380209 {
|
||||
width: 690rpx;
|
||||
height: 120rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
padding: 15rpx 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wallet_list_left view.data-v-4c380209:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.wallet_list_left view.data-v-4c380209:nth-child(2) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_right.data-v-4c380209 {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ff2727;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/wallet/wallet.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/wallet/wallet.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="wallet p30 data-v-4c380209"><z-paging class="data-v-4c380209" u-s="{{['d']}}" ref="__r" u-r="{{f}}" onQuery="{{g}}" u-i="4c380209-0" onVI="__l" onUpdateModelValue="{{h}}" u-p="{{i}}"><view class="wallet_pall data-v-4c380209"><view class="wallet_pall_header data-v-4c380209"> 当前余额(元) </view><view class="wallet_pall_ye data-v-4c380209"><view class="data-v-4c380209">{{a}}</view></view></view><view class="data-v-4c380209" style="padding:15rpx 30rpx;display:flex;align-items:center;background:#3864d6;border-radius:0 0 16rpx 16rpx"><view class="data-v-4c380209" onTap="{{b}}" style="width:330rpx;text-align:center;color:#fff">充值</view><view class="data-v-4c380209" onTap="{{c}}" style="width:330rpx;text-align:center;color:#fff">收益转入</view></view><view class="mt30 data-v-4c380209"><uni-section class="data-v-4c380209" u-i="4c380209-1,4c380209-0" onVI="__l" u-p="{{d}}"></uni-section></view><view a:for="{{e}}" a:for-item="item" a:key="d" class="mt30 wallet_list data-v-4c380209"><view class="wallet_list_left data-v-4c380209"><view class="data-v-4c380209">{{item.a}}</view><view class="data-v-4c380209">{{item.b}}</view></view><view class="wallet_list_right data-v-4c380209">{{item.c}}元</view></view></z-paging></view>
|
||||
100
unpackage/dist/dev/mp-alipay/pages/wallet/wallet.js
vendored
Normal file
100
unpackage/dist/dev/mp-alipay/pages/wallet/wallet.js
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../uni_modules/uview-plus/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const money = require("../../money.js");
|
||||
const hooks_useNav = require("../../hooks/useNav.js");
|
||||
const uni_modules_uviewPlus_libs_function_index = require("../../uni_modules/uview-plus/libs/function/index.js");
|
||||
if (!Array) {
|
||||
const _easycom_uni_section2 = common_vendor.resolveComponent("uni-section");
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
(_easycom_uni_section2 + _easycom_z_paging2)();
|
||||
}
|
||||
const _easycom_uni_section = () => "../../uni_modules/uni-section/components/uni-section/uni-section.js";
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
if (!Math) {
|
||||
(_easycom_uni_section + _easycom_z_paging)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "wallet",
|
||||
setup(__props) {
|
||||
const { nav, navTo } = hooks_useNav.useNav();
|
||||
let getInfo = common_vendor.ref({});
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
let num = common_vendor.ref(1);
|
||||
let isPagingRefNotFound = () => {
|
||||
return !paging.value;
|
||||
};
|
||||
common_vendor.onShow(async () => {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
if (num.value != 1) {
|
||||
paging.value.reload();
|
||||
}
|
||||
num.value++;
|
||||
});
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.reload().catch(() => {
|
||||
});
|
||||
});
|
||||
common_vendor.onPageScroll((e) => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.updatePageScrollTop(e.scrollTop);
|
||||
e.scrollTop < 10 && paging.value.doChatRecordLoadMore();
|
||||
});
|
||||
common_vendor.onReachBottom(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.pageReachBottom();
|
||||
});
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
console.log(money.moneyJson);
|
||||
const params = {
|
||||
current: pageNo,
|
||||
pageSize
|
||||
};
|
||||
api_api.getUsersPoint2Info(params).then((res) => {
|
||||
paging.value.complete(res.records);
|
||||
}).catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(common_vendor.unref(getInfo).points2 || "0.00"),
|
||||
b: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/topUp`, true)),
|
||||
c: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/transferBalance`, true)),
|
||||
d: common_vendor.p({
|
||||
title: "明细",
|
||||
type: "line",
|
||||
titleFontSize: "32rpx"
|
||||
}),
|
||||
e: common_vendor.f(common_vendor.unref(dataList), (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(common_vendor.unref(money.moneyJson).find((val) => val.id == item.type).name),
|
||||
b: common_vendor.t(common_vendor.unref(uni_modules_uviewPlus_libs_function_index.timeFormat)(new Date(item.createTime).getTime(), "yyyy-mm-dd hh:MM")),
|
||||
c: common_vendor.t(item.points),
|
||||
d: index
|
||||
};
|
||||
}),
|
||||
f: () => ({
|
||||
r: paging,
|
||||
k: "paging"
|
||||
}),
|
||||
g: common_vendor.o(queryList),
|
||||
h: common_vendor.o(($event) => common_vendor.isRef(dataList) ? dataList.value = $event : dataList = $event),
|
||||
i: common_vendor.p({
|
||||
["use-page-scroll"]: true,
|
||||
modelValue: common_vendor.unref(dataList)
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4c380209"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
7
unpackage/dist/dev/mp-alipay/pages/wallet/wallet.json
vendored
Normal file
7
unpackage/dist/dev/mp-alipay/pages/wallet/wallet.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"defaultTitle": "钱包",
|
||||
"usingComponents": {
|
||||
"uni-section": "../../uni_modules/uni-section/components/uni-section/uni-section",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
83
unpackage/dist/dev/mp-alipay/pages/wallet/withdraw.acss
vendored
Normal file
83
unpackage/dist/dev/mp-alipay/pages/wallet/withdraw.acss
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
.withdraw_k.data-v-9be921b8 {
|
||||
width: 100%;
|
||||
height: 74rpx;
|
||||
padding: 0 20rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.withdraw_k_tit.data-v-9be921b8 {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
margin-right: 100rpx;
|
||||
}
|
||||
.withdraw_k_input.data-v-9be921b8 {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.withdraw_k_img.data-v-9be921b8 {
|
||||
width: 44rpx;
|
||||
height: 44rpx;
|
||||
}
|
||||
.withdraw_mon.data-v-9be921b8 {
|
||||
padding: 20rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
}
|
||||
.withdraw_mon_tit.data-v-9be921b8 {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.withdraw_mon_input.data-v-9be921b8 {
|
||||
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-9be921b8 {
|
||||
font-weight: bold;
|
||||
font-size: 66rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.withdraw_mon_input_note.data-v-9be921b8 {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #ff7777;
|
||||
}
|
||||
.withdraw_mon_note.data-v-9be921b8 {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.withdraw_note.data-v-9be921b8 {
|
||||
margin-top: 30rpx;
|
||||
padding: 0 15rpx;
|
||||
}
|
||||
.withdraw_note view.data-v-9be921b8 {
|
||||
margin-bottom: 15rpx;
|
||||
font-weight: 400;
|
||||
font-size: 26rpx;
|
||||
color: #232323;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
.affirm_btn.data-v-9be921b8 {
|
||||
width: 650rpx;
|
||||
height: 78rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 12rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/wallet/withdraw.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/wallet/withdraw.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="withdraw p30 data-v-9be921b8"><view class="data-v-9be921b8" style="height:30rpx"></view><view class="withdraw_k data-v-9be921b8" onTap="{{b}}"><view class="withdraw_k_tit data-v-9be921b8">提现到</view><view class="withdraw_k_input data-v-9be921b8">请选择银行卡</view><image class="withdraw_k_img data-v-9be921b8" src="{{a}}"></image></view><view a:if="{{c}}" class="data-v-9be921b8"><view class="data-v-9be921b8" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx"><view class="u-flex u-flex-y-center data-v-9be921b8" style="font-size:28rpx"><view class="data-v-9be921b8"><u-tag class="data-v-9be921b8" u-i="9be921b8-0" onVI="__l" u-p="{{d}}"></u-tag></view><view class="data-v-9be921b8" style="width:30rpx"></view><view class="data-v-9be921b8" style="font-size:26rpx">{{e}}</view><view class="data-v-9be921b8" style="width:30rpx"></view><view class="data-v-9be921b8" style="font-size:26rpx">{{f}}</view></view><view class="data-v-9be921b8" style="height:20rpx"></view><view class="data-v-9be921b8" style="color:#232323"><view a:if="{{g}}" class="data-v-9be921b8" style="font-size:28rpx">开户行:{{h}}</view><view class="data-v-9be921b8" style="height:10rpx"></view><view class="data-v-9be921b8" style="font-size:28rpx">银行卡号:{{i}}</view><view class="data-v-9be921b8" style="height:10rpx"></view></view></view></view><view class="withdraw_mon data-v-9be921b8"><view class="withdraw_mon_tit data-v-9be921b8">提现金额</view><view class="withdraw_mon_input data-v-9be921b8"><view class="withdraw_mon_input_fu data-v-9be921b8">¥</view><view class="data-v-9be921b8"><up-input class="data-v-9be921b8" u-i="9be921b8-1" onVI="__l" onUpdateModelValue="{{j}}" u-p="{{k}}"></up-input></view><view class="withdraw_mon_input_note data-v-9be921b8" onTap="{{l}}">全部提现</view></view><view class="data-v-9be921b8"><up-input class="data-v-9be921b8" u-i="9be921b8-2" onVI="__l" onUpdateModelValue="{{m}}" u-p="{{n}}"></up-input></view><view class="withdraw_mon_input data-v-9be921b8"><up-input class="data-v-9be921b8" u-i="9be921b8-3" onVI="__l" onUpdateModelValue="{{o}}" u-p="{{p}}"></up-input><view class="data-v-9be921b8" style="width:250rpx"><up-code class="data-v-9be921b8" ref="__r" u-r="{{q}}" onChange="{{r}}" u-i="9be921b8-4" onVI="__l" u-p="{{s}}"></up-code><up-button class="data-v-9be921b8" u-s="{{['d']}}" onClick="{{v}}" u-i="9be921b8-5" onVI="__l" u-p="{{w}}">{{t}}</up-button></view></view><view class="withdraw_mon_note data-v-9be921b8">可提现金额:¥{{x}}</view><view class="withdraw_mon_note data-v-9be921b8">最小可提现金额为¥{{y}}</view><view class="withdraw_mon_note data-v-9be921b8">私户每100.00元提现手续费为{{z}}%</view></view><view class="withdraw_note data-v-9be921b8"><view class="withdraw_note_tit data-v-9be921b8" style="font-weight:bold;font-size:26rpx">提现规则:</view><view class="withdraw_note_s data-v-9be921b8">1.每月1号、11号、21号可提现,到账时间T+1</view><view class="withdraw_note_s data-v-9be921b8">2.提现年龄是18-60岁</view><view class="withdraw_note_s data-v-9be921b8">3.提现银行卡是常用的一类银行,否则会有限额</view><view class="withdraw_note_s data-v-9be921b8">4.一月不能超{{A}}元,如遇超出 提现后管理人员会联系您</view><view class="withdraw_note_s data-v-9be921b8">5.提现次数不限、公户无限额、无手续费</view></view><view class="data-v-9be921b8" style="height:50rpx"></view><view class="data-v-9be921b8" style="display:flex;justify-content:center;margin-top:80rpx"><view class="affirm_btn data-v-9be921b8" onTap="{{B}}">立即提现</view></view><view class="data-v-9be921b8" style="height:50rpx"></view></view>
|
||||
157
unpackage/dist/dev/mp-alipay/pages/wallet/withdraw.js
vendored
Normal file
157
unpackage/dist/dev/mp-alipay/pages/wallet/withdraw.js
vendored
Normal file
@@ -0,0 +1,157 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_tag2 = common_vendor.resolveComponent("u-tag");
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_code2 = common_vendor.resolveComponent("up-code");
|
||||
const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
|
||||
(_easycom_u_tag2 + _easycom_up_input2 + _easycom_up_code2 + _easycom_up_button2)();
|
||||
}
|
||||
const _easycom_u_tag = () => "../../uni_modules/uview-plus/components/u-tag/u-tag.js";
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_code = () => "../../uni_modules/uview-plus/components/u-code/u-code.js";
|
||||
const _easycom_up_button = () => "../../uni_modules/uview-plus/components/u-button/u-button.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_tag + _easycom_up_input + _easycom_up_code + _easycom_up_button)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "withdraw",
|
||||
setup(__props) {
|
||||
common_vendor.ref();
|
||||
let getInfo = common_vendor.ref({});
|
||||
let appConfig = common_vendor.ref([]);
|
||||
let tips = common_vendor.ref("");
|
||||
let uCode = common_vendor.ref(null);
|
||||
let dataFrom = common_vendor.reactive({
|
||||
points: "",
|
||||
smsCode: "",
|
||||
bankCardId: ""
|
||||
});
|
||||
let bank = common_vendor.ref();
|
||||
common_vendor.onLoad(async () => {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
const { configValue } = await api_api.getAppConfig({ configKey: "WITHDRAWAL" });
|
||||
appConfig.value = JSON.parse(configValue);
|
||||
common_vendor.index.$on("bank", (e) => {
|
||||
bank.value = e;
|
||||
dataFrom.bankCardId = e.id;
|
||||
console.log(e);
|
||||
});
|
||||
});
|
||||
let toNav = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/wallet/bankCard?type=xz"
|
||||
});
|
||||
};
|
||||
let codeChange2 = (text) => {
|
||||
tips.value = text;
|
||||
};
|
||||
let getCode = () => {
|
||||
console.log(123456);
|
||||
if (!getInfo.value.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (uCode.value.canGetCode) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在获取验证码"
|
||||
});
|
||||
api_api.smsCode({
|
||||
phone: getInfo.value.phone
|
||||
}).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.$u.toast("验证码已发送");
|
||||
uCode.value.start();
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.$u.toast("倒计时结束后再发送");
|
||||
}
|
||||
};
|
||||
let payOrder = async () => {
|
||||
console.log(getInfo.value.points1, "getInfo.value.points1");
|
||||
console.log(dataFrom.points, "dataFrom.points");
|
||||
if (Number(getInfo.value.points1) < Number(dataFrom.points))
|
||||
return common_vendor.index.showToast({ title: "可提现金额不足", icon: "none" });
|
||||
if (!dataFrom.bankCardId)
|
||||
return common_vendor.index.showToast({ title: "请先选择提现银行卡", icon: "none" });
|
||||
if (!dataFrom.points)
|
||||
return common_vendor.index.showToast({ title: "请输入提现金额", icon: "none" });
|
||||
if (!dataFrom.smsCode)
|
||||
return common_vendor.index.showToast({ title: "请输入验证码", icon: "none" });
|
||||
await api_api.userExtract(dataFrom);
|
||||
common_vendor.index.showModal({
|
||||
title: "提示",
|
||||
content: "提交成功",
|
||||
showCancel: false,
|
||||
success() {
|
||||
common_vendor.index.navigateBack();
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_assets._imports_0$4,
|
||||
b: common_vendor.o((...args) => common_vendor.unref(toNav) && common_vendor.unref(toNav)(...args)),
|
||||
c: common_vendor.unref(bank)
|
||||
}, common_vendor.unref(bank) ? common_vendor.e({
|
||||
d: common_vendor.p({
|
||||
text: common_vendor.unref(bank).type == 1 ? "个人" : "企业",
|
||||
size: "mini",
|
||||
type: common_vendor.unref(bank).type == 1 ? "success" : "error",
|
||||
plain: true,
|
||||
plainFill: true
|
||||
}),
|
||||
e: common_vendor.t(common_vendor.unref(bank).name),
|
||||
f: common_vendor.t(common_vendor.unref(bank).phone || ""),
|
||||
g: common_vendor.unref(bank).type == 2
|
||||
}, common_vendor.unref(bank).type == 2 ? {
|
||||
h: common_vendor.t(common_vendor.unref(bank).subbranchName)
|
||||
} : {}, {
|
||||
i: common_vendor.t(common_vendor.unref(bank).bankCard)
|
||||
}) : {}, {
|
||||
j: common_vendor.o(($event) => common_vendor.unref(dataFrom).points = $event),
|
||||
k: common_vendor.p({
|
||||
fontSize: "36rpx",
|
||||
placeholder: "请输入金额",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).points
|
||||
}),
|
||||
l: common_vendor.o(($event) => common_vendor.unref(dataFrom).points = common_vendor.unref(getInfo).points1),
|
||||
m: common_vendor.o(($event) => common_vendor.unref(getInfo).phone = $event),
|
||||
n: common_vendor.p({
|
||||
border: false,
|
||||
disabled: true,
|
||||
modelValue: common_vendor.unref(getInfo).phone
|
||||
}),
|
||||
o: common_vendor.o(($event) => common_vendor.unref(dataFrom).smsCode = $event),
|
||||
p: common_vendor.p({
|
||||
placeholder: "请输入验证码",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).smsCode
|
||||
}),
|
||||
q: () => ({
|
||||
r: uCode,
|
||||
k: "uCode"
|
||||
}),
|
||||
r: common_vendor.o(common_vendor.unref(codeChange2)),
|
||||
s: common_vendor.p({
|
||||
["keep-running"]: true,
|
||||
["start-text"]: "点我获取验证码"
|
||||
}),
|
||||
t: common_vendor.t(common_vendor.unref(tips)),
|
||||
v: common_vendor.o(common_vendor.unref(getCode)),
|
||||
w: common_vendor.p({
|
||||
color: "#4874e5"
|
||||
}),
|
||||
x: common_vendor.t(common_vendor.unref(getInfo).points1),
|
||||
y: common_vendor.t(common_vendor.unref(appConfig).minMoney),
|
||||
z: common_vendor.t(common_vendor.unref(appConfig).free),
|
||||
A: common_vendor.t(common_vendor.unref(appConfig).monthQuota),
|
||||
B: common_vendor.o((...args) => common_vendor.unref(payOrder) && common_vendor.unref(payOrder)(...args))
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-9be921b8"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
9
unpackage/dist/dev/mp-alipay/pages/wallet/withdraw.json
vendored
Normal file
9
unpackage/dist/dev/mp-alipay/pages/wallet/withdraw.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"defaultTitle": "提现",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
54
unpackage/dist/dev/mp-alipay/pages/wallet/withdrawList.acss
vendored
Normal file
54
unpackage/dist/dev/mp-alipay/pages/wallet/withdrawList.acss
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
.wallet_pall.data-v-0a6839b2 {
|
||||
width: 690rpx;
|
||||
height: 272rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 40rpx;
|
||||
background: #ffffff;
|
||||
}
|
||||
.wallet_pall_header.data-v-0a6839b2 {
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye.data-v-0a6839b2 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 70%;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-0a6839b2:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 68rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-0a6839b2:nth-child(2) {
|
||||
width: 128rpx;
|
||||
height: 58rpx;
|
||||
background: rgba(0, 46, 164, 0.07);
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_list.data-v-0a6839b2 {
|
||||
width: 690rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
padding: 15rpx 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wallet_list_left view.data-v-0a6839b2 {
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.wallet_list_right.data-v-0a6839b2 {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ff2727;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/wallet/withdrawList.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/wallet/withdrawList.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-0a6839b2"><z-paging class="data-v-0a6839b2" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="0a6839b2-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a:key="s" class="mt30 wallet_list data-v-0a6839b2"><view class="wallet_list_left data-v-0a6839b2"><view class="data-v-0a6839b2">{{item.a}}:{{item.b}}</view><view class="data-v-0a6839b2">银行名称:{{item.c}}</view><view class="data-v-0a6839b2">支行名称:{{item.d}}</view><view class="data-v-0a6839b2">银行卡号:{{item.e}}</view><view class="data-v-0a6839b2">提现时间:{{item.f}}</view><view class="data-v-0a6839b2">处理时间:{{item.g}}</view><view class="data-v-0a6839b2">处理结果:{{item.h}}</view></view><view class="wallet_list_right data-v-0a6839b2" style="display:flex;flex-direction:column;align-items:flex-end;height:320rpx"><view class="data-v-0a6839b2" style="margin-bottom:100rpx"><view class="data-v-0a6839b2"></view><up-tag a:if="{{item.i}}" class="data-v-0a6839b2" u-i="{{item.j}}" onVI="__l" u-p="{{item.k}}"></up-tag><up-tag a:if="{{item.l}}" class="data-v-0a6839b2" u-i="{{item.m}}" onVI="__l" u-p="{{item.n}}"></up-tag><up-tag a:if="{{item.o}}" class="data-v-0a6839b2" u-i="{{item.p}}" onVI="__l" u-p="{{item.q}}"></up-tag></view><view class="data-v-0a6839b2">{{item.r}}元</view></view></view></z-paging></view>
|
||||
119
unpackage/dist/dev/mp-alipay/pages/wallet/withdrawList.js
vendored
Normal file
119
unpackage/dist/dev/mp-alipay/pages/wallet/withdrawList.js
vendored
Normal file
@@ -0,0 +1,119 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../uni_modules/uview-plus/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
require("../../store/index.js");
|
||||
const uni_modules_uviewPlus_libs_function_index = require("../../uni_modules/uview-plus/libs/function/index.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_tag2 = common_vendor.resolveComponent("up-tag");
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
(_easycom_up_tag2 + _easycom_z_paging2)();
|
||||
}
|
||||
const _easycom_up_tag = () => "../../uni_modules/uview-plus/components/u-tag/u-tag.js";
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_tag + _easycom_z_paging)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "withdrawList",
|
||||
setup(__props) {
|
||||
common_vendor.ref({});
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
let isPagingRefNotFound = () => {
|
||||
return !paging.value;
|
||||
};
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.reload().catch(() => {
|
||||
});
|
||||
});
|
||||
common_vendor.onPageScroll((e) => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.updatePageScrollTop(e.scrollTop);
|
||||
e.scrollTop < 10 && paging.value.doChatRecordLoadMore();
|
||||
});
|
||||
common_vendor.onReachBottom(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.pageReachBottom();
|
||||
});
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
const params = {
|
||||
current: pageNo,
|
||||
pageSize
|
||||
};
|
||||
api_api.userExtractList(params).then((res) => {
|
||||
paging.value.complete(res.records);
|
||||
}).catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(dataList), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.type == 1 ? "提现人" : "提现公司"),
|
||||
b: common_vendor.t(item.name),
|
||||
c: common_vendor.t(item.bankName),
|
||||
d: common_vendor.t(item.subbranchName),
|
||||
e: common_vendor.t(item.bankCard),
|
||||
f: common_vendor.t(common_vendor.unref(uni_modules_uviewPlus_libs_function_index.timeFormat)(new Date(item.createTime).getTime(), "yyyy-mm-dd hh:MM:ss")),
|
||||
g: common_vendor.t(item.completeTime ? common_vendor.unref(uni_modules_uviewPlus_libs_function_index.timeFormat)(new Date(item.completeTime).getTime(), "yyyy-mm-dd hh:MM:ss") : "-"),
|
||||
h: common_vendor.t(item.handleMessage || "-"),
|
||||
i: item.status == 0
|
||||
}, item.status == 0 ? {
|
||||
j: "0a6839b2-1-" + i0 + ",0a6839b2-0",
|
||||
k: common_vendor.p({
|
||||
size: "mini",
|
||||
text: "申请中",
|
||||
type: "warning",
|
||||
plain: true,
|
||||
plainFill: true
|
||||
})
|
||||
} : {}, {
|
||||
l: item.status == 1
|
||||
}, item.status == 1 ? {
|
||||
m: "0a6839b2-2-" + i0 + ",0a6839b2-0",
|
||||
n: common_vendor.p({
|
||||
size: "mini",
|
||||
type: "success",
|
||||
text: "提现成功",
|
||||
plain: true,
|
||||
plainFill: true
|
||||
})
|
||||
} : {}, {
|
||||
o: item.status == -1
|
||||
}, item.status == -1 ? {
|
||||
p: "0a6839b2-3-" + i0 + ",0a6839b2-0",
|
||||
q: common_vendor.p({
|
||||
size: "mini",
|
||||
type: "error",
|
||||
text: "失败",
|
||||
plain: true,
|
||||
plainFill: true
|
||||
})
|
||||
} : {}, {
|
||||
r: common_vendor.t(item.points),
|
||||
s: index
|
||||
});
|
||||
}),
|
||||
b: () => ({
|
||||
r: paging,
|
||||
k: "paging"
|
||||
}),
|
||||
c: common_vendor.o(queryList),
|
||||
d: common_vendor.o(($event) => common_vendor.isRef(dataList) ? dataList.value = $event : dataList = $event),
|
||||
e: common_vendor.p({
|
||||
["use-page-scroll"]: true,
|
||||
modelValue: common_vendor.unref(dataList)
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0a6839b2"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
7
unpackage/dist/dev/mp-alipay/pages/wallet/withdrawList.json
vendored
Normal file
7
unpackage/dist/dev/mp-alipay/pages/wallet/withdrawList.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"defaultTitle": "提现明细",
|
||||
"usingComponents": {
|
||||
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user