diff --git a/api/api.js b/api/api.js index a4c05dc..7bc9c09 100644 --- a/api/api.js +++ b/api/api.js @@ -308,6 +308,9 @@ const api = { return request('/expertAPI/updateStatus', data, 'post', false); }, + addFeedBack(data){ + return request('/expertAPI/addFeedBack', data, 'post', false); + }, // 肝胆新闻相关API // 顶部轮播 newsRollNew(data){ @@ -335,6 +338,9 @@ const api = { patientListByGBK(data){ return request('/expertAPI/patientListByGBK', data, 'post', false); }, + patientListByGBKU(data){ + return request('/expertAPI/patientListByGBKU', data, 'post', false); + }, followUpList(data){ return request('/expertAPI/followUpList', data, 'post', false); }, @@ -401,6 +407,16 @@ const api = { polularScienceArticleListIndexNew(data){ return request('/expertAPI/polularScienceArticleListIndexNew', data, 'post', false); }, + bankCardList(data){ + return request('/expertPay/bankCardList', data, 'post', false); + }, + getIncomeTax(data){ + return request('/expertPay/getIncomeTax', data, 'post', false); + }, + createWithdrawal(data){ + return request('/expertPay/createWithdrawal', data, 'post', false); + }, + } export default api \ No newline at end of file diff --git a/manifest.json b/manifest.json index 858e77e..aef0896 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name" : "uniapp", + "name" : "肝胆相照专家端", "appid" : "__UNI__89F511F", "description" : "", "versionName" : "1.0.0", @@ -62,6 +62,30 @@ "UniversalLinks" : "https://doc.igandan.com/gdxzExpert/" } } + }, + "splashscreen" : { + "androidStyle" : "common" + }, + "icons" : { + "android" : { + "hdpi" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/72.png", + "xhdpi" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/96.png", + "xxhdpi" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/144.png", + "xxxhdpi" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/192.png" + }, + "ios" : { + "appstore" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/1024.png", + "iphone" : { + "app@2x" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/120.png", + "app@3x" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/180.png", + "spotlight@2x" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/80.png", + "spotlight@3x" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/120.png", + "settings@2x" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/58.png", + "settings@3x" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/87.png", + "notification@2x" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/40.png", + "notification@3x" : "D:/haomi/Documents/WeChat Files/wxid_x5u4rycntnkq21/FileStorage/File/2025-09/专家版图标/专家版图标/60.png" + } + } } }, "nativePlugins" : { diff --git a/pages.json b/pages.json index 9b86536..147a2a2 100644 --- a/pages.json +++ b/pages.json @@ -1,7 +1,6 @@ { "easycom": { "autoscan": true, - // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175 "custom": { "^u--(.*)": "@/node_modules/uview-plus/components/u-$1/u-$1.vue", "^up-(.*)": "@/node_modules/uview-plus/components/u-$1/u-$1.vue", @@ -595,6 +594,16 @@ } } }, + { + "path": "myAccount/withdrawal", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "提现", + "app": { + "bounce": "none" + } + } + }, { "path": "myCourseware/myCourseware", "style": { @@ -829,6 +838,26 @@ "bounce": "none" } } + }, + { + "path": "feedback/feedback", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "意见反馈", + "app": { + "bounce": "none" + } + } + }, + { + "path": "feedback/feedback-logoff", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "注销账户", + "app": { + "bounce": "none" + } + } } @@ -933,13 +962,13 @@ "navigationStyle": "custom" } }, - "condition" : { //模式配置,仅开发期间生效 - "current": 0, //当前激活的模式(list 的索引项) + "condition" : { + "current": 0, "list": [ { - "name": "", //模式名称 - "path": "pages_app/videoDetail/videoDetail", //启动页面,必选 - "query": "" //启动参数,在页面的onLoad函数里面得到 + "name": "", + "path": "pages_app/videoDetail/videoDetail", + "query": "" } ] } diff --git a/pages_app/feedback/feedback-logoff.vue b/pages_app/feedback/feedback-logoff.vue new file mode 100644 index 0000000..49acb22 --- /dev/null +++ b/pages_app/feedback/feedback-logoff.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/pages_app/feedback/feedback.vue b/pages_app/feedback/feedback.vue new file mode 100644 index 0000000..76cc236 --- /dev/null +++ b/pages_app/feedback/feedback.vue @@ -0,0 +1,227 @@ + + + + + diff --git a/pages_app/myAccount/myAccount.vue b/pages_app/myAccount/myAccount.vue index c7d4f38..7273b84 100644 --- a/pages_app/myAccount/myAccount.vue +++ b/pages_app/myAccount/myAccount.vue @@ -90,10 +90,36 @@ const goBack = () => { } const handleWithdrawal = () => { - uni.showToast({ - title: '提现功能开发中', - icon: 'none' - }) + if(accountBalance.value < lessWithdrawalBalance.value){ + uni.showToast({ + title: `提现金额不得少于${(lessWithdrawalBalance/100).toFixed(2)}元`, + icon: 'none' + }) + return + }else{ + api.bankCardList().then(res => { + console.log(res) + if(res.code == 200 && res.data.length > 0){ + uni.navigateTo({ + url: '/pages_app/myAccount/withdrawal' + }) + }else{ + uni.showModal({ + title: '提示', + content: '请先添加银行卡', + confirmText: '确定', + cancelText: '取消', + success: (res) => { + if(res.confirm){ + uni.navigateTo({ + url: '/pages_app/idcardAuth/bankCardList' + }) + } + } + }) + } + }) + } } const handleBillDetails = () => { diff --git a/pages_app/myAccount/withdrawal.vue b/pages_app/myAccount/withdrawal.vue new file mode 100644 index 0000000..4782b76 --- /dev/null +++ b/pages_app/myAccount/withdrawal.vue @@ -0,0 +1,704 @@ + + + + + diff --git a/pages_app/setting/setting.vue b/pages_app/setting/setting.vue index e9f7781..c7b0340 100644 --- a/pages_app/setting/setting.vue +++ b/pages_app/setting/setting.vue @@ -197,25 +197,15 @@ // 跳转到意见反馈页面 const goToFeedback = () => { - uni.showToast({ - title: '意见反馈', - icon: 'none' + uni.navigateTo({ + url: '/pages_app/feedback/feedback' }); }; // 跳转到注销账户页面 const goToDeleteAccount = () => { - uni.showModal({ - title: '注销账户', - content: '确定要注销账户吗?此操作不可逆!', - success: (res) => { - if (res.confirm) { - uni.showToast({ - title: '注销账户', - icon: 'none' - }); - } - } + uni.navigateTo({ + url: '/pages_app/feedback/feedback-logoff' }); };