使用现有依赖启动:
node node_modules/vite/bin/vite.js --mode development --host 127.0.0.1 --port 5670 --strictPort
真实登录入口 /auth/login,首页 /analytics,个人中心 /profile(仍校验 token)。正式入口不加载 scripts/portal-preview。开发样式入口 /scripts/portal-preview.html?surface=home|menu|login|profile|system 使用 fixture;system 演示只返回租户菜单时按已授权系统页面重建导航。菜单拥挤场景可附加 crowded=1,个人中心页签可用 section=resetPwd 或 section=userSocial。具体支持参数以脚本为准。
当前方向贴近用户参考:桌面三层头部、全幅乡村城市红绸主图、红色快捷服务、动态权限栏目及蓝色页脚,补充个人中心与头部用户操作。相关首页模块接入真实课题、待办、报销和公告 API,个人中心沿用原资料、头像、密码和绑定接口;样式预览使用示例响应。
JSSM 品牌名称固定为“江苏省供销合作经济学会融合门户”,页面标题、头部、登录和页脚一致。系统管理过滤租户页,只补充登录账号已获查询权限的现有管理页(超级管理员可见全部);如果后端既未返回非租户菜单也未授权对应权限,系统管理入口不会出现,需要在后端配置角色授权。个人中心和长业务页使用主内容区滚动,外层页面保持固定头部。
本次相关源码在 vue-tsc 输出中过滤无错;全仓因存量重复定义退出,日志为 typecheck-latest.log。后端连接不可用,真实登录、资料写入、上传、改密和第三方绑定仍未验收。检测器首页输出 [];个人中心唯一 border-left 装饰提示已移除。独立复核结论为“视觉收尾通过,可交付界面预览”;完整键盘流程、暗色与计算对比度未验收,详见 REVIEW.md。
当前截图:deep-home-full.png、deep-home-mobile.png、header-deep-overflow.png、profile-desktop.png、profile-mobile-form.png、profile-password.png、profile-bindings.png。均为示例场景,不能证明生产账号数据或接口写入成功。目录中旧版截图与旧检测文件留作历史记录,不代表本版状态。
public/static/imgs/portal-hero-v2.png:生成的无文字乡村、城市与红绸主图,用于首页横幅及局部裁切。public/static/imgs/portal-modules-v2.png:生成的书籍、办公、财务、档案 2×2 图集,通过背景定位裁切用于栏目与专题。public/static/imgs/portal-landscape-v1.png:前版生成景观,保留用于认证背景。public/logos/JSSM-portal.svg:本地绿色门户标记;机构名称及Logo仍通过既有品牌配置提供。public/static/imgs/portal-avatar.svg:本地中性默认头像。生成景观与图集不是特定真实地点或事件的记录照片。v2 此处仅记录已知用途,不将简述冒充完整生成提示词。
v1 原生成提示词(历史记录):
Create one premium photorealistic panoramic website background asset for a Jiangsu supply and marketing cooperation / academic business portal. No text, lettering, logos, watermarks or UI. Landscape 3:2 composition. Jiangnan green agricultural fields and a calm river in foreground, small white traditional villages in middle distance, a restrained modern Chinese city skyline far on the right horizon, soft blue sky, warm clear morning daylight. Quiet, credible institutional photography / realistic composite, natural greens and pale sky blues, no oversaturation. Large clean pale sky in the upper left half for HTML headings; landscape fills the lower 45 percent and skyline stays distant on the right. Crisp detail and atmospheric depth. No red fabric, flags, people, charts or glowing effects.
src/preferences.ts 定义共用外观。src/main.ts 以现有偏好命名空间的 portal-appearance-v2 标记执行一次迁移,更新布局与默认头像,保留登录存储;执行后允许后续用户偏好调整。桌面实际头部高度由布局及门户样式共同实现,不能只读偏好中的72px推断桌面高度。