Files
opc/frontend/src/views/MentorsView.vue
T
小K a5692bfd7d feat: OPC 平台初版(Go+PG backend / Vue frontend)+ 尚数网融合方案 + db/0824 数据库备份
- backend: 25 张表 schema/seed,config 指向 127.0.0.1:15432 opc 库
- docs: 尚数网七维融合方案、行业老炮切入方案、竞品分析等
- db/0824/opc_0824.sql(.gz): pg_dump 全量备份(25 表,含数据)
2026-08-24 13:44:40 +08:00

44 lines
1.8 KiB
Vue

<template>
<div>
<div class="hero-banner" style="background: linear-gradient(135deg, #5b21b6 0%, #1d4ed8 100%);">
<div class="hero-text">
<h1>导师库</h1>
<p>技术 / 合规 / 产品 / 商业 / 投资 — 一对一辅导 OPC 团队</p>
</div>
<div class="hero-actions">
<span class="top-tag" style="background: rgba(255,255,255,0.2); color: #fff;">{{ mentors.length }} 位导师</span>
</div>
</div>
<div class="row-3">
<div v-for="m in mentors" :key="m.id" class="resource-card">
<div style="display: flex; gap: 12px; align-items: center;">
<div style="width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #0d4ed8, #06b6d4); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600;">
{{ m.name[0] }}
</div>
<div style="flex: 1;">
<h4 style="margin: 0;">{{ m.name }}</h4>
<div class="meta">{{ m.title }}</div>
</div>
</div>
<div style="margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap;">
<span class="tag tag-purple">{{ m.domain }}</span>
<span class="tag tag-blue">{{ m.years_exp }} 年经验</span>
<span class="tag tag-green">★ {{ m.rating }}</span>
<span class="tag tag-orange">{{ m.cases }} 案例</span>
</div>
<div class="desc" style="margin-top: 10px;">{{ m.bio }}</div>
<div style="font-size: 12px; color: var(--text-muted); margin-top: 8px;">🏢 {{ m.org }}</div>
</div>
</div>
</div>
</template>
<script setup>
import { ref, onMounted } from 'vue'
import api from '../api'
const mentors = ref([])
onMounted(async () => { mentors.value = await api.listMentors() })
</script>