From bf0cacb4c95f804e243939b3373a86581c846c4a Mon Sep 17 00:00:00 2001 From: zeyan <258785420@qq.com> Date: Thu, 17 Jul 2025 12:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/student_courses/student_courses.vue | 12 +- .../apiController/CustomerResourcesAuth.php | 2 +- .../api/apiService/ResourceSharingService.php | 2 +- uniapp/pages.json | 27 + .../coach/my/teaching_management_info.vue | 6 +- uniapp/pages/market/clue/clue_info.vue | 3782 ++++++++--------- uniapp/pages/market/course/course_detail.vue | 8 +- uniapp/pages/market/my/campus_data.vue | 495 +++ uniapp/pages/market/my/dept_data.vue | 445 ++ uniapp/pages/market/my/index.vue | 154 +- uniapp/pages/market/my/my_data.vue | 292 ++ 11 files changed, 3268 insertions(+), 1957 deletions(-) create mode 100644 uniapp/pages/market/my/campus_data.vue create mode 100644 uniapp/pages/market/my/dept_data.vue create mode 100644 uniapp/pages/market/my/my_data.vue diff --git a/admin/src/app/views/student_courses/student_courses.vue b/admin/src/app/views/student_courses/student_courses.vue index 72e3a824..ca113ff6 100644 --- a/admin/src/app/views/student_courses/student_courses.vue +++ b/admin/src/app/views/student_courses/student_courses.vue @@ -76,14 +76,22 @@ :label="t('studentId')" min-width="120" :show-overflow-tooltip="true" - /> + > + + + > + + { console.log('打开文档成功'); diff --git a/uniapp/pages/market/clue/clue_info.vue b/uniapp/pages/market/clue/clue_info.vue index 7fc7885d..30ca447b 100644 --- a/uniapp/pages/market/clue/clue_info.vue +++ b/uniapp/pages/market/clue/clue_info.vue @@ -1,1918 +1,1890 @@ \ No newline at end of file diff --git a/uniapp/pages/market/course/course_detail.vue b/uniapp/pages/market/course/course_detail.vue index a97e4970..a7dab243 100644 --- a/uniapp/pages/market/course/course_detail.vue +++ b/uniapp/pages/market/course/course_detail.vue @@ -4,7 +4,7 @@ {{ courseInfo.course_name || '课程详情' }} - + {{ getStatusText(courseInfo.status) }} @@ -54,16 +54,16 @@ - + {{ getScheduleTypeText(item.schedule_type) }} - + {{ getCourseTypeText(item.course_type) }} - + {{ getScheduleStatusText(item.status) }} diff --git a/uniapp/pages/market/my/campus_data.vue b/uniapp/pages/market/my/campus_data.vue new file mode 100644 index 00000000..bba0c6e3 --- /dev/null +++ b/uniapp/pages/market/my/campus_data.vue @@ -0,0 +1,495 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages/market/my/dept_data.vue b/uniapp/pages/market/my/dept_data.vue new file mode 100644 index 00000000..fdda74bc --- /dev/null +++ b/uniapp/pages/market/my/dept_data.vue @@ -0,0 +1,445 @@ + + + + + + \ No newline at end of file diff --git a/uniapp/pages/market/my/index.vue b/uniapp/pages/market/my/index.vue index e7e4e6f3..6bdc4cea 100644 --- a/uniapp/pages/market/my/index.vue +++ b/uniapp/pages/market/my/index.vue @@ -37,38 +37,68 @@ - - - 报销记录 - + + + + + + 报销记录 - - 我的考勤 - + + + + + 我的考勤 - - 课程安排 - - + + + + + 课程安排 + - - 我的消息 - + + + + + 我的消息 - - 我的合同 - - - + + + + + 我的合同 + - + + + + + 我的数据 + - - 设置 - + + + + + 部门数据 + + + + + + + 校区数据 + + + + + + + 设置 @@ -85,11 +115,13 @@ import { Api_url } from "@/common/config.js"; import AQTabber from "@/components/AQ/AQTabber.vue" +import fuiIcon from "@/components/firstui/fui-icon/fui-icon.vue" export default { components: { AQTabber, + fuiIcon, }, data() { return { @@ -247,6 +279,27 @@ export default { url: '/pages/common/contract/my_contract' }) }, + + //打开我的数据 + openMyData(){ + this.$navigateTo({ + url: '/pages/market/my/my_data' + }) + }, + + //打开部门数据 + openDeptData(){ + this.$navigateTo({ + url: '/pages/market/my/dept_data' + }) + }, + + //打开校区数据 + openCampusData(){ + this.$navigateTo({ + url: '/pages/market/my/campus_data' + }) + }, } } @@ -421,30 +474,49 @@ export default { padding-bottom: 150rpx; font-size: 24rpx; color: #333333; - display: flex; - flex-direction: column; - gap: 22rpx; - .section_box { + .grid_container { background: #fff; border-radius: 16rpx; - padding: 6rpx 24rpx; - display: flex; - flex-direction: column; - .item{ - padding: 24rpx 78rpx; - border-top: 1px solid #F2F2F2; - font-size: 28rpx; + padding: 40rpx 24rpx; + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 40rpx 20rpx; + + .grid_item { display: flex; - justify-content: space-between; - } - .item:nth-child(1){ - border-top: 0; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 20rpx 10rpx; + border-radius: 12rpx; + transition: all 0.3s ease; + + &:active { + background-color: #f5f5f5; + transform: scale(0.95); + } + + .icon_wrapper { + width: 80rpx; + height: 80rpx; + background: rgba(41, 211, 180, 0.1); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 16rpx; + } + + .item_text { + font-size: 24rpx; + color: #333333; + text-align: center; + font-weight: 400; + line-height: 1.2; + } } - - } - } diff --git a/uniapp/pages/market/my/my_data.vue b/uniapp/pages/market/my/my_data.vue new file mode 100644 index 00000000..cefe0c5e --- /dev/null +++ b/uniapp/pages/market/my/my_data.vue @@ -0,0 +1,292 @@ + + + + + + \ No newline at end of file