- {% if post.image %}
-
-
-
-
-
- {% endif %}
-
- {{ post.excerpt | strip_html | xml_escape | truncatewords: site.excerpt_length }}
- {% assign excerpt_word_count = post.excerpt | number_of_words %}
- {% if post.content != post.excerpt or excerpt_word_count > site.excerpt_length %}
-
[Read More]
- {% endif %}
-
+
+
+
+
+
+
Codestin Search App
+
+
+
+
+
+
+
+
+
+
+
+
+
⚠️ 开发阶段测试说明
+
+ 由于开发环境限制,网页链接暂时无法直接启动 App Clip。
+ 请使用以下方法测试:
+
+
+ - 推荐方式:在 Xcode 运行 App Clip 后,在 App 内点击 "模拟网站链接" 按钮
+ - 命令行方式:使用下方的"复制测试命令"按钮
+ - 生产环境:需要配置 Associated Domains 和部署 apple-app-site-association 文件
+
+
+ 💡 为什么? App Clip 需要域名验证。开发阶段使用 localhost 或 example.com 无法触发系统的 App Clip 机制。
+
+
+
+
+
🛍️ 产品展示 - URL 示例
+
这些是 URL 格式示例。开发阶段请使用下方的"复制测试命令"功能。
+
+
+
+
📱
+
iPhone 15 Pro
+
$999
+
点击复制测试命令
+
+
+
+
💻
+
MacBook Pro
+
$2,499
+
点击复制测试命令
+
+
+
+
🎧
+
AirPods Pro
+
$179
+
点击复制测试命令
+
+
+
+
⌚
+
Apple Watch
+
$399
+
点击复制测试命令
+
+
+
+
+
+
🧪 开发测试工具
+
点击下方场景复制测试命令,然后在终端执行
+
+
+
+
场景1: 购物车结账
+
参数: action=checkout, product=test123, quantity=2
+
点击复制命令 📋
+
+
+
+
场景2: 订单查询
+
参数: action=order, orderId=ORD-2025-001, status=pending
+
点击复制命令 📋
+
+
+
+
场景3: 餐厅预订
+
参数: action=booking, date=2025-10-21, time=14:00, guests=4
+
点击复制命令 📋
+
+
+
+
场景4: 活动报名
+
参数: action=event, eventId=EVT-2025, location=Shanghai
+
点击复制命令 📋
+
+
+
+
+
📝 使用方法:
+
+ - 在 Xcode 中运行 App Clip (clip-demo1)
+ - 点击上方任意场景复制命令
+ - 在终端粘贴并执行命令
+ - 观察 App Clip 接收并解析 URL 参数
+
+
+
+
+
+
ℹ️ 使用说明
+
+
+
📱 在 iOS 设备上测试
+
1. 确保设备运行 iOS 14 或更高版本
+
2. 使用 Safari 浏览器打开此页面
+
3. 点击上方任意链接启动 App Clip
+
4. 如果是首次使用,系统会显示 App Clip 卡片
+
+
+
+
💻 在开发环境测试
+
1. 在 Xcode 中运行 clip-demo1 target
+
2. 点击 App 内的"模拟网站链接"按钮
+
3. 查看 URL 参数解析结果
+
+
+
+
🔗 URL 格式
+
所有链接都遵循以下格式:
+
https://molake.github.io/clip?param1=value1¶m2=value2
+
+
+
+
+
+
+
📖 关于 App Clip
+
+ App Clip 是 Apple 推出的轻量级应用体验。用户无需下载完整应用,
+ 即可通过扫描二维码、点击链接等方式快速访问应用的特定功能。
+ App Clip 大小不超过 15MB,提供快速、流畅的用户体验。
+
+
+
+ 本页面展示了如何从网站启动 App Clip 并传递参数。
+ 在实际应用中,你可以将 App Clip 用于:
+
+
+ - 在线购物快速结账
+ - 餐厅扫码点餐
+ - 活动签到和报名
+ - 共享单车租赁
+ - 停车场缴费
+
+
+
+
+
+
- {% if post.tags.size > 0 %}
-
- Tags:
- {% if site.link-tags %}
- {% for tag in post.tags %}
-
{{ tag }}
- {% endfor %}
- {% else %}
- {{ post.tags | join: ", " }}
- {% endif %}
-
- {% endif %}
-
-
- {% endfor %}
-
-
-{% if paginator.total_pages > 1 %}
-
+
+ 请点击右上角,选择Safari打开此页面。
+
+ 点击安装后,回到桌面查看安装进度。
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/loadingPage.html b/loadingPage.html
new file mode 100644
index 000000000000..99c1d204c52f
--- /dev/null
+++ b/loadingPage.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/manifest.plist b/manifest.plist
new file mode 100644
index 000000000000..fd8e795c1f3b
--- /dev/null
+++ b/manifest.plist
@@ -0,0 +1,43 @@
+
+
+
+ {% for post in paginator.posts %}
+
+
+ {{ post.title }}
+
+ {% if post.subtitle %}
+
+ {{ post.subtitle }}
+
+ {% endif %}
+
+
+
+
+
+ Posted on {{ post.date | date: "%B %-d, %Y" }}
+
+
+
+ {% if post.image %}
+
+
+
+
+
+ {% endif %}
+
+ {{ post.excerpt | strip_html | xml_escape | truncatewords: site.excerpt_length }}
+ {% assign excerpt_word_count = post.excerpt | number_of_words %}
+ {% if post.content != post.excerpt or excerpt_word_count > site.excerpt_length %}
+
[Read More]
+ {% endif %}
+
+
+
+ {% if post.tags.size > 0 %}
+
+ Tags:
+ {% if site.link-tags %}
+ {% for tag in post.tags %}
+
{{ tag }}
+ {% endfor %}
+ {% else %}
+ {{ post.tags | join: ", " }}
+ {% endif %}
+
+ {% endif %}
+
+
+ {% endfor %}
+
+
+{% if paginator.total_pages > 1 %}
+