| | |
| | | <template> |
| | | <div class="architecture-page"> |
| | | <section ref="canvasRef" class="canvas"> |
| | | <svg |
| | | v-if="linkPath" |
| | | class="link-overlay" |
| | | :width="svgSize.width" |
| | | :height="svgSize.height" |
| | | aria-hidden="true" |
| | | > |
| | | <defs> |
| | | <marker |
| | | id="erp-link-arrow" |
| | | markerWidth="10" |
| | | markerHeight="10" |
| | | refX="7" |
| | | refY="3.5" |
| | | orient="auto" |
| | | markerUnits="strokeWidth" |
| | | > |
| | | <path d="M0,0 L0,7 L7,3.5 z" fill="#94a3b8" /> |
| | | </marker> |
| | | </defs> |
| | | <path |
| | | :d="linkPath" |
| | | class="link-overlay__path" |
| | | marker-end="url(#erp-link-arrow)" |
| | | /> |
| | | </svg> |
| | | <div class="architecture-shell"> |
| | | <header class="page-title"> |
| | | <span class="page-title__bar"></span> |
| | | <h1>系统架构图</h1> |
| | | </header> |
| | | |
| | | <section |
| | | v-for="row in architectureRows" |
| | | :key="row.key" |
| | | class="lane" |
| | | > |
| | | <aside class="lane__aside"> |
| | | <svg-icon :icon-class="row.icon" class="lane__icon" /> |
| | | <h2>{{ row.label }}</h2> |
| | | <span class="lane__arrow"></span> |
| | | </aside> |
| | | <section class="section-card section-card--top"> |
| | | <article class="module-title module-title--basic"> |
| | | <div class="module-title__icon"> |
| | | <span class="module-title__icon-shape"> |
| | | <svg-icon icon-class="system" /> |
| | | </span> |
| | | </div> |
| | | <div class="module-title__text"> |
| | | <h2>基础配置</h2> |
| | | <p>系统基础信息管理</p> |
| | | </div> |
| | | </article> |
| | | |
| | | <div class="lane__flow"> |
| | | <div |
| | | v-for="(item, index) in row.items" |
| | | :key="item.name" |
| | | class="node-wrap" |
| | | > |
| | | <article |
| | | class="node" |
| | | :class="{ 'node--accent': item.accent }" |
| | | :ref="setNodeRef(item)" |
| | | > |
| | | <span class="node__mark"> |
| | | <span class="node__cap"></span> |
| | | <span class="node__base"></span> |
| | | <svg-icon :icon-class="item.icon" class="node__icon" /> |
| | | <div class="flow-row flow-row--top"> |
| | | <template v-for="item in basicFlow" :key="item.key"> |
| | | <div class="flow-item"> |
| | | <article class="flow-node"> |
| | | <div class="flow-node__icon"> |
| | | <svg-icon :icon-class="item.icon" /> |
| | | </div> |
| | | <span>{{ item.name }}</span> |
| | | </article> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </section> |
| | | |
| | | <section class="middle-layout"> |
| | | <div class="panel-card panel-card--sale"> |
| | | <article class="module-title module-title--sale"> |
| | | <div class="module-title__icon"> |
| | | <span class="module-title__icon-shape"> |
| | | <svg-icon icon-class="chart" /> |
| | | </span> |
| | | <h3>{{ item.name }}</h3> |
| | | </article> |
| | | <span v-if="index < row.items.length - 1" class="flow-arrow"></span> |
| | | </div> |
| | | <div class="module-title__text"> |
| | | <h2>销售配置</h2> |
| | | <p>客户与销售管理</p> |
| | | </div> |
| | | </article> |
| | | |
| | | <div class="flow-grid flow-grid--sale"> |
| | | <template v-for="(item, index) in saleFlow" :key="item.key"> |
| | | <div class="grid-cell"> |
| | | <article class="flow-node"> |
| | | <div class="flow-node__icon" :class="{ 'flow-node__icon--accent': item.accent }"> |
| | | <svg-icon :icon-class="item.icon" /> |
| | | </div> |
| | | <span>{{ item.name }}</span> |
| | | </article> |
| | | <span |
| | | v-if="item.arrow === 'right'" |
| | | class="flow-arrow flow-arrow--right flow-arrow--grid" |
| | | ></span> |
| | | <span |
| | | v-if="item.arrow === 'down'" |
| | | class="flow-arrow flow-arrow--down flow-arrow--grid" |
| | | ></span> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="ai-stage"> |
| | | <div class="ai-stage__connector ai-stage__connector--top"></div> |
| | | <div class="ai-stage__connector ai-stage__connector--left"></div> |
| | | <div class="ai-stage__connector ai-stage__connector--right"></div> |
| | | <div class="ai-stage__connector ai-stage__connector--bottom"></div> |
| | | |
| | | <div class="ai-stage__ring"> |
| | | <div class="ai-stage__core"> |
| | | <img :src="aiHead" alt="AI 核心引擎" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="panel-card panel-card--purchase"> |
| | | <article class="module-title module-title--purchase"> |
| | | <div class="module-title__icon"> |
| | | <span class="module-title__icon-shape"> |
| | | <svg-icon icon-class="shopping" /> |
| | | </span> |
| | | </div> |
| | | <div class="module-title__text"> |
| | | <h2>采购配置</h2> |
| | | <p>采购与供应商管理</p> |
| | | </div> |
| | | </article> |
| | | |
| | | <div class="flow-grid flow-grid--purchase"> |
| | | <template v-for="(item, index) in purchaseFlow" :key="item.key"> |
| | | <div class="grid-cell"> |
| | | <article class="flow-node"> |
| | | <div class="flow-node__icon" :class="{ 'flow-node__icon--accent': item.accent }"> |
| | | <svg-icon :icon-class="item.icon" /> |
| | | </div> |
| | | <span>{{ item.name }}</span> |
| | | </article> |
| | | <span |
| | | v-if="item.arrow === 'right'" |
| | | class="flow-arrow flow-arrow--right flow-arrow--grid" |
| | | ></span> |
| | | <span |
| | | v-if="item.arrow === 'down'" |
| | | class="flow-arrow flow-arrow--down flow-arrow--grid" |
| | | ></span> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | </section> |
| | | </section> |
| | | |
| | | <section class="section-card section-card--bottom"> |
| | | <article class="module-title module-title--produce"> |
| | | <div class="module-title__icon"> |
| | | <span class="module-title__icon-shape"> |
| | | <svg-icon icon-class="build" /> |
| | | </span> |
| | | </div> |
| | | <div class="module-title__text"> |
| | | <h2>生产配置</h2> |
| | | <p>生产过程管理</p> |
| | | </div> |
| | | </article> |
| | | |
| | | <div class="flow-row flow-row--wide"> |
| | | <template v-for="(item, index) in produceFlow" :key="item.key"> |
| | | <div class="flow-item"> |
| | | <article class="flow-node"> |
| | | <div class="flow-node__icon" :class="{ 'flow-node__icon--green': item.green, 'flow-node__icon--accent': item.accent }"> |
| | | <svg-icon :icon-class="item.icon" /> |
| | | </div> |
| | | <span>{{ item.name }}</span> |
| | | </article> |
| | | <span v-if="index < produceFlow.length - 1" class="flow-arrow flow-arrow--right"></span> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </section> |
| | | |
| | | <section class="section-card section-card--bottom"> |
| | | <article class="module-title module-title--store"> |
| | | <div class="module-title__icon"> |
| | | <span class="module-title__icon-shape"> |
| | | <svg-icon icon-class="redis" /> |
| | | </span> |
| | | </div> |
| | | <div class="module-title__text"> |
| | | <h2>仓储物流</h2> |
| | | <p>库存与出入库管理</p> |
| | | </div> |
| | | </article> |
| | | |
| | | <div class="flow-row flow-row--store"> |
| | | <template v-for="(item, index) in storeFlow" :key="item.key"> |
| | | <div class="flow-item"> |
| | | <article class="flow-node"> |
| | | <div class="flow-node__icon"> |
| | | <svg-icon :icon-class="item.icon" /> |
| | | </div> |
| | | <span>{{ item.name }}</span> |
| | | </article> |
| | | <span v-if="index < storeFlow.length - 1" class="flow-arrow flow-arrow--right"></span> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </section> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { nextTick, onBeforeUnmount, onMounted, onUpdated, ref } from 'vue' |
| | | import aiHead from '@/assets/images/head.svg' |
| | | |
| | | const architectureRows = [ |
| | | { |
| | | key: 'basic', |
| | | label: '基础配置', |
| | | icon: 'system', |
| | | items: [ |
| | | { name: '角色用户管理', icon: 'user' }, |
| | | { name: '产品维护', icon: 'monitor' }, |
| | | { name: '审批管理', icon: 'tree', accent: true } |
| | | ] |
| | | }, |
| | | { |
| | | key: 'sale', |
| | | label: '销售', |
| | | icon: 'chart', |
| | | items: [ |
| | | { name: '客户档案', icon: 'peoples' }, |
| | | { name: '销售报价', icon: 'form' }, |
| | | { name: '销售台账', icon: 'table' }, |
| | | { name: '发货台账', icon: 'clipboard', accent: true, linkSource: true }, |
| | | { name: '销售退货', icon: 'nested' }, |
| | | { name: '客户往来', icon: 'money' }, |
| | | { name: '指标统计', icon: 'chart' } |
| | | ] |
| | | }, |
| | | { |
| | | key: 'purchase', |
| | | label: '采购', |
| | | icon: 'shopping', |
| | | items: [ |
| | | { name: '供应商档案', icon: 'people' }, |
| | | { name: '采购台账', icon: 'table', accent: true }, |
| | | { name: '采购退货', icon: 'nested' }, |
| | | { name: '供应商往来', icon: 'money' }, |
| | | { name: '采购报表', icon: 'chart' } |
| | | ] |
| | | }, |
| | | { |
| | | key: 'produce', |
| | | label: '生产', |
| | | icon: 'build', |
| | | items: [ |
| | | { name: '工序', icon: 'tree' }, |
| | | { name: 'BOM', icon: 'list' }, |
| | | { name: '工艺路线', icon: 'guide' }, |
| | | { name: '生产订单', icon: 'form' }, |
| | | { name: '生产排产', icon: 'date' }, |
| | | { name: '生产报工', icon: 'edit' }, |
| | | { name: '报工台账', icon: 'clipboard' }, |
| | | { name: '生产核算', icon: 'money', accent: true } |
| | | ] |
| | | }, |
| | | { |
| | | key: 'store', |
| | | label: '仓储物流', |
| | | icon: 'redis', |
| | | items: [ |
| | | { name: '入库管理', icon: 'download', accent: true }, |
| | | { name: '出库管理', icon: 'upload', accent: true, linkTarget: true }, |
| | | { name: '库存管理', icon: 'redis-list' } |
| | | ] |
| | | } |
| | | const basicFlow = [ |
| | | { key: 'basic-role', name: '角色管理', icon: 'user' }, |
| | | { key: 'basic-user', name: '用户管理', icon: 'peoples' }, |
| | | { key: 'basic-post', name: '岗位管理', icon: 'tree' }, |
| | | { key: 'basic-dept', name: '部门管理', icon: 'tree' }, |
| | | { key: 'basic-product', name: '产品维护', icon: 'table' }, |
| | | { key: 'basic-approval', name: '审批管理', icon: 'form' } |
| | | ] |
| | | |
| | | const canvasRef = ref(null) |
| | | const sourceNodeRef = ref(null) |
| | | const targetNodeRef = ref(null) |
| | | const linkPath = ref('') |
| | | const svgSize = ref({ width: 0, height: 0 }) |
| | | let resizeObserver = null |
| | | const saleFlow = [ |
| | | { key: 'sale-customer', name: '客户档案', icon: 'peoples', arrow: 'right' }, |
| | | { key: 'sale-quote', name: '销售报价', icon: 'form', arrow: 'right' }, |
| | | { key: 'sale-ledger', name: '销售台账', icon: 'monitor', arrow: 'right' }, |
| | | { key: 'sale-delivery', name: '发货台账', icon: 'clipboard', arrow: 'right' }, |
| | | { key: 'sale-return', name: '销售退货', icon: 'nested', accent: true } |
| | | ] |
| | | |
| | | function setNodeRef(item) { |
| | | return (el) => { |
| | | if (item.linkSource) sourceNodeRef.value = el |
| | | if (item.linkTarget) targetNodeRef.value = el |
| | | } |
| | | } |
| | | const purchaseFlow = [ |
| | | { key: 'purchase-supplier', name: '供应商档案', icon: 'people', arrow: 'right' }, |
| | | { key: 'purchase-ledger', name: '采购台账', icon: 'monitor', arrow: 'right' }, |
| | | { key: 'purchase-return', name: '采购退货', icon: 'nested', accent: true }, |
| | | { key: 'purchase-contact', name: '供应商往来', icon: 'peoples', arrow: 'right' }, |
| | | { key: 'purchase-report', name: '采购报表', icon: 'chart' } |
| | | ] |
| | | |
| | | function resetLine() { |
| | | linkPath.value = '' |
| | | } |
| | | const produceFlow = [ |
| | | { key: 'produce-process', name: '工序', icon: 'list' }, |
| | | { key: 'produce-bom', name: 'BOM', icon: 'monitor' }, |
| | | { key: 'produce-route', name: '工艺路线', icon: 'tree', green: true }, |
| | | { key: 'produce-order', name: '生产订单', icon: 'peoples', green: true }, |
| | | { key: 'produce-schedule', name: '生产排产', icon: 'time' }, |
| | | { key: 'produce-work', name: '生产报工', icon: 'edit' }, |
| | | { key: 'produce-ledger', name: '报工台账', icon: 'form' }, |
| | | { key: 'produce-cost', name: '生产核算', icon: 'money', accent: true } |
| | | ] |
| | | |
| | | function updateLinkLine() { |
| | | if (!canvasRef.value || !sourceNodeRef.value || !targetNodeRef.value || window.innerWidth <= 768) { |
| | | resetLine() |
| | | return |
| | | } |
| | | |
| | | const canvasRect = canvasRef.value.getBoundingClientRect() |
| | | const sourceRect = sourceNodeRef.value.getBoundingClientRect() |
| | | const targetRect = targetNodeRef.value.getBoundingClientRect() |
| | | |
| | | svgSize.value = { |
| | | width: Math.ceil(canvasRef.value.scrollWidth), |
| | | height: Math.ceil(canvasRef.value.scrollHeight) |
| | | } |
| | | |
| | | const startX = sourceRect.left + sourceRect.width / 2 - canvasRect.left |
| | | const startY = sourceRect.bottom - canvasRect.top + 2 |
| | | const endX = targetRect.left + targetRect.width / 2 - canvasRect.left |
| | | const endY = targetRect.top - canvasRect.top - 6 |
| | | const middleY = startY + Math.max(24, (endY - startY) / 2) |
| | | |
| | | linkPath.value = `M ${startX} ${startY} L ${startX} ${middleY} L ${endX} ${middleY} L ${endX} ${endY}` |
| | | } |
| | | |
| | | function handleResize() { |
| | | requestAnimationFrame(() => { |
| | | requestAnimationFrame(updateLinkLine) |
| | | }) |
| | | } |
| | | |
| | | onMounted(async () => { |
| | | await nextTick() |
| | | handleResize() |
| | | window.addEventListener('resize', handleResize) |
| | | if (window.ResizeObserver && canvasRef.value) { |
| | | resizeObserver = new ResizeObserver(handleResize) |
| | | resizeObserver.observe(canvasRef.value) |
| | | } |
| | | }) |
| | | |
| | | onUpdated(() => { |
| | | nextTick(handleResize) |
| | | }) |
| | | |
| | | onBeforeUnmount(() => { |
| | | window.removeEventListener('resize', handleResize) |
| | | if (resizeObserver) resizeObserver.disconnect() |
| | | }) |
| | | const storeFlow = [ |
| | | { key: 'store-in', name: '入库管理', icon: 'download' }, |
| | | { key: 'store-out', name: '出库管理', icon: 'guide' }, |
| | | { key: 'store-stock', name: '库存管理', icon: 'redis-list' } |
| | | ] |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .architecture-page { |
| | | min-height: calc(100vh - 84px); |
| | | padding: 18px; |
| | | background: #f6f7f9; |
| | | padding: 20px 0; |
| | | } |
| | | |
| | | .canvas { |
| | | position: relative; |
| | | display: grid; |
| | | gap: 10px; |
| | | .architecture-shell { |
| | | max-width: 1680px; |
| | | margin: 0 auto; |
| | | padding: 12px 12px 18px; |
| | | border-radius: 34px; |
| | | background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 255, 0.98) 100%); |
| | | box-shadow: |
| | | 0 18px 48px rgba(117, 146, 198, 0.12), |
| | | inset 0 0 0 1px rgba(228, 237, 250, 0.9); |
| | | } |
| | | |
| | | .lane { |
| | | display: grid; |
| | | grid-template-columns: 94px 1fr; |
| | | gap: 10px; |
| | | align-items: stretch; |
| | | } |
| | | |
| | | .lane__aside { |
| | | .page-title { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | gap: 8px; |
| | | padding: 8px 6px; |
| | | gap: 12px; |
| | | padding: 8px 10px 18px; |
| | | } |
| | | |
| | | .lane__icon { |
| | | font-size: 18px; |
| | | color: #2563eb; |
| | | flex-shrink: 0; |
| | | .page-title__bar { |
| | | width: 5px; |
| | | height: 24px; |
| | | border-radius: 999px; |
| | | background: linear-gradient(180deg, #1f71ff 0%, #5daaff 100%); |
| | | } |
| | | |
| | | .lane__aside h2 { |
| | | .page-title h1 { |
| | | margin: 0; |
| | | width: 34px; |
| | | font-size: 24px; |
| | | font-weight: 700; |
| | | color: #1f2d3d; |
| | | } |
| | | |
| | | .section-card, |
| | | .panel-card { |
| | | background: rgba(255, 255, 255, 0.96); |
| | | border-radius: 26px; |
| | | box-shadow: |
| | | 0 12px 28px rgba(118, 147, 204, 0.08), |
| | | 0 4px 12px rgba(118, 147, 204, 0.05); |
| | | } |
| | | |
| | | .section-card { |
| | | display: grid; |
| | | grid-template-columns: 290px minmax(0, 1fr); |
| | | gap: 8px; |
| | | align-items: center; |
| | | padding: 18px 24px; |
| | | } |
| | | |
| | | .section-card + .section-card { |
| | | margin-top: 18px; |
| | | } |
| | | |
| | | .middle-layout { |
| | | display: grid; |
| | | grid-template-columns: minmax(300px, 1fr) 420px minmax(300px, 1fr); |
| | | gap: 18px; |
| | | align-items: center; |
| | | } |
| | | |
| | | .panel-card { |
| | | min-height: 284px; |
| | | padding: 16px 18px 18px; |
| | | } |
| | | |
| | | .module-title { |
| | | display: flex; |
| | | align-items: center; |
| | | gap: 10px; |
| | | } |
| | | |
| | | .module-title__icon { |
| | | width: 44px; |
| | | height: 50px; |
| | | position: relative; |
| | | display: grid; |
| | | place-items: center; |
| | | transform: translateY(-1px); |
| | | filter: drop-shadow(0 10px 14px rgba(82, 125, 211, 0.28)) |
| | | drop-shadow(0 4px 8px rgba(82, 125, 211, 0.18)); |
| | | } |
| | | |
| | | .module-title__icon-shape { |
| | | width: 100%; |
| | | height: 100%; |
| | | clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); |
| | | display: grid; |
| | | place-items: center; |
| | | color: #fff; |
| | | font-size: 18px; |
| | | } |
| | | |
| | | .module-title__text h2 { |
| | | margin: 0; |
| | | font-size: 17px; |
| | | font-weight: 800; |
| | | color: #1f2d3d; |
| | | } |
| | | |
| | | .module-title__text p { |
| | | margin: 6px 0 0; |
| | | font-size: 12px; |
| | | line-height: 1.15; |
| | | font-weight: 600; |
| | | color: #1f2937; |
| | | color: #7f8ba3; |
| | | } |
| | | |
| | | .module-title--basic .module-title__icon { |
| | | filter: drop-shadow(0 10px 14px rgba(47, 110, 236, 0.28)) |
| | | drop-shadow(0 4px 8px rgba(47, 110, 236, 0.18)); |
| | | } |
| | | |
| | | .module-title--basic .module-title__icon-shape { |
| | | background: linear-gradient(135deg, #2069ff 0%, #5bb0ff 100%); |
| | | } |
| | | |
| | | .module-title--sale .module-title__icon { |
| | | filter: drop-shadow(0 10px 14px rgba(123, 66, 255, 0.24)) |
| | | drop-shadow(0 4px 8px rgba(123, 66, 255, 0.16)); |
| | | } |
| | | |
| | | .module-title--sale .module-title__icon-shape { |
| | | background: linear-gradient(135deg, #7b42ff 0%, #a172ff 100%); |
| | | } |
| | | |
| | | .module-title--purchase .module-title__icon { |
| | | filter: drop-shadow(0 10px 14px rgba(52, 161, 255, 0.24)) |
| | | drop-shadow(0 4px 8px rgba(52, 161, 255, 0.16)); |
| | | } |
| | | |
| | | .module-title--purchase .module-title__icon-shape { |
| | | background: linear-gradient(135deg, #34a1ff 0%, #66c6ff 100%); |
| | | } |
| | | |
| | | .module-title--produce .module-title__icon { |
| | | filter: drop-shadow(0 10px 14px rgba(36, 183, 118, 0.24)) |
| | | drop-shadow(0 4px 8px rgba(36, 183, 118, 0.16)); |
| | | } |
| | | |
| | | .module-title--produce .module-title__icon-shape { |
| | | background: linear-gradient(135deg, #24b776 0%, #62d49d 100%); |
| | | } |
| | | |
| | | .module-title--store .module-title__icon { |
| | | filter: drop-shadow(0 10px 14px rgba(119, 81, 255, 0.24)) |
| | | drop-shadow(0 4px 8px rgba(119, 81, 255, 0.16)); |
| | | } |
| | | |
| | | .module-title--store .module-title__icon-shape { |
| | | background: linear-gradient(135deg, #7751ff 0%, #9b76ff 100%); |
| | | } |
| | | |
| | | .flow-row { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | gap: 8px; |
| | | min-width: 0; |
| | | } |
| | | |
| | | .flow-row--top { |
| | | padding-right: 16px; |
| | | } |
| | | |
| | | .flow-row--wide { |
| | | gap: 2px; |
| | | } |
| | | |
| | | .flow-row--store { |
| | | justify-content: flex-start; |
| | | gap: 36px; |
| | | } |
| | | |
| | | .flow-item { |
| | | display: flex; |
| | | align-items: center; |
| | | min-width: 0; |
| | | } |
| | | |
| | | .flow-node { |
| | | width: 84px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | gap: 8px; |
| | | text-align: center; |
| | | } |
| | | |
| | | .lane__arrow { |
| | | position: relative; |
| | | width: 16px; |
| | | height: 1px; |
| | | background: #cbd5e1; |
| | | flex-shrink: 0; |
| | | .flow-node__icon { |
| | | width: 38px; |
| | | height: 38px; |
| | | display: grid; |
| | | place-items: center; |
| | | color: #3f76f3; |
| | | font-size: 24px; |
| | | } |
| | | |
| | | .lane__arrow::after { |
| | | .flow-node__icon--accent { |
| | | color: #ff6c4f; |
| | | } |
| | | |
| | | .flow-node__icon--green { |
| | | color: #2bb875; |
| | | } |
| | | |
| | | .flow-node span { |
| | | font-size: 13px; |
| | | line-height: 1.2; |
| | | font-weight: 600; |
| | | color: #1f2d3d; |
| | | } |
| | | |
| | | .flow-arrow { |
| | | position: relative; |
| | | flex: 0 0 auto; |
| | | opacity: 0.68; |
| | | } |
| | | |
| | | .flow-arrow--right { |
| | | width: 24px; |
| | | height: 1px; |
| | | margin: 0 4px; |
| | | background: linear-gradient(90deg, rgba(182, 205, 255, 0.9) 0%, rgba(127, 168, 255, 0.9) 100%); |
| | | } |
| | | |
| | | .flow-arrow--right::after { |
| | | content: ''; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 50%; |
| | | right: -1px; |
| | | width: 6px; |
| | | height: 6px; |
| | | border-top: 1px solid #cbd5e1; |
| | | border-right: 1px solid #cbd5e1; |
| | | border-top: 1px solid #8aacff; |
| | | border-right: 1px solid #8aacff; |
| | | transform: translateY(-50%) rotate(45deg); |
| | | } |
| | | |
| | | .lane__flow { |
| | | position: relative; |
| | | z-index: 2; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | align-items: center; |
| | | gap: 8px; |
| | | padding: 12px 14px; |
| | | background: #f1f3f5; |
| | | .flow-arrow--down { |
| | | width: 1px; |
| | | height: 22px; |
| | | margin: 2px auto 0; |
| | | background: linear-gradient(180deg, rgba(182, 205, 255, 0.9) 0%, rgba(127, 168, 255, 0.9) 100%); |
| | | } |
| | | |
| | | .node-wrap { |
| | | display: flex; |
| | | align-items: center; |
| | | gap: 8px; |
| | | position: relative; |
| | | .flow-arrow--down::after { |
| | | content: ''; |
| | | position: absolute; |
| | | left: 50%; |
| | | bottom: 0; |
| | | width: 6px; |
| | | height: 6px; |
| | | border-right: 1px solid #8aacff; |
| | | border-bottom: 1px solid #8aacff; |
| | | transform: translateX(-50%) rotate(45deg); |
| | | } |
| | | |
| | | .node { |
| | | width: 100px; |
| | | min-height: 72px; |
| | | padding: 4px 2px; |
| | | .flow-grid { |
| | | display: grid; |
| | | margin-top: 26px; |
| | | } |
| | | |
| | | .flow-grid--sale { |
| | | grid-template-columns: repeat(3, minmax(0, 1fr)); |
| | | row-gap: 18px; |
| | | } |
| | | |
| | | .flow-grid--purchase { |
| | | grid-template-columns: repeat(3, 1fr); |
| | | grid-template-rows: repeat(2, auto); |
| | | row-gap: 34px; |
| | | } |
| | | |
| | | .grid-cell { |
| | | position: relative; |
| | | min-height: 80px; |
| | | } |
| | | |
| | | .flow-arrow--grid.flow-arrow--right { |
| | | position: absolute; |
| | | top: 18px; |
| | | right: 2px; |
| | | margin: 0; |
| | | } |
| | | |
| | | .flow-arrow--grid.flow-arrow--down { |
| | | position: absolute; |
| | | left: 50%; |
| | | bottom: -2px; |
| | | transform: translateX(-50%); |
| | | margin: 0; |
| | | } |
| | | |
| | | .ai-stage { |
| | | position: relative; |
| | | height: 388px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | justify-content: center; |
| | | gap: 6px; |
| | | transform: translateX(-30px); |
| | | } |
| | | |
| | | .node__mark { |
| | | .ai-stage__ring { |
| | | width: 300px; |
| | | height: 300px; |
| | | display: grid; |
| | | place-items: center; |
| | | position: relative; |
| | | width: 34px; |
| | | height: 28px; |
| | | display: flex; |
| | | align-items: flex-start; |
| | | justify-content: center; |
| | | } |
| | | |
| | | .node__cap { |
| | | .ai-stage__core { |
| | | width: 340px; |
| | | height: 340px; |
| | | display: grid; |
| | | place-items: center; |
| | | } |
| | | |
| | | .ai-stage__core img { |
| | | width: 360px; |
| | | height: 360px; |
| | | object-fit: contain; |
| | | transform: translateY(-24px); |
| | | filter: drop-shadow(0 10px 24px rgba(76, 135, 255, 0.22)); |
| | | } |
| | | |
| | | .ai-stage__base { |
| | | width: 210px; |
| | | height: 42px; |
| | | margin-top: -14px; |
| | | border-radius: 999px; |
| | | background: |
| | | radial-gradient(circle at center, rgba(111, 223, 255, 0.8) 0%, rgba(111, 223, 255, 0.22) 34%, rgba(111, 223, 255, 0) 66%), |
| | | linear-gradient(180deg, #ffffff 0%, #dce9ff 100%); |
| | | box-shadow: |
| | | 0 10px 22px rgba(102, 145, 222, 0.14), |
| | | inset 0 -4px 10px rgba(94, 170, 255, 0.2); |
| | | } |
| | | |
| | | .ai-stage__label { |
| | | margin-top: 18px; |
| | | padding: 8px 18px; |
| | | border-radius: 999px; |
| | | background: rgba(255, 255, 255, 0.9); |
| | | color: #537ae5; |
| | | font-size: 14px; |
| | | font-weight: 700; |
| | | box-shadow: 0 10px 20px rgba(118, 147, 204, 0.08); |
| | | } |
| | | |
| | | .ai-stage__connector { |
| | | position: absolute; |
| | | top: 0; |
| | | width: 18px; |
| | | height: 14px; |
| | | border-radius: 4px 4px 3px 3px; |
| | | background: linear-gradient(180deg, #60a5fa, #2563eb); |
| | | box-shadow: 0 3px 6px rgba(37, 99, 235, 0.16); |
| | | } |
| | | |
| | | .node__base { |
| | | position: absolute; |
| | | bottom: 0; |
| | | width: 30px; |
| | | height: 12px; |
| | | border-radius: 4px; |
| | | background: linear-gradient(180deg, #ffffff, #e8edf3); |
| | | border: 1px solid #d7dee7; |
| | | } |
| | | |
| | | .node__icon { |
| | | position: relative; |
| | | z-index: 1; |
| | | margin-top: 2px; |
| | | font-size: 15px; |
| | | color: #ffffff; |
| | | } |
| | | |
| | | .node--accent .node__cap { |
| | | background: linear-gradient(180deg, #2dd4bf, #0f766e); |
| | | box-shadow: 0 3px 6px rgba(15, 118, 110, 0.16); |
| | | } |
| | | |
| | | .node h3 { |
| | | margin: 0; |
| | | font-size: 12px; |
| | | line-height: 1.3; |
| | | font-weight: 600; |
| | | color: #111827; |
| | | text-align: center; |
| | | } |
| | | |
| | | .flow-arrow { |
| | | width: 18px; |
| | | height: 1px; |
| | | background: #b6c1ce; |
| | | position: relative; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .flow-arrow::after { |
| | | content: ''; |
| | | position: absolute; |
| | | top: 50%; |
| | | right: -1px; |
| | | width: 6px; |
| | | height: 6px; |
| | | border-top: 1px solid #94a3b8; |
| | | border-right: 1px solid #94a3b8; |
| | | transform: translateY(-50%) rotate(45deg); |
| | | } |
| | | |
| | | .link-overlay { |
| | | position: absolute; |
| | | inset: 0; |
| | | z-index: 20; |
| | | border-color: rgba(145, 181, 247, 0.5); |
| | | border-style: dashed; |
| | | border-width: 1px; |
| | | pointer-events: none; |
| | | overflow: visible; |
| | | } |
| | | |
| | | .link-overlay__path { |
| | | fill: none; |
| | | stroke: #94a3b8; |
| | | stroke-width: 1; |
| | | stroke-dasharray: 4 4; |
| | | stroke-linecap: round; |
| | | stroke-linejoin: round; |
| | | .ai-stage__connector--top { |
| | | top: 24px; |
| | | left: 50%; |
| | | width: 0; |
| | | height: 64px; |
| | | border-left-width: 1px; |
| | | transform: translateX(-50%); |
| | | } |
| | | |
| | | .ai-stage__connector--left, |
| | | .ai-stage__connector--right { |
| | | top: 148px; |
| | | width: 74px; |
| | | border-top-width: 1px; |
| | | } |
| | | |
| | | .ai-stage__connector--left { |
| | | left: 18px; |
| | | } |
| | | |
| | | .ai-stage__connector--right { |
| | | right: 18px; |
| | | } |
| | | |
| | | .ai-stage__connector--bottom { |
| | | bottom: 32px; |
| | | left: 50%; |
| | | width: 0; |
| | | height: 64px; |
| | | border-left-width: 1px; |
| | | transform: translateX(-50%); |
| | | } |
| | | |
| | | @media (max-width: 1440px) { |
| | | .middle-layout { |
| | | grid-template-columns: 1fr 360px 1fr; |
| | | } |
| | | |
| | | .ai-stage__ring { |
| | | width: 260px; |
| | | height: 260px; |
| | | } |
| | | |
| | | .ai-stage__core img { |
| | | width: 272px; |
| | | height: 272px; |
| | | } |
| | | } |
| | | |
| | | @media (max-width: 1180px) { |
| | | .lane { |
| | | .section-card { |
| | | grid-template-columns: 1fr; |
| | | gap: 6px; |
| | | gap: 18px; |
| | | } |
| | | |
| | | .lane__aside { |
| | | justify-content: flex-start; |
| | | .middle-layout { |
| | | grid-template-columns: 1fr; |
| | | } |
| | | |
| | | .ai-stage { |
| | | order: 2; |
| | | height: 360px; |
| | | } |
| | | |
| | | .panel-card--sale { |
| | | order: 1; |
| | | } |
| | | |
| | | .panel-card--purchase { |
| | | order: 3; |
| | | } |
| | | } |
| | | |
| | | @media (max-width: 768px) { |
| | | @media (max-width: 860px) { |
| | | .architecture-page { |
| | | padding: 12px; |
| | | } |
| | | |
| | | .lane__flow { |
| | | display: grid; |
| | | gap: 8px; |
| | | padding: 12px; |
| | | .architecture-shell { |
| | | padding: 10px; |
| | | border-radius: 24px; |
| | | } |
| | | |
| | | .node-wrap { |
| | | display: grid; |
| | | gap: 8px; |
| | | .page-title h1 { |
| | | font-size: 22px; |
| | | } |
| | | |
| | | .node { |
| | | width: 100%; |
| | | min-height: 52px; |
| | | flex-direction: row; |
| | | .section-card, |
| | | .panel-card { |
| | | padding: 16px; |
| | | border-radius: 20px; |
| | | } |
| | | |
| | | .module-title__icon { |
| | | width: 40px; |
| | | height: 46px; |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .module-title__text h2 { |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .flow-row { |
| | | justify-content: flex-start; |
| | | gap: 10px; |
| | | flex-wrap: wrap; |
| | | } |
| | | |
| | | .node h3 { |
| | | text-align: left; |
| | | } |
| | | |
| | | .flow-arrow { |
| | | width: 1px; |
| | | height: 16px; |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | .flow-arrow::after { |
| | | top: auto; |
| | | bottom: -1px; |
| | | right: 50%; |
| | | transform: translateX(50%) rotate(135deg); |
| | | .flow-grid--sale, |
| | | .flow-grid--purchase { |
| | | grid-template-columns: repeat(2, 1fr); |
| | | } |
| | | } |
| | | </style> |