|
|
@@ -1,124 +1,335 @@
|
|
|
<template>
|
|
|
- <div class="study-process">
|
|
|
- <div class="m-card">
|
|
|
- <div class="m-card-hd">
|
|
|
- <div class="title">研学联建流程</div>
|
|
|
+ <m-card title="研学联建流程" :width="398" :height="450">
|
|
|
+ <div class="study-process">
|
|
|
+ <div class="core-indicator">
|
|
|
+ <div class="indicator-main">
|
|
|
+ <span class="main-value">5</span>
|
|
|
+ <span class="main-unit">步</span>
|
|
|
+ </div>
|
|
|
+ <div class="indicator-label">标准流程</div>
|
|
|
</div>
|
|
|
- <div class="m-card-bd">
|
|
|
- <div class="process-content">
|
|
|
- <div class="process-step">
|
|
|
- <div class="step-number">01</div>
|
|
|
- <div class="step-content">
|
|
|
- <h4>需求对接</h4>
|
|
|
- <p>与学校、教育机构等合作方进行需求沟通,了解研学目标、参与人数、时间安排等具体要求。</p>
|
|
|
+ <div class="stats-grid">
|
|
|
+ <div class="stat-item">
|
|
|
+ <div class="stat-value">7</div>
|
|
|
+ <div class="stat-label">工作日</div>
|
|
|
+ </div>
|
|
|
+ <div class="stat-item">
|
|
|
+ <div class="stat-value">100%</div>
|
|
|
+ <div class="stat-label">成功率</div>
|
|
|
+ </div>
|
|
|
+ <div class="stat-item">
|
|
|
+ <div class="stat-value">20+</div>
|
|
|
+ <div class="stat-label">合作学校</div>
|
|
|
+ </div>
|
|
|
+ <div class="stat-item">
|
|
|
+ <div class="stat-value">50+</div>
|
|
|
+ <div class="stat-label">完成项目</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="process-flow">
|
|
|
+ <div class="process-title">联建流程</div>
|
|
|
+ <div class="flow-items">
|
|
|
+ <div class="flow-item" :class="{ active: currentStep === 0 }">
|
|
|
+ <div class="flow-number">1</div>
|
|
|
+ <div class="flow-content">
|
|
|
+ <div class="flow-title">需求对接</div>
|
|
|
+ <div class="flow-description">与学校、教育机构等合作方进行需求沟通,了解研学目标、参与人数、时间安排等具体要求。</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="process-arrow"></div>
|
|
|
- <div class="process-step">
|
|
|
- <div class="step-number">02</div>
|
|
|
- <div class="step-content">
|
|
|
- <h4>方案定制</h4>
|
|
|
- <p>根据需求定制专属研学方案,包括课程内容、活动安排、安全保障等,确保符合教育目标和学生特点。</p>
|
|
|
+ <div class="flow-arrow"></div>
|
|
|
+ <div class="flow-item" :class="{ active: currentStep === 1 }">
|
|
|
+ <div class="flow-number">2</div>
|
|
|
+ <div class="flow-content">
|
|
|
+ <div class="flow-title">方案定制</div>
|
|
|
+ <div class="flow-description">根据需求定制专属研学方案,包括课程内容、活动安排、安全保障等,确保符合教育目标和学生特点。</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="process-arrow"></div>
|
|
|
- <div class="process-step">
|
|
|
- <div class="step-number">03</div>
|
|
|
- <div class="step-content">
|
|
|
- <h4>活动实施</h4>
|
|
|
- <p>组织专业导师团队,开展实地研学活动,包括水文监测体验、数据采集分析、科普讲座等环节。</p>
|
|
|
+ <div class="flow-arrow"></div>
|
|
|
+ <div class="flow-item" :class="{ active: currentStep === 2 }">
|
|
|
+ <div class="flow-number">3</div>
|
|
|
+ <div class="flow-content">
|
|
|
+ <div class="flow-title">活动实施</div>
|
|
|
+ <div class="flow-description">组织专业导师团队,开展实地研学活动,包括水文监测体验、数据采集分析、科普讲座等环节。</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="process-arrow"></div>
|
|
|
- <div class="process-step">
|
|
|
- <div class="step-number">04</div>
|
|
|
- <div class="step-content">
|
|
|
- <h4>效果评估</h4>
|
|
|
- <p>通过问卷调查、学生反馈、成果展示等方式,评估研学活动效果,持续优化研学方案。</p>
|
|
|
+ <div class="flow-arrow"></div>
|
|
|
+ <div class="flow-item" :class="{ active: currentStep === 3 }">
|
|
|
+ <div class="flow-number">4</div>
|
|
|
+ <div class="flow-content">
|
|
|
+ <div class="flow-title">效果评估</div>
|
|
|
+ <div class="flow-description">通过问卷调查、学生反馈、成果展示等方式,评估研学活动效果,持续优化研学方案。</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="process-arrow"></div>
|
|
|
- <div class="process-step">
|
|
|
- <div class="step-number">05</div>
|
|
|
- <div class="step-content">
|
|
|
- <h4>长期合作</h4>
|
|
|
- <p>建立长期合作关系,定期开展研学活动,共同推进水文科普教育,培养更多水文人才。</p>
|
|
|
+ <div class="flow-arrow"></div>
|
|
|
+ <div class="flow-item" :class="{ active: currentStep === 4 }">
|
|
|
+ <div class="flow-number">5</div>
|
|
|
+ <div class="flow-content">
|
|
|
+ <div class="flow-title">长期合作</div>
|
|
|
+ <div class="flow-description">建立长期合作关系,定期开展研学活动,共同推进水文科普教育,培养更多水文人才。</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="action-buttons">
|
|
|
+ <button class="action-btn primary" @click="startProcess">
|
|
|
+ <span>🚀</span> 启动流程
|
|
|
+ </button>
|
|
|
+ <button class="action-btn secondary" @click="downloadGuide">
|
|
|
+ <span>📋</span> 下载指南
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </m-card>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+import { ref, onMounted, onUnmounted } from "vue"
|
|
|
+import mCard from "@/components/mCard/index.vue"
|
|
|
+
|
|
|
+const currentStep = ref(0)
|
|
|
+let stepInterval = null
|
|
|
+
|
|
|
+onMounted(() => {
|
|
|
+ startStepAnimation()
|
|
|
+})
|
|
|
|
|
|
+onUnmounted(() => {
|
|
|
+ if (stepInterval) clearInterval(stepInterval)
|
|
|
+})
|
|
|
+
|
|
|
+function startStepAnimation() {
|
|
|
+ stepInterval = setInterval(() => {
|
|
|
+ currentStep.value = (currentStep.value + 1) % 5
|
|
|
+ }, 3000)
|
|
|
+}
|
|
|
+
|
|
|
+function startProcess() {
|
|
|
+ console.log("启动研学联建流程")
|
|
|
+}
|
|
|
+
|
|
|
+function downloadGuide() {
|
|
|
+ console.log("下载研学联建指南")
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
-<style lang="scss">
|
|
|
+<style lang="scss" scoped>
|
|
|
.study-process {
|
|
|
+ padding: 12px;
|
|
|
height: 100%;
|
|
|
- .m-card {
|
|
|
- height: 100%;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- .m-card-hd {
|
|
|
- padding: 15px 20px;
|
|
|
- border-bottom: 1px solid rgba(48, 220, 255, 0.3);
|
|
|
- .title {
|
|
|
- font-size: 18px;
|
|
|
- font-weight: bold;
|
|
|
- color: #30dcfd;
|
|
|
- }
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 12px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ overflow-y: auto;
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ width: 6px;
|
|
|
+ }
|
|
|
+ &::-webkit-scrollbar-track {
|
|
|
+ background: rgba(0, 40, 80, 0.6);
|
|
|
+ border-radius: 3px;
|
|
|
+ }
|
|
|
+ &::-webkit-scrollbar-thumb {
|
|
|
+ background: rgba(48, 220, 255, 0.5);
|
|
|
+ border-radius: 3px;
|
|
|
+ }
|
|
|
+ &::-webkit-scrollbar-thumb:hover {
|
|
|
+ background: rgba(48, 220, 255, 0.8);
|
|
|
+ }
|
|
|
+ .process-flow {
|
|
|
+ flex: 0 1 auto;
|
|
|
+ min-height: 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.core-indicator {
|
|
|
+ text-align: center;
|
|
|
+ padding: 12px;
|
|
|
+ background: linear-gradient(135deg, rgba(48, 220, 255, 0.1) 0%, rgba(0, 191, 255, 0.05) 100%);
|
|
|
+ border-radius: 8px;
|
|
|
+ border: 1px solid rgba(48, 220, 255, 0.3);
|
|
|
+}
|
|
|
+
|
|
|
+.indicator-main {
|
|
|
+ margin-bottom: 5px;
|
|
|
+}
|
|
|
+
|
|
|
+.main-value {
|
|
|
+ font-size: 40px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: #30DCFF;
|
|
|
+ font-family: "D-DIN";
|
|
|
+ text-shadow: 0 0 20px rgba(48, 220, 255, 0.5);
|
|
|
+}
|
|
|
+
|
|
|
+.main-unit {
|
|
|
+ font-size: 20px;
|
|
|
+ color: rgba(48, 220, 255, 0.8);
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
+
|
|
|
+.indicator-label {
|
|
|
+ color: rgba(255, 255, 255, 0.8);
|
|
|
+ font-size: 12px;
|
|
|
+ letter-spacing: 1px;
|
|
|
+}
|
|
|
+
|
|
|
+.stats-grid {
|
|
|
+ display: grid;
|
|
|
+ grid-template-columns: repeat(4, 1fr);
|
|
|
+ gap: 6px;
|
|
|
+}
|
|
|
+
|
|
|
+.stat-item {
|
|
|
+ background: rgba(0, 180, 255, 0.08);
|
|
|
+ border: 1px solid rgba(0, 180, 255, 0.2);
|
|
|
+ border-radius: 4px;
|
|
|
+ padding: 6px 4px;
|
|
|
+ text-align: center;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ &:hover {
|
|
|
+ background: rgba(0, 180, 255, 0.15);
|
|
|
+ border-color: rgba(48, 220, 255, 0.5);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.stat-value {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: #30DCFF;
|
|
|
+ font-family: "D-DIN";
|
|
|
+ margin-bottom: 2px;
|
|
|
+}
|
|
|
+
|
|
|
+.stat-label {
|
|
|
+ font-size: 9px;
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
+ line-height: 1.2;
|
|
|
+}
|
|
|
+
|
|
|
+.process-flow {
|
|
|
+ flex: 1;
|
|
|
+ background: rgba(0, 180, 255, 0.05);
|
|
|
+ border-radius: 6px;
|
|
|
+ padding: 8px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 8px;
|
|
|
+ overflow-y: auto;
|
|
|
+}
|
|
|
+
|
|
|
+.process-title {
|
|
|
+ font-size: 11px;
|
|
|
+ color: #30DCFF;
|
|
|
+ font-weight: 600;
|
|
|
+ padding-bottom: 4px;
|
|
|
+ border-bottom: 1px solid rgba(48, 220, 255, 0.2);
|
|
|
+}
|
|
|
+
|
|
|
+.flow-items {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 8px;
|
|
|
+}
|
|
|
+
|
|
|
+.flow-item {
|
|
|
+ display: flex;
|
|
|
+ gap: 8px;
|
|
|
+ background: rgba(0, 40, 80, 0.4);
|
|
|
+ border: 1px solid rgba(48, 220, 255, 0.2);
|
|
|
+ border-radius: 6px;
|
|
|
+ padding: 8px;
|
|
|
+ align-items: flex-start;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ &.active {
|
|
|
+ background: rgba(0, 40, 80, 0.6);
|
|
|
+ border-color: #30DCFF;
|
|
|
+ box-shadow: 0 0 10px rgba(48, 220, 255, 0.3);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.flow-number {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ border-radius: 50%;
|
|
|
+ background: linear-gradient(135deg, #30DCFF, #00BFFF);
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 700;
|
|
|
+ color: white;
|
|
|
+ flex-shrink: 0;
|
|
|
+ box-shadow: 0 0 10px rgba(48, 220, 255, 0.4);
|
|
|
+}
|
|
|
+
|
|
|
+.flow-content {
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.flow-title {
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #30DCFF;
|
|
|
+ margin-bottom: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+.flow-description {
|
|
|
+ font-size: 10px;
|
|
|
+ color: rgba(255, 255, 255, 0.8);
|
|
|
+ line-height: 1.4;
|
|
|
+}
|
|
|
+
|
|
|
+.flow-arrow {
|
|
|
+ height: 12px;
|
|
|
+ width: 100%;
|
|
|
+ position: relative;
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ top: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ border-left: 8px solid transparent;
|
|
|
+ border-right: 8px solid transparent;
|
|
|
+ border-top: 8px solid rgba(48, 220, 255, 0.3);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.action-buttons {
|
|
|
+ display: flex;
|
|
|
+ gap: 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.action-btn {
|
|
|
+ flex: 1;
|
|
|
+ padding: 10px 12px;
|
|
|
+ border-radius: 6px;
|
|
|
+ border: none;
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 12px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 5px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ &.primary {
|
|
|
+ background: linear-gradient(135deg, #30DCFF, #00BFFF);
|
|
|
+ color: #fff;
|
|
|
+ &:hover {
|
|
|
+ box-shadow: 0 0 15px rgba(48, 220, 255, 0.5);
|
|
|
+ transform: translateY(-2px);
|
|
|
}
|
|
|
- .m-card-bd {
|
|
|
- flex: 1;
|
|
|
- padding: 20px;
|
|
|
- overflow-y: auto;
|
|
|
- .process-content {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 20px;
|
|
|
- .process-step {
|
|
|
- display: flex;
|
|
|
- gap: 15px;
|
|
|
- .step-number {
|
|
|
- width: 40px;
|
|
|
- height: 40px;
|
|
|
- border-radius: 50%;
|
|
|
- background: rgba(48, 220, 255, 0.2);
|
|
|
- border: 1px solid rgba(48, 220, 255, 0.5);
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- font-size: 16px;
|
|
|
- font-weight: bold;
|
|
|
- color: #30dcfd;
|
|
|
- flex-shrink: 0;
|
|
|
- }
|
|
|
- .step-content {
|
|
|
- flex: 1;
|
|
|
- h4 {
|
|
|
- font-size: 14px;
|
|
|
- font-weight: bold;
|
|
|
- color: white;
|
|
|
- margin-bottom: 5px;
|
|
|
- }
|
|
|
- p {
|
|
|
- font-size: 12px;
|
|
|
- color: rgba(255, 255, 255, 0.8);
|
|
|
- line-height: 1.4;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .process-arrow {
|
|
|
- width: 2px;
|
|
|
- height: 20px;
|
|
|
- background: linear-gradient(to bottom, rgba(48, 220, 255, 0.5), rgba(48, 220, 255, 0.1));
|
|
|
- margin-left: 19px;
|
|
|
- }
|
|
|
- }
|
|
|
+ }
|
|
|
+ &.secondary {
|
|
|
+ background: rgba(48, 220, 255, 0.15);
|
|
|
+ border: 1px solid rgba(48, 220, 255, 0.4);
|
|
|
+ color: #30DCFF;
|
|
|
+ &:hover {
|
|
|
+ background: rgba(48, 220, 255, 0.25);
|
|
|
}
|
|
|
}
|
|
|
+ span {
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|