From a6a7efd65122f3f1eec4cd6217ff7e5b5665f13d Mon Sep 17 00:00:00 2001 From: "mail_yanpeng@163.com" Date: Mon, 28 Jan 2019 16:38:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E4=B8=BA?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/checkm.js | 3 +++ views/T.header.tpl | 3 ++- views/note.html | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 static/js/checkm.js diff --git a/static/js/checkm.js b/static/js/checkm.js new file mode 100644 index 0000000..a4ef8e2 --- /dev/null +++ b/static/js/checkm.js @@ -0,0 +1,3 @@ +if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) { + window.location.href="http://wap.aiprose.com"; +} diff --git a/views/T.header.tpl b/views/T.header.tpl index 37faf10..844cb6b 100644 --- a/views/T.header.tpl +++ b/views/T.header.tpl @@ -9,9 +9,10 @@ {{end}} + {{/**/}} - + {{end}} \ No newline at end of file diff --git a/views/note.html b/views/note.html index 189cbe8..792347e 100644 --- a/views/note.html +++ b/views/note.html @@ -9,6 +9,7 @@ {{/**/}} 我的笔记 - 云悦 +