diff --git a/.env b/.env index 4959f5f..9d23a0d 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # API -VITE_SYSTEM_URL = "http://u5ac97b6.natappfree.cc" +VITE_SYSTEM_URL = "http://u85e65a4.natappfree.cc" #文档地址 -VITE_DOC_URL = "http://ub5336dd.natappfree.cc" \ No newline at end of file +VITE_DOC_URL = "http://k5cb6eb9.natappfree.cc" \ No newline at end of file diff --git a/api/my-index.js b/api/my-index.js index 0bd95be..ad2eb85 100644 --- a/api/my-index.js +++ b/api/my-index.js @@ -141,11 +141,16 @@ export const getUserIdCard = () => { }) } -/** 添加身份证 */ -export const addUserIdCard = data => { +/** + * 添加/修改身份证 + * @param {*} data + * @param {*} method post 添加 put 修改 + * @returns + */ +export const addUserIdCard = (data, method = 'post') => { return http({ url: '/api/service/userVerification', - method: 'post', + method, data }) } @@ -174,3 +179,21 @@ export const addUserWithdraw = data => { data }) } + +/** 获取提现列表 */ +export const getUserWithdrawList = data => { + return http({ + url: '/api/service/SerAppUserWithdrawal/list', + method: 'get', + data + }) +} + +/** 交易记录列表 */ +export const getUserTradeRecordList = data => { + return http({ + url: '/api/system/logPoints/list', + method: 'get', + data + }) +} diff --git a/components/bottom-view/bottom-view.vue b/components/bottom-view/bottom-view.vue index f0031ab..9b1ca62 100644 --- a/components/bottom-view/bottom-view.vue +++ b/components/bottom-view/bottom-view.vue @@ -17,6 +17,6 @@ padding: 16rpx 24rpx calc(env(safe-area-inset-bottom) + 20rpx); /* 关键:适配 iPhone 等安全区域 */ background: #fff; box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1); - z-index: 99; + z-index: 90; } diff --git a/components/cb-file-picker/cb-file-picker.vue b/components/cb-file-picker/cb-file-picker.vue index 450cb20..544415f 100644 --- a/components/cb-file-picker/cb-file-picker.vue +++ b/components/cb-file-picker/cb-file-picker.vue @@ -20,6 +20,10 @@ limit: { type: String, default: '1' + }, + readonly: { + type: Boolean, + default: false } }) @@ -92,6 +96,7 @@ { + formData.type = id + }