From 463981e1084a00fb06ce6317762a798d8921cfcd Mon Sep 17 00:00:00 2001
From: huliyong <2783385703@qq.com>
Date: Thu, 12 Dec 2024 21:04:42 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/model/index.js | 10 ++++++++++
api/model/info.js | 7 +++++++
pages/index/center.vue | 10 ++++++----
pages_order/mine/balance.vue | 6 +++---
4 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/api/model/index.js b/api/model/index.js
index 2feb348..9640055 100644
--- a/api/model/index.js
+++ b/api/model/index.js
@@ -58,12 +58,14 @@ const api = {
url: '/rice_index/addCart',
method: 'GET',
auth : true,
+ showLoading : true,
},
// 删除购物车信息
deleteCart: {
url: '/rice_index/deleteCart',
method: 'DELETE',
auth : true,
+ showLoading : true,
},
// 修改购物车信息数量
updateCartNum: {
@@ -77,24 +79,32 @@ const api = {
url: '/rice_index/createOrder',
method: 'GET',
auth : true,
+ limit : 1000,
+ showLoading : true,
},
// 创建订单-再次支付
createOrderTwo: {
url: '/rice_index/createOrderTwo',
method: 'GET',
auth : true,
+ limit : 1000,
+ showLoading : true,
},
// 多商品创建订单
createSumOrder: {
url: '/rice_index/createSumOrder',
method: 'POST',
auth : true,
+ limit : 1000,
+ showLoading : true,
},
// 多商品订单再次支付
createSumOrderAgain: {
url: '/rice_index/createSumOrderAgain',
method: 'POST',
auth : true,
+ limit : 1000,
+ showLoading : true,
},
}
diff --git a/api/model/info.js b/api/model/info.js
index 8449c8c..296b482 100644
--- a/api/model/info.js
+++ b/api/model/info.js
@@ -7,12 +7,16 @@ const api = {
url: '/rice_info/recharge',
method: 'GET',
auth : true,
+ limit : 1000,
+ showLoading : true,
},
// 提现
withdraw: {
url: '/rice_info/withdraw',
method: 'GET',
auth : true,
+ limit : 1000,
+ showLoading : true,
},
// 获取地址列表带分页
getAddressPageList: {
@@ -26,6 +30,7 @@ const api = {
method: 'POST',
limit : 500,
auth : true,
+ showLoading : true,
},
// 删除地址
deleteAddress: {
@@ -33,12 +38,14 @@ const api = {
method: 'GET',
limit : 500,
auth : true,
+ showLoading : true,
},
// 修改默认地址
updateDefaultAddress: {
url: '/rice_info/updateDefaultAddress',
method: 'GET',
auth : true,
+ limit : 1000,
},
// 获取粉丝列表带分页
getFansPageList: {
diff --git a/pages/index/center.vue b/pages/index/center.vue
index 360b61e..533fa1f 100644
--- a/pages/index/center.vue
+++ b/pages/index/center.vue
@@ -43,7 +43,8 @@
收益明细
-
+
+
-
-
+
收支明细