diff --git a/web/i18n/zh/save.json b/web/i18n/zh/save.json index eff743d4..14e17514 100644 --- a/web/i18n/zh/save.json +++ b/web/i18n/zh/save.json @@ -7,10 +7,10 @@ "input.placeholder": "在此粘贴链接", "terms.note.agreement": "继续即表示您同意", "terms.note.link": "使用条款与伦理", - "services.title": "支持的服务", + "services.title": "支持的网站", "services.title_show": "显示支持的服务", "services.title_hide": "隐藏支持的服务", - "services.disclaimer": "Freesavevideo 不隶属于以上列出的任何服务。", + "services.disclaimer": "Freesavevideo 不隶属于以上列出的任何网站。", "tutorial.title": "如何在 iOS 上保存?", "tutorial.intro": "为了便捷地在 iOS 上保存媒体,您需要在共享菜单中使用 Siri 快捷指令。", "tutorial.step.1": "添加 Siri 快捷指令:", diff --git a/web/src/components/save/SupportedServices.svelte b/web/src/components/save/SupportedServices.svelte index 16fff0e9..0d78e36e 100644 --- a/web/src/components/save/SupportedServices.svelte +++ b/web/src/components/save/SupportedServices.svelte @@ -42,9 +42,9 @@
{#if loaded} {#each services as service} - {#if !service.includes("youtube")} +
{service}
- {/if} + {/each} {:else} {#each { length: 17 } as _} diff --git a/web/src/routes/+page.svelte b/web/src/routes/+page.svelte index 9157ab01..73557bd9 100644 --- a/web/src/routes/+page.svelte +++ b/web/src/routes/+page.svelte @@ -15,10 +15,23 @@ ru: "https://buy.stripe.com/5kAeYG7rwgwW43S4gh", }; let key: string = $INTERNAL_locale; - const donateLink = donateLinks[key as keyof typeof donateLinks]; - - let showMindsou = false; + const donateLink = donateLinks[key as keyof typeof donateLinks]; let showMindsou = false; let showYumcheck = false; + let showNotification = true; // 控制通知显示 + + // 检查本地存储中是否已关闭通知 + onMount(() => { + const notificationClosed = localStorage.getItem('notification-xiaohongshu-youtube-closed'); + if (notificationClosed === 'true') { + showNotification = false; + } + }); + + // 关闭通知并保存状态到本地存储 + const closeNotification = () => { + showNotification = false; + localStorage.setItem('notification-xiaohongshu-youtube-closed', 'true'); + }; @@ -36,6 +49,22 @@ data-first-focus data-focus-ring-hidden > + + {#if showNotification} + + {/if} + @@ -54,17 +83,17 @@ Mindsou Logo - 用想法搜索想法-Mindsou,大脑搜索引擎 + 基于相同想法的陌生人聊天网站,不用担心尬聊 {showMindsou ? '▲' : '▼'} {#if showMindsou}
    -
  • 立即发布你的想法,记录你的每一个灵感
  • -
  • 后端算法匹配,帮你找到和你一样想法的人
  • -
  • 轻量社交,无需好友,无刷屏,只专注「闪现‑共鸣‑消散」
  • -
  • 匹配成功自动开启私聊房间,零等待对话
  • -
  • 限时内容 & 隐私保护,自动销毁减少信息负担
  • +
  • 1.发布你大脑中某时刻的想法
  • +
  • 2.完全匹配,语义匹配,互补匹配
  • +
  • 3.点击匹配对象即可聊天
  • +
  • 4.离线匹配邮件提醒
  • +
  • 5.限时内容 & 隐私保护,自动销毁减少信息负担
访问 Mindsou @@ -84,13 +113,14 @@ YumCheck Logo - 智能食品与健康解读 + 食品配料表,拍照自动查询分析 {showYumcheck ? '▲' : '▼'} {#if showYumcheck}
  • 拍摄配料表,一键成分分析与健康风险评估
  • +
  • 食品添加剂对比欧盟标准,多维度了解
  • 扫描食品标准号,快速解读规范信息
  • 血液检测报告智能解析,普通人也能读懂血液报告
@@ -253,5 +283,67 @@ /* 确保小屏时不溢出 */ #promotions > section .section-icon { max-width: 100%; + } /* 通知组件样式 */ + .notification { + display: flex; + align-items: center; + justify-content: space-between; + padding: var(--padding); + background-color: #e8f5e8; + color: #2e7d32; + border-radius: var(--border-radius); + width: 100%; + max-width: 640px; + box-sizing: border-box; + margin-bottom: var(--padding); + animation: slideIn 0.5s ease-out; + border: 1px solid #c8e6c9; + } + .notification-content { + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + gap: 10px; + } + .notification-icon { + font-size: 1.5rem; + margin-right: 10px; + } + .notification-text { + flex: 1; + font-size: 0.9rem; + } .notification-close { + background: none; + border: none; + color: inherit; + font-size: 1.2rem; + cursor: pointer; + padding: 0; + margin-left: 10px; + transition: opacity 0.2s; + } + .notification-close:hover { + opacity: 0.7; + } + + /* 深色模式下的通知样式 */ + @media (prefers-color-scheme: dark) { + .notification { + background-color: #1b3e1f; + color: #81c784; + border-color: #2e7d32; + } + } + + @keyframes slideIn { + from { + opacity: 0; + transform: translateY(-10px); + } + to { + opacity: 1; + transform: translateY(0); + } } diff --git a/web/static/icons/android-chrome-192x192.png b/web/static/icons/android-chrome-192x192.png index 0d3ac83a..3ac95129 100644 Binary files a/web/static/icons/android-chrome-192x192.png and b/web/static/icons/android-chrome-192x192.png differ diff --git a/web/static/icons/android-chrome-512x512.png b/web/static/icons/android-chrome-512x512.png index d1777d48..64e3f8f3 100644 Binary files a/web/static/icons/android-chrome-512x512.png and b/web/static/icons/android-chrome-512x512.png differ diff --git a/web/static/icons/apple-touch-icon.png b/web/static/icons/apple-touch-icon.png index b2abfa63..2f42c0d3 100644 Binary files a/web/static/icons/apple-touch-icon.png and b/web/static/icons/apple-touch-icon.png differ diff --git a/web/static/icons/generic.png b/web/static/icons/generic.png index d1777d48..64e3f8f3 100644 Binary files a/web/static/icons/generic.png and b/web/static/icons/generic.png differ diff --git a/web/static/icons/maskable/128.png b/web/static/icons/maskable/128.png index e8213cfe..39549a3a 100644 Binary files a/web/static/icons/maskable/128.png and b/web/static/icons/maskable/128.png differ diff --git a/web/static/icons/maskable/192.png b/web/static/icons/maskable/192.png index 8268d89a..3ac95129 100644 Binary files a/web/static/icons/maskable/192.png and b/web/static/icons/maskable/192.png differ diff --git a/web/static/icons/maskable/384.png b/web/static/icons/maskable/384.png index 483e42ff..7af42450 100644 Binary files a/web/static/icons/maskable/384.png and b/web/static/icons/maskable/384.png differ diff --git a/web/static/icons/maskable/48.png b/web/static/icons/maskable/48.png index 02a5bca0..7b1f445a 100644 Binary files a/web/static/icons/maskable/48.png and b/web/static/icons/maskable/48.png differ diff --git a/web/static/icons/maskable/512.png b/web/static/icons/maskable/512.png index bb4af2f3..64e3f8f3 100644 Binary files a/web/static/icons/maskable/512.png and b/web/static/icons/maskable/512.png differ diff --git a/web/static/icons/maskable/72.png b/web/static/icons/maskable/72.png index 903f6bd5..17f3d26e 100644 Binary files a/web/static/icons/maskable/72.png and b/web/static/icons/maskable/72.png differ diff --git a/web/static/icons/maskable/96.png b/web/static/icons/maskable/96.png index c4b1ae60..87940b1b 100644 Binary files a/web/static/icons/maskable/96.png and b/web/static/icons/maskable/96.png differ