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