From 76ba994cf238b325f482cbeb3efa29002d8136b9 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Fri, 26 Jul 2024 00:57:25 +0800 Subject: [PATCH] 1 --- api/user.js | 4 ++++ pages/index/component/headerSerch.vue | 15 ++++++++++++++- pages/user/index.vue | 4 ++-- pages/users/user_cash/index.vue | 19 ++++++++++++++----- 4 files changed, 34 insertions(+), 8 deletions(-) diff --git a/api/user.js b/api/user.js index e5f382d..b12a400 100644 --- a/api/user.js +++ b/api/user.js @@ -818,3 +818,7 @@ export function getPrizeData(data) { export function setPrizeApi(data) { return request.post(`user/lottery/try`,data) } +// 提现说明 +export function cashInfo(data) { + return request.get(`agreement/the_withdraw_rule`,data) +} diff --git a/pages/index/component/headerSerch.vue b/pages/index/component/headerSerch.vue index bfd9e4b..35fdbb4 100644 --- a/pages/index/component/headerSerch.vue +++ b/pages/index/component/headerSerch.vue @@ -22,7 +22,7 @@ - + 生成海报 diff --git a/pages/users/user_cash/index.vue b/pages/users/user_cash/index.vue index 688ed27..ddb44d1 100644 --- a/pages/users/user_cash/index.vue +++ b/pages/users/user_cash/index.vue @@ -57,12 +57,12 @@ 提现说明 - - 1.单次提现金额 最少 1.00元;最多 1000.00元;
+ +
@@ -181,7 +181,8 @@ extractBank, getUserInfo, spreadInfo, - getBankInfo + getBankInfo, + cashInfo } from '@/api/user.js'; import { mapGetters } from "vuex"; import cash from '@/components/cash'; @@ -232,7 +233,8 @@ real_name: '', bank_address: '', bank_code: '', - pay_type: [] + pay_type: [], + textInfo:'' }; }, computed: { @@ -252,11 +254,18 @@ this.getUserInfo(); this.getUserExtractBank(); this.getBankInfo(); + this.getCashText() } else { toLogin() } }, methods: { + getCashText(){ + cashInfo().then(res=>{ + console.log(res,"999") + this.textInfo = res.data.the_withdraw_rule + }) + }, loadType(){ this.pay_type = [] let withdrawType = this.withdraw_type