From ad39805b8365e7bec32f5bc48d00a493d3024537 Mon Sep 17 00:00:00 2001
From: zoujiandong <10130823232@qq.com>
Date: Fri, 5 Sep 2025 10:41:10 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A411?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages_app/hot/hot.vue | 2 +-
pages_app/search/search.vue | 52 +++++++++++++++++++++++++------------
2 files changed, 36 insertions(+), 18 deletions(-)
diff --git a/pages_app/hot/hot.vue b/pages_app/hot/hot.vue
index f4e71e9..a401db9 100644
--- a/pages_app/hot/hot.vue
+++ b/pages_app/hot/hot.vue
@@ -67,7 +67,7 @@
上拉加载更多
-
+
没有更多数据了
diff --git a/pages_app/search/search.vue b/pages_app/search/search.vue
index 16ca1e7..9a4a9e5 100644
--- a/pages_app/search/search.vue
+++ b/pages_app/search/search.vue
@@ -21,7 +21,7 @@
-
+
搜索
@@ -38,7 +38,7 @@
class="category-item"
v-for="(item, index) in categoryList"
:key="index"
- @click="onCategoryClick(Index,item.type)"
+ @click="onCategoryClick(index,item.type)"
>
@@ -78,7 +78,8 @@
import doctorOn from "@/static/item_doctor_yes.png"
import mall from "@/static/item_mall_no.png"
import mallOn from "@/static/item_mall_yes.png"
- const tab=ref(-1);
+ const tab=ref(0);
+ const type=ref('');
// 搜索关键词
const searchKeyword = ref('');
@@ -97,10 +98,10 @@
{ name: '指南', icon:zhinan, activeIcon:zhinanOn,type: 'zhinan' },
{ name: '精品课', icon:course,activeIcon:courseOn, type: 'course' },
{ name: '肝胆课件', icon:ppt,activeIcon:pptOn, type: 'ppt' },
- { name: '患者', icon:patient, patientIcon:patientOn,type: 'patient' },
- { name: '名院', icon:doctor,activeIcon:doctorOn, type: 'doctor' },
- { name: '名科', icon:department,activeIcon:departmentOn, type: 'department' },
- { name: '名医', icon:doctor, activeIcon:doctorOn,type: 'doctor' },
+ // { name: '患者', icon:patient, patientIcon:patientOn,type: 'patient' },
+ // { name: '名院', icon:doctor,activeIcon:doctorOn, type: 'doctor' },
+ // { name: '名科', icon:department,activeIcon:departmentOn, type: 'department' },
+ // { name: '名医', icon:doctor, activeIcon:doctorOn,type: 'doctor' },
{ name: '积分商城', icon:mall,activeIcon:mallOn, type: 'mall' }
]);
@@ -134,34 +135,51 @@
};
// 点击分类
- const onCategoryClick = (index,type) => {
- tab.value=index;
- if(type=='video'){
+ const goSearch = () => {
+ if(!searchKeyword.value){
+ uni.showToast({
+ title: `请输入搜索内容`,
+ icon: 'none'
+ });
+ return;
+ }
+ if(type.value=='video'){
uni.navigateTo({
url: `/pages_app/searchVideo/searchVideo?keywords=${searchKeyword.value}`
})
- }else if(type=='videoPatient'){
+ }else if(type.value=='videoPatient'){
uni.navigateTo({
url: `/pages_app/searchVideo/searchVideo?keywords=${searchKeyword.value}&from=hjsp`
})
- }else if(type=='news'){
+ }else if(type.value=='news'){
uni.navigateTo({
url: `/pages_app/searchNews/searchNews?keywords=${searchKeyword.value}`
})
- }else if(type=='kepu'){
+ }else if(type.value=='kepu'){
uni.navigateTo({
url: `/pages_app/searchNews/searchNews?keywords=${searchKeyword.value}&from=kp`
})
- }else if(type=='zhinan'){
+ }else if(type.value=='zhinan'){
uni.navigateTo({
url: `/pages_app/hot/hot?name=${searchKeyword.value}`
})
- }else if(type=='course'){
+ }else if(type.value=='course'){
uni.navigateTo({
- url: `/pages_app/searchNews/searchNews?keywords=${searchKeyword.value}&from=kp`
+ url: `/pages_course/index/index?keywords=${searchKeyword.value}`
+ })
+ }else if(type.value=='ppt'){
+ uni.navigateTo({
+ url: `/pages_app/hot/hot?name=${searchKeyword.value}`
+ })
+ }else if(type.value=='mall'){
+ uni.navigateTo({
+ url: `/pages_app/pointMall/pointMall?keywords=${searchKeyword.value}`
})
}
-
+ }
+ const onCategoryClick = (index,typeStr) => {
+ tab.value=index;
+ type.value=typeStr;
// 这里可以根据分类进行搜索
};
From c711c53959ba5872b68d589bfa25aa3727cba3ef Mon Sep 17 00:00:00 2001
From: zoujiandong <10130823232@qq.com>
Date: Fri, 5 Sep 2025 17:38:14 +0800
Subject: [PATCH 2/2] =?UTF-8?q?9.5=E4=B8=8B=E5=8D=88=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/api.js | 21 +
pages.json | 22 +
pages/education/education.vue | 2 +-
pages/index/index.vue | 63 +-
pages/live/live.vue | 617 +++++++++----
pages/meeting/meeting.vue | 74 +-
pages_app/myApplication/myApplication.vue | 422 +++++++++
pages_app/personInfo/personInfo.vue | 563 +++++++++++-
pages_app/search/search.vue | 4 +-
pages_app/writeInfo/writeInfo.vue | 123 +++
pages_app/writeInfo/wtiteInfo.vue | 132 +++
uni_modules/qf-image-cropper/changelog.md | 72 ++
.../qf-image-cropper.render.js | 855 ++++++++++++++++++
.../qf-image-cropper/qf-image-cropper.vue | 743 +++++++++++++++
.../qf-image-cropper/qf-image-cropper.wxs | 727 +++++++++++++++
uni_modules/qf-image-cropper/package.json | 81 ++
uni_modules/qf-image-cropper/readme.md | 97 ++
17 files changed, 4343 insertions(+), 275 deletions(-)
create mode 100644 pages_app/myApplication/myApplication.vue
create mode 100644 pages_app/writeInfo/writeInfo.vue
create mode 100644 pages_app/writeInfo/wtiteInfo.vue
create mode 100644 uni_modules/qf-image-cropper/changelog.md
create mode 100644 uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.render.js
create mode 100644 uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue
create mode 100644 uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.wxs
create mode 100644 uni_modules/qf-image-cropper/package.json
create mode 100644 uni_modules/qf-image-cropper/readme.md
diff --git a/api/api.js b/api/api.js
index a4c05dc..3cb9c0e 100644
--- a/api/api.js
+++ b/api/api.js
@@ -401,6 +401,27 @@ const api = {
polularScienceArticleListIndexNew(data){
return request('/expertAPI/polularScienceArticleListIndexNew', data, 'post', false);
},
+ meetingListBySearch(data){
+ return request('/expertAPI/meetingListBySearch', data, 'post', false);
+ },
+ getExpertByUuid(data){
+ return request('/expertAPI/getExpertByUuid', data, 'post', false);
+ },
+ getUserIcon(data){
+ return request('/expertAPI/getUserIcon', data, 'post', false);
+ },
+ addUserIcon(data){
+ return request('/expertAPI/addUserIcon', data, 'post', false);
+ },
+ getDiseaseList(data){
+ return request('/expertAPI/disease', data, 'post', false);
+ },
+ getPositionList(data){
+ return request('/expertAPI/positionList', data, 'post', false);
+ },
+ getOfficeList(data){
+ return request('/expertAPI/officeList', data, 'post', false);
+ },
}
export default api
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 9b86536..8a297ef 100644
--- a/pages.json
+++ b/pages.json
@@ -208,6 +208,28 @@
}
}
},
+ {
+ "path": "writeInfo/writeInfo",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarRightButton":{ "hide": true},
+ "navigationBarTitleText": "uni-app分页",
+ "app": {
+ "bounce": "none"
+ }
+ }
+ },
+ {
+ "path": "myApplication/myApplication",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarRightButton":{ "hide": true},
+ "navigationBarTitleText": "uni-app分页",
+ "app": {
+ "bounce": "none"
+ }
+ }
+ },
{
"path": "searchVideo/searchVideo",
"style": {
diff --git a/pages/education/education.vue b/pages/education/education.vue
index ac1fd6e..d84b20a 100644
--- a/pages/education/education.vue
+++ b/pages/education/education.vue
@@ -112,7 +112,7 @@
switch(courseType) {
case 'course':
navTo({
- url: '/pages_course/index/index'
+ url: '/pages_course/course/course'
})
break;
case 'video':
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 0992762..62ae857 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -18,7 +18,7 @@
placeholderColor="#999999"
>
-