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 表,含数据)
This commit is contained in:
commit
a5692bfd7d
56 files changed
+11841
No files matched your search
@@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="hero-banner" style="background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);">
|
||||
<div class="hero-text">
|
||||
<h1>AI-DATA-OPC 创业服务空间</h1>
|
||||
<p>线下空间 + 线上入口协同服务 — 共享办公 / 路演 / 测试 / 数据沙盒</p>
|
||||
</div>
|
||||
<div class="hero-actions">
|
||||
<span class="top-tag" style="background: rgba(255,255,255,0.2); color: #fff;">共建空间 {{ spaces.length }} 个</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row-2">
|
||||
<div v-for="s in spaces" :key="s.id" class="resource-card">
|
||||
<div style="display: flex; justify-content: space-between; align-items: flex-start;">
|
||||
<h4>{{ s.name }}</h4>
|
||||
<span class="tag" :class="s.type === 'online' ? 'tag-cyan' : s.type === 'hybrid' ? 'tag-purple' : 'tag-blue'">{{ s.type === 'online' ? '线上虚拟' : s.type === 'hybrid' ? '线上线下' : '线下空间' }}</span>
|
||||
</div>
|
||||
<div class="meta">📍 {{ s.location }}</div>
|
||||
<div class="desc">{{ s.features }}</div>
|
||||
<div style="margin-top: 12px;">
|
||||
<div style="display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted);">
|
||||
<span>入驻:{{ s.occupied }} / {{ s.capacity }}</span>
|
||||
<span>{{ Math.round(s.occupied / s.capacity * 100) }}%</span>
|
||||
</div>
|
||||
<div class="progress-bar" style="margin-top: 4px;">
|
||||
<div class="progress-fill" :style="{ width: Math.round(s.occupied / s.capacity * 100) + '%' }"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted } from 'vue'
|
||||
import api from '../api'
|
||||
|
||||
const spaces = ref([])
|
||||
onMounted(async () => { spaces.value = await api.listSpaces() })
|
||||
</script>
|
||||
Reference in new issue
Block a user