feat(app,viewer): WeChat card share + 'Share to...' label + site og tags
- 按钮文字「分享到微信/其他应用」→「分享到...」(用户需求) - 微信卡片分享(fluwx 6):WECHAT_APPID 经 --dart-define 注入;已配置且 装微信 → WXWebpage 卡片(标题=相册名、描述=日期·地点、缩略图=封面压缩 240px PNG ≤32KB、点击进观众链接);未配置/未装 → 回退系统分享面板 - viewer index.html 加站点级 og 标签(微信/QQ 抓取链接预览用;每相册动态 og 需服务端注入,登记后续增强) - 397/397 全绿、analyze 0 Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<!-- 无 JS 时的兜底标题;运行时由 App.vue 按 i18n 覆写 -->
|
||||
<title>现场相册</title>
|
||||
<!-- 分享链接卡片的站点级 og 标签(UI06):微信/QQ 等抓取器不执行 JS,
|
||||
读源码生成链接预览——此处提供全站默认;每相册动态 og(标题/封面)
|
||||
需服务端按 token 注入,属后续增强。 -->
|
||||
<meta property="og:site_name" content="PhotoLive" />
|
||||
<meta property="og:title" content="现场相册 · PhotoLive" />
|
||||
<meta property="og:description" content="扫码或点击查看活动现场照片直播" />
|
||||
<meta property="og:type" content="website" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user