From 00d0ec8a9b621cf90a4b45dc457da93b31d2d555 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Wed, 14 Jan 2026 17:41:42 +0800 Subject: [PATCH] =?UTF-8?q?1.14=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 31 +- manifest.json | 13 +- pages.json | 73 +- pages/upload/upload.vue | 119 ++ pages_app/buyPoint/buyPoint.vue | 15 +- pages_app/buyUpan/address.vue | 268 +++ pages_app/buyUpan/buyUpan.vue | 291 +++ pages_app/consult/consult.vue | 8 +- pages_app/consultDetail/consultDetail.vue | 151 +- .../meetHistroySearch/meetHistroySearch.vue | 2 +- pages_app/myAnswer/myAnswer.vue | 709 ++++--- pages_app/myCode/myCode.vue | 3 +- pages_app/myPoint/myPoint.vue | 26 +- pages_app/myWelfare/myWelfare.vue | 242 ++- pages_app/myWelfare/welfareDetail.vue | 391 ++++ pages_app/myWelfareCard/exchange.vue | 39 +- pages_app/myWelfareCard/myWelfareCard.vue | 85 +- pages_app/pointMall/pointMall.vue | 29 +- pages_app/ppt/ppt.vue | 18 +- pages_app/pptDetail/pptDetail.vue | 41 +- pages_app/pptDownload/pptDownload.vue | 1760 +++++++++-------- pages_app/zhinan/zhinan.vue | 2 +- pages_app/zhinanDownload/zhinanDownload.vue | 25 + pages_goods/myRedemption/myRedemption.vue | 8 +- static/carditem_bg.png | Bin 0 -> 45787 bytes static/flupan_big2.png | Bin 0 -> 53509 bytes static/logo_gdxz.png | Bin 0 -> 6236 bytes static/ppt_dw.png | Bin 0 -> 1459 bytes tsconfig.json | 7 + utils/platform.js | 3 +- utils/request.js | 3 + utils/version.js | 2 +- 32 files changed, 3068 insertions(+), 1296 deletions(-) create mode 100644 pages/upload/upload.vue create mode 100644 pages_app/buyUpan/address.vue create mode 100644 pages_app/buyUpan/buyUpan.vue create mode 100644 pages_app/myWelfare/welfareDetail.vue create mode 100644 static/carditem_bg.png create mode 100644 static/flupan_big2.png create mode 100644 static/logo_gdxz.png create mode 100644 static/ppt_dw.png diff --git a/api/api.js b/api/api.js index 5196122..a2610a8 100644 --- a/api/api.js +++ b/api/api.js @@ -447,10 +447,10 @@ const api = { return request('/expertAPI/consultListHis', data, 'post', false); }, listNewInterrogation(data){ - return request('/expertAPI/listNewInterrogation', data, 'post', false); + return request('/expertAPI/listNewInterrogation', data, 'post', true); }, listMyAnsweredInterrogation(data){ - return request('/expertAPI/listMyAnsweredInterrogation', data, 'post', false); + return request('/expertAPI/listMyAnsweredInterrogation', data, 'post', true); }, getInterrogation(data){ return request('/expertAPI/getInterrogation', data, 'post', false); @@ -459,10 +459,10 @@ const api = { return request('/expertAPI/InterrogationPatientInfo', data, 'post', false); }, updateInterrogationAnswer(data){ - return request('/expertAPI/updateInterrogationAnswerU', data, 'post', false); + return request('/expertAPI/updateInterrogationAnswerU', data, 'post', true); }, addInterrogationAnswer(data){ - return request('/expertAPI/addInterrogationAnswerU', data, 'post', false); + return request('/expertAPI/addInterrogationAnswerU', data, 'post', true); }, videoDetail(data){ return request('/expertAPI/videoDetail', data, 'post', false); @@ -665,12 +665,29 @@ const api = { return request('/expertAPI/downloadGanDanFileV2', data, 'post', false); }, feedBack(data){ - return request('/expert/feedBack', data, 'post', false); + return request('/expertAPI/addFeedBack', data, 'post', false); }, getPointUnitPrice(data){ - return request('/expertApp/getPointUnitPrice', data, 'post', false); + return request('/expertAPI/getPointUnitPrice', data, 'post', false); + }, + welfareList(data){ + return request('/expertAPI/welfareList', data, 'post', false); + }, + getUGoods(data){ + return request('/expertApp/getUGoods', data, 'post', false); + }, + getUGoods(data){ + return request('/expertAPI/getGoodsDetailU', data, 'post', false); + }, + createGoodsOrder(data){ + return request('/expertAPI/createGoodsOrder', data, 'post', false); + }, + useWelfareNum(data){ + return request('/expertAPI/useWelfareNum', data, 'post', false); + }, + createBointsOrder(data){ + return request('/expertPay/createBointsOrder', data, 'post', false); }, - } diff --git a/manifest.json b/manifest.json index cf5b387..5e3d0fa 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "肝胆相照专家版", "appid" : "__UNI__89F511F", "description" : "", - "versionName" : "4.1.9", - "versionCode" :419, + "versionName" : "4.2.0", + "versionCode" : 420, "transformPx" : false, "app-plus" : { /* 5+App特有相关 */ @@ -58,12 +58,17 @@ "" ], "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ], - "minSdkVersion" : 21 + "minSdkVersion" : 21, + "targetSdkVersion" :30 }, "ios" : { "dSYMs" : false, "idfa" : false, - "urlschemewhitelist" : [ "weixin", "wechat" ] + "urlschemewhitelist" : [ "weixin", "wechat" ], + "permission" : { + "NSPhotoLibraryUsageDescription" : "需要访问相册以选择图片", + "NSCameraUsageDescription" : "需要访问相机以拍照" + } }, /* ios打包配置 */ "sdkConfigs" : { diff --git a/pages.json b/pages.json index 4d13562..cae0e47 100644 --- a/pages.json +++ b/pages.json @@ -9,7 +9,16 @@ } }, "pages": [ - + // { + // "path": "pages/upload/upload", + // "style": { + // "navigationBarTitleText": "", + // "navigationStyle": "custom", + // "app": { + // "bounce": "none" + // } + // } + // }, { "path": "pages/loading/loading", "style": { @@ -20,6 +29,7 @@ } } }, + { "path": "pages/index/index", "style": { @@ -489,6 +499,16 @@ } } }, + { + "path": "myCode/myCode", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, { "path": "buyPoint/buyPoint", "style": { @@ -499,6 +519,16 @@ } } }, + { + "path": "myWelfare/welfareDetail", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, { "path": "myWelfare/myWelfare", "style": { @@ -509,6 +539,26 @@ } } }, + { + "path": "buyUpan/buyUpan", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, + { + "path": "buyUpan/address", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, { "path": "myWelfareCard/myWelfareCard", "style": { @@ -519,6 +569,16 @@ } } }, + { + "path": "myWelfareCard/exchange", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "uni-app分页", + "app": { + "bounce": "none" + } + } + }, { "path": "myPoint/myPoint", "style": { @@ -931,16 +991,7 @@ // } // } // }, - // { - // "path": "myCode/myCode", - // "style": { - // "navigationStyle": "custom", - // "navigationBarTitleText": "uni-app分页", - // "app": { - // "bounce": "none" - // } - // } - // }, + // { // "path": "myDownLoad/myDownLoad", diff --git a/pages/upload/upload.vue b/pages/upload/upload.vue new file mode 100644 index 0000000..b036a06 --- /dev/null +++ b/pages/upload/upload.vue @@ -0,0 +1,119 @@ + + + + + \ No newline at end of file diff --git a/pages_app/buyPoint/buyPoint.vue b/pages_app/buyPoint/buyPoint.vue index badfe27..4d50187 100644 --- a/pages_app/buyPoint/buyPoint.vue +++ b/pages_app/buyPoint/buyPoint.vue @@ -68,6 +68,19 @@ }; const freeConfirm = () => { freeVisible.value = false; + api.createBointsOrder({ + point: selectedPackageData.value.points + }).then(res => { + if(res.code==200){ + uni.sendNativeEvent('payPonitPage', { + msg: { + "price":res.data.amount, + "order_id":res.data.order_id, + 'jifen':res.data.point, + }, + }); + } + }); }; onLoad(() => { getPointUnitPrice(); @@ -85,7 +98,7 @@ const getPointUnitPrice = () => { api.getPointUnitPrice().then(res => { if(res.code==200){ - pointUnitPrice.value=Number(res.PointUnitPrice); + pointUnitPrice.value=Number(res.data); console.log(pointUnitPrice.value); packages.value.forEach(pkg => { pkg.price = pkg.points * pointUnitPrice.value / 100; diff --git a/pages_app/buyUpan/address.vue b/pages_app/buyUpan/address.vue new file mode 100644 index 0000000..821af8a --- /dev/null +++ b/pages_app/buyUpan/address.vue @@ -0,0 +1,268 @@ + + + + + + diff --git a/pages_app/buyUpan/buyUpan.vue b/pages_app/buyUpan/buyUpan.vue new file mode 100644 index 0000000..4b2c5ca --- /dev/null +++ b/pages_app/buyUpan/buyUpan.vue @@ -0,0 +1,291 @@ + + + + + diff --git a/pages_app/consult/consult.vue b/pages_app/consult/consult.vue index aba37e2..af202fc 100644 --- a/pages_app/consult/consult.vue +++ b/pages_app/consult/consult.vue @@ -57,7 +57,7 @@ diff --git a/pages_app/myAnswer/myAnswer.vue b/pages_app/myAnswer/myAnswer.vue index 3cbb0c9..e8ae15d 100644 --- a/pages_app/myAnswer/myAnswer.vue +++ b/pages_app/myAnswer/myAnswer.vue @@ -1,314 +1,469 @@