feat(患者H5): 补齐移动端/微信适配与签名后路由防回退

This commit is contained in:
yelan
2026-09-28 13:06:51 +08:00
parent 3995c027fc
commit 536632e104
3 changed files with 70 additions and 4 deletions
+15 -3
View File
@@ -1,11 +1,23 @@
<!doctype html>
<html lang="en">
<!-- lang 用 zh-CN:内容全是中文,写成 en 会让浏览器按西文字体回退挑字,中文会发虚 -->
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<!-- 一次性 token 会出现在地址栏,禁止随 Referer 外泄 -->
<meta name="referrer" content="no-referrer" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>patient-h5</title>
<!--
viewport-fit=cover:让页面铺到 iPhone 的刘海与圆角区域,
再用 env(safe-area-inset-*) 把内容避让回来(见 src/styles/index.css)。
不写这一条时 iOS 会自动给左右留白,整页看起来被压窄。
不写 maximum-scale / user-scalable=no:那会关掉患者的双指缩放,
对老年患者是实打实的伤害;防双击缩放改用 touch-action: manipulation。
-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<!-- 就诊号、手机号这类长数字会被 iOS 识别成电话并加下划线,点一下还会拨号 -->
<meta name="format-detection" content="telephone=no" />
<title>医签通 · 知情同意签署</title>
</head>
<body>
<div id="app"></div>