|
|
|
@ -1,7 +1,7 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<view class="calendar-page">
|
|
|
|
<view class="calendar-page">
|
|
|
|
<!-- 顶部导航 -->
|
|
|
|
<!-- 顶部导航 -->
|
|
|
|
<view class="header">
|
|
|
|
<!-- <view class="header">
|
|
|
|
<view class="logo-section">
|
|
|
|
<view class="logo-section">
|
|
|
|
<view class="logo"></view>
|
|
|
|
<view class="logo"></view>
|
|
|
|
<view class="school-name">苏州科技商学院</view>
|
|
|
|
<view class="school-name">苏州科技商学院</view>
|
|
|
|
@ -10,7 +10,7 @@
|
|
|
|
<text>张同学</text>
|
|
|
|
<text>张同学</text>
|
|
|
|
<view class="vip-badge">VIP会员</view>
|
|
|
|
<view class="vip-badge">VIP会员</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 课程类型筛选 -->
|
|
|
|
<!-- 课程类型筛选 -->
|
|
|
|
<view class="calendar-filters">
|
|
|
|
<view class="calendar-filters">
|
|
|
|
@ -131,8 +131,8 @@ export default {
|
|
|
|
filterTabs: [
|
|
|
|
filterTabs: [
|
|
|
|
{ label: '全部', value: 'all' },
|
|
|
|
{ label: '全部', value: 'all' },
|
|
|
|
{ label: '课程', value: 'course' },
|
|
|
|
{ label: '课程', value: 'course' },
|
|
|
|
{ label: '活动', value: 'activity' },
|
|
|
|
{ label: '日程', value: 'activity' },
|
|
|
|
{ label: '移动课堂', value: 'workshop' }
|
|
|
|
{ label: '资讯', value: 'workshop' }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
filterType: 'all',
|
|
|
|
filterType: 'all',
|
|
|
|
calendarDate: `${year}-${month}`,
|
|
|
|
calendarDate: `${year}-${month}`,
|
|
|
|
@ -143,8 +143,8 @@ export default {
|
|
|
|
id: 1,
|
|
|
|
id: 1,
|
|
|
|
title: '2025产业加速营 | 智能制造专题',
|
|
|
|
title: '2025产业加速营 | 智能制造专题',
|
|
|
|
type: 'course',
|
|
|
|
type: 'course',
|
|
|
|
start: '2025-06-04T09:00:00',
|
|
|
|
start: '2025-07-04T09:00:00',
|
|
|
|
end: '2025-06-04T17:00:00',
|
|
|
|
end: '2025-07-04T17:00:00',
|
|
|
|
location: '商学院A101',
|
|
|
|
location: '商学院A101',
|
|
|
|
teacher: '王教授',
|
|
|
|
teacher: '王教授',
|
|
|
|
description: '聚焦智能制造领域的最新发展与应用,邀请行业专家深度解析。',
|
|
|
|
description: '聚焦智能制造领域的最新发展与应用,邀请行业专家深度解析。',
|
|
|
|
@ -155,8 +155,8 @@ export default {
|
|
|
|
id: 2,
|
|
|
|
id: 2,
|
|
|
|
title: '校友企业参访 | 新能源企业',
|
|
|
|
title: '校友企业参访 | 新能源企业',
|
|
|
|
type: 'activity',
|
|
|
|
type: 'activity',
|
|
|
|
start: '2025-06-10T13:30:00',
|
|
|
|
start: '2025-07-10T13:30:00',
|
|
|
|
end: '2025-06-10T17:00:00',
|
|
|
|
end: '2025-07-10T17:00:00',
|
|
|
|
location: '苏州高新区',
|
|
|
|
location: '苏州高新区',
|
|
|
|
teacher: '李总监',
|
|
|
|
teacher: '李总监',
|
|
|
|
description: '走进新能源龙头企业,了解绿色科技创新。',
|
|
|
|
description: '走进新能源龙头企业,了解绿色科技创新。',
|
|
|
|
@ -167,8 +167,8 @@ export default {
|
|
|
|
id: 3,
|
|
|
|
id: 3,
|
|
|
|
title: '移动课堂 | AI商业落地',
|
|
|
|
title: '移动课堂 | AI商业落地',
|
|
|
|
type: 'workshop',
|
|
|
|
type: 'workshop',
|
|
|
|
start: '2025-06-15T09:00:00',
|
|
|
|
start: '2025-07-15T09:00:00',
|
|
|
|
end: '2025-06-15T16:00:00',
|
|
|
|
end: '2025-07-15T16:00:00',
|
|
|
|
location: '创新实验室B202',
|
|
|
|
location: '创新实验室B202',
|
|
|
|
teacher: '张教授',
|
|
|
|
teacher: '张教授',
|
|
|
|
description: '实战演练AI项目商业化流程,提升创业能力。',
|
|
|
|
description: '实战演练AI项目商业化流程,提升创业能力。',
|
|
|
|
@ -179,8 +179,8 @@ export default {
|
|
|
|
id: 4,
|
|
|
|
id: 4,
|
|
|
|
title: '2025校友论坛 | 数字经济新机遇',
|
|
|
|
title: '2025校友论坛 | 数字经济新机遇',
|
|
|
|
type: 'activity',
|
|
|
|
type: 'activity',
|
|
|
|
start: '2025-06-20T14:00:00',
|
|
|
|
start: '2025-07-20T14:00:00',
|
|
|
|
end: '2025-06-20T17:30:00',
|
|
|
|
end: '2025-07-20T17:30:00',
|
|
|
|
location: '报告厅',
|
|
|
|
location: '报告厅',
|
|
|
|
teacher: '特邀嘉宾',
|
|
|
|
teacher: '特邀嘉宾',
|
|
|
|
description: '聚焦数字经济发展趋势,促进校友交流合作。',
|
|
|
|
description: '聚焦数字经济发展趋势,促进校友交流合作。',
|
|
|
|
@ -191,8 +191,8 @@ export default {
|
|
|
|
id: 5,
|
|
|
|
id: 5,
|
|
|
|
title: '2025暑期创新营 | 项目路演',
|
|
|
|
title: '2025暑期创新营 | 项目路演',
|
|
|
|
type: 'course',
|
|
|
|
type: 'course',
|
|
|
|
start: '2025-06-27T09:00:00',
|
|
|
|
start: '2025-07-27T09:00:00',
|
|
|
|
end: '2025-06-27T12:00:00',
|
|
|
|
end: '2025-07-27T12:00:00',
|
|
|
|
location: '多功能厅',
|
|
|
|
location: '多功能厅',
|
|
|
|
teacher: '创业导师团',
|
|
|
|
teacher: '创业导师团',
|
|
|
|
description: '学员项目成果展示与专家点评。',
|
|
|
|
description: '学员项目成果展示与专家点评。',
|
|
|
|
@ -296,7 +296,7 @@ export default {
|
|
|
|
onDateChange({ fulldate }) {
|
|
|
|
onDateChange({ fulldate }) {
|
|
|
|
const evs = this.getEventsForDate(fulldate);
|
|
|
|
const evs = this.getEventsForDate(fulldate);
|
|
|
|
if (evs.length) {
|
|
|
|
if (evs.length) {
|
|
|
|
// 如果当天有多个事件,优先显示课程,然后是移动课堂,最后是活动
|
|
|
|
// 如果当天有多个事件,优先显示课程,然后是移动课堂,最后是日程
|
|
|
|
evs.sort((a,b) => {
|
|
|
|
evs.sort((a,b) => {
|
|
|
|
const order = { course: 1, workshop: 2, activity: 3 };
|
|
|
|
const order = { course: 1, workshop: 2, activity: 3 };
|
|
|
|
return (order[a.type] || 9) - (order[b.type] || 9);
|
|
|
|
return (order[a.type] || 9) - (order[b.type] || 9);
|
|
|
|
@ -356,8 +356,8 @@ export default {
|
|
|
|
getCourseTypeName(type) {
|
|
|
|
getCourseTypeName(type) {
|
|
|
|
const types = {
|
|
|
|
const types = {
|
|
|
|
course: '课程',
|
|
|
|
course: '课程',
|
|
|
|
activity: '活动',
|
|
|
|
activity: '日程',
|
|
|
|
workshop: '移动课堂'
|
|
|
|
workshop: '资讯'
|
|
|
|
};
|
|
|
|
};
|
|
|
|
return types[type] || type;
|
|
|
|
return types[type] || type;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|