以下是用的微信的JS 最后完美实现屏幕尺寸响应式 完美解决
<!DOCTYPE html>
<html lang="zh-cmn-Hans" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="referrer" content="no-referrer" />
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
<title>详情</title>
<link rel="stylesheet" th:href="@{https://res.wx.qq.com/open/libs/weui/2.0.1/weui.min.css}">
</head>
<body ontouchstart>
<article class="weui-article">
<h1 th:text="${news.title}"></h1>
<section>
<!--<h2 class="title" th:text="'作者:'+${news.author}"></h2>-->
<section>
<img th:src="${news.coverImg}" />
<p th:utext="${news.content}"></p>
</section>
</section>
</article>
<script th:src="@{https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{https://res.wx.qq.com/open/libs/weuijs/1.2.1/weui.min.js}"></script>
</body>
</html>