From 558d7b573fb29e70c98e2acc232a24551c631b5b Mon Sep 17 00:00:00 2001 From: Tdxdxoz Date: Sun, 27 Dec 2020 22:48:07 +0800 Subject: [PATCH] feature: show in wechat --- static/login/index.html | 43 +++++++++++++++++++++++++++++++++++++++++ templates/list.html | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/static/login/index.html b/static/login/index.html index 62cea28..e5da260 100644 --- a/static/login/index.html +++ b/static/login/index.html @@ -44,6 +44,33 @@ text-decoration: underline; } + .wechat-mask { + position: fixed; + width: 100%; + height: 100%; + top: 0; + left: 0; + text-align: center; + padding-top: 50px; + background: linear-gradient(25deg, + #5558 calc(50% - 1px), + #333 calc(50%), + #5558 calc(50% + 1px) + ); + background-size: 10px 5px; + display: none; + } + + .wechat-mask p { + position: relative; + top: 36%; + transform: translateY(-50%); + color: white; + font-size: 28px;; + font-family: 'Noto Serif SC', serif; + font-weight: 700; + } + @@ -69,6 +96,11 @@

消除信息不对等,追求更有意义的评价体系

+
+

检测到处于非规范环境
(如微信内置浏览器)。

+ 如需使用请点击右上角,
“在浏览器中打开”。

+ 如需在微信中分享,
可直接分享本页面 +

diff --git a/templates/list.html b/templates/list.html index d7980c0..a1c6bcc 100644 --- a/templates/list.html +++ b/templates/list.html @@ -241,7 +241,7 @@
- +