diff --git a/pages.json b/pages.json
index 2c9b2311..fe3068d3 100644
--- a/pages.json
+++ b/pages.json
@@ -406,7 +406,18 @@
"title": "佣金排行榜",
"group": "分销商城"
}
- }
+ }, {
+ "path": "withdraw",
+ "style": {
+ "navigationBarTitleText": "申请提现"
+ },
+ "meta": {
+ "auth": true,
+ "sync": true,
+ "title": "申请提现",
+ "group": "分销商城"
+ }
+ }
]
},
{
@@ -552,18 +563,6 @@
"title": "充值记录",
"group": "支付"
}
- },
- {
- "path": "withdraw",
- "style": {
- "navigationBarTitleText": "申请提现"
- },
- "meta": {
- "auth": true,
- "sync": true,
- "title": "申请提现",
- "group": "支付"
- }
}
]
},
diff --git a/pages/pay/components/account-type-select.vue b/pages/commission/components/account-type-select.vue
similarity index 98%
rename from pages/pay/components/account-type-select.vue
rename to pages/commission/components/account-type-select.vue
index 6670443a..e79e4171 100644
--- a/pages/pay/components/account-type-select.vue
+++ b/pages/commission/components/account-type-select.vue
@@ -1,3 +1,4 @@
+
diff --git a/pages/commission/wallet.vue b/pages/commission/wallet.vue
index beb3f24c..d0ad059b 100644
--- a/pages/commission/wallet.vue
+++ b/pages/commission/wallet.vue
@@ -13,7 +13,7 @@
{{ state.showMoney ? fen2yuan(state.summary.withdrawPrice || 0) : '*****' }}
-
@@ -214,9 +214,12 @@
state.summary = data;
}
- onLoad(async () => {
+ onLoad(async (options) => {
state.today = dayjs().format('YYYY-MM-DD');
state.date = [state.today, state.today];
+ if (options.type === 2) { // 切换到“提现” tab 下
+ state.currentTab = 1;
+ }
getLogList();
getAgentInfo();
});
diff --git a/pages/pay/withdraw.vue b/pages/commission/withdraw.vue
similarity index 95%
rename from pages/pay/withdraw.vue
rename to pages/commission/withdraw.vue
index 404d3b45..e9edb958 100644
--- a/pages/pay/withdraw.vue
+++ b/pages/commission/withdraw.vue
@@ -1,3 +1,4 @@
+
@@ -14,7 +15,7 @@
可提现金额(元)
{{ fen2yuan(state.brokerageInfo.brokeragePrice) }}
-
+
提现记录
@@ -59,19 +60,22 @@
placeholder="请输入提现账号"
/>
-
+
收款码
-
+
+
+
持卡人
@@ -142,7 +146,7 @@
-
-