2025-08-10 16:44:02 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
<script>
|
|
|
|
|
var coverSupport =
|
|
|
|
|
"CSS" in window &&
|
|
|
|
|
typeof CSS.supports === "function" &&
|
|
|
|
|
(CSS.supports("top: env(a)") || CSS.supports("top: constant(a)"));
|
|
|
|
|
document.write(
|
|
|
|
|
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
|
|
|
|
|
(coverSupport ? ", viewport-fit=cover" : "") +
|
|
|
|
|
'" />'
|
|
|
|
|
);
|
|
|
|
|
</script>
|
|
|
|
|
<!-- <script
|
|
|
|
|
type="text/javascript"
|
|
|
|
|
src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"
|
|
|
|
|
></script>
|
|
|
|
|
<script>
|
|
|
|
|
window.jWeixin = window.wx;
|
|
|
|
|
delete window.wx;
|
|
|
|
|
</script>
|
|
|
|
|
<script src="https://www.cs.com.cn/js/2020/jquery-3.4.1.min.js"></script> -->
|
2025-08-13 09:06:35 +08:00
|
|
|
<!-- <link rel="icon" href="/src/assets/favicon.ico" /> -->
|
2025-08-10 16:44:02 +08:00
|
|
|
<title></title>
|
|
|
|
|
<!--preload-links-->
|
|
|
|
|
<!--app-context-->
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<div id="app"><!--app-html--></div>
|
|
|
|
|
<script type="module" src="/src/main.ts"></script>
|
|
|
|
|
<!-- <script type="text/javascript">
|
|
|
|
|
var link = location.href.split("#")[0];
|
|
|
|
|
console.log("🚀 ~ link:", link);
|
|
|
|
|
var link2 = location.href.split("#")[1];
|
|
|
|
|
console.log("🚀 ~ link2:", link2);
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "https://cankao.cs.com.cn/mini/wechat/share",
|
|
|
|
|
type: "GET",
|
|
|
|
|
data: {
|
|
|
|
|
url: link,
|
|
|
|
|
},
|
|
|
|
|
async: true,
|
|
|
|
|
dataType: "json",
|
|
|
|
|
success: function (res) {
|
|
|
|
|
const { data } = res;
|
|
|
|
|
console.log("🚀 ~ data:", data);
|
|
|
|
|
jWeixin.config({
|
|
|
|
|
debug: false,
|
|
|
|
|
appId: data.appId,
|
|
|
|
|
timestamp: data.timestamp,
|
|
|
|
|
nonceStr: data.nonceStr,
|
|
|
|
|
signature: data.signature,
|
|
|
|
|
jsApiList: [
|
|
|
|
|
"updateAppMessageShareData",
|
|
|
|
|
"updateTimelineShareData",
|
|
|
|
|
"onMenuShareTimeline",
|
|
|
|
|
"onMenuShareAppMessage",
|
|
|
|
|
],
|
|
|
|
|
});
|
|
|
|
|
jWeixin.error(function (res) {
|
|
|
|
|
console.log(res);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
jWeixin.ready(function () {
|
|
|
|
|
jWeixin.updateAppMessageShareData({
|
|
|
|
|
title: "中证参考",
|
|
|
|
|
desc: "天下事 早知道",
|
|
|
|
|
link: link,
|
|
|
|
|
imgUrl: "https://cankao.cs.com.cn/static/share-default.jpg",
|
|
|
|
|
success: function () {},
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
jWeixin.updateTimelineShareData({
|
|
|
|
|
title: "中证参考",
|
|
|
|
|
desc: "天下事 早知道",
|
|
|
|
|
link: link,
|
|
|
|
|
imgUrl: "https://cankao.cs.com.cn/static/share-default.jpg",
|
|
|
|
|
success: function () {},
|
|
|
|
|
});
|
|
|
|
|
jWeixin.onMenuShareAppMessage({
|
|
|
|
|
title: "中证参考",
|
|
|
|
|
desc: "天下事 早知道",
|
|
|
|
|
link: link,
|
|
|
|
|
imgUrl: "https://cankao.cs.com.cn/static/share-default.jpg",
|
|
|
|
|
trigger: function (res) {},
|
|
|
|
|
success: function (res) {},
|
|
|
|
|
cancel: function (res) {},
|
|
|
|
|
fail: function (res) {},
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
jWeixin.onMenuShareTimeline({
|
|
|
|
|
title: "中证参考",
|
|
|
|
|
desc: "天下事 早知道",
|
|
|
|
|
link: link,
|
|
|
|
|
imgUrl: "https://cankao.cs.com.cn/static/share-default.jpg",
|
|
|
|
|
trigger: function (res) {},
|
|
|
|
|
success: function (res) {},
|
|
|
|
|
cancel: function (res) {},
|
|
|
|
|
fail: function (res) {},
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
error: function (error) {},
|
|
|
|
|
});
|
|
|
|
|
</script> -->
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>
|