diff --git a/src/apis.js b/src/apis.js
index f6f41f1..bb00464 100644
--- a/src/apis.js
+++ b/src/apis.js
@@ -488,3 +488,13 @@ export const getVIPDescAPI = async () => {
export const getPointBookStatisticsAPI = async () => {
return request("GET", `/v2/user/score/sheet/statistics`);
};
+
+export const donateAPI = async (amount, name, phone, organizer, advice) => {
+ return request("POST", `/user/donate`, {
+ amount,
+ name,
+ phone,
+ organizer,
+ advice,
+ });
+};
diff --git a/src/components/RewardUs.vue b/src/components/RewardUs.vue
index 6109c51..772ba09 100644
--- a/src/components/RewardUs.vue
+++ b/src/components/RewardUs.vue
@@ -1,9 +1,16 @@
@@ -105,11 +151,12 @@ const onPay = (index) => {
display: flex;
align-items: center;
justify-content: flex-start;
+ margin-top: 20rpx;
}
.container > view:nth-child(3) > image {
width: 32rpx;
height: 32rpx;
- margin-right: 10rpx;
+ margin: 0 10rpx;
}
.container > view:nth-child(3) > text {
font-size: 24rpx;
@@ -139,7 +186,7 @@ const onPay = (index) => {
border: 1rpx solid #fed848;
height: 40rpx;
line-height: 40rpx;
- padding: 10rpx;
+ padding: 10rpx 20rpx;
font-size: 30rpx;
margin-right: 10rpx;
}
@@ -149,7 +196,7 @@ const onPay = (index) => {
border: 1rpx solid #fed848;
height: 100rpx;
line-height: 40rpx;
- padding: 10rpx;
+ padding: 10rpx 20rpx;
font-size: 30rpx;
margin-right: 10rpx;
}
diff --git a/src/pages/point-book.vue b/src/pages/point-book.vue
index a67eb24..0865481 100644
--- a/src/pages/point-book.vue
+++ b/src/pages/point-book.vue
@@ -1,5 +1,5 @@