2020-12-02 11:31:34 +08:00
|
|
|
|
<!DOCTYPE html><html lang="zh_CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>beelink</title><link href="https://imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.css" rel="stylesheet"><script data-ad-client="ca-pub-7145171713084445" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><!--[if lt IE 9]>
|
2020-11-25 10:00:46 +08:00
|
|
|
|
<script src="//imgcache.qq.com/open/qcloud/video/tcplayer/ie8/videojs-ie8.js"></script>
|
2020-12-02 11:31:34 +08:00
|
|
|
|
<![endif]--><script src="https://imgcache.qq.com/open/qcloud/video/tcplayer/lib/hls.min.0.8.8.js"></script><script src="https://imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.min.js"></script><script>//designWidth:设计稿的实际宽度值,需要根据实际设置
|
2020-11-25 10:00:46 +08:00
|
|
|
|
//maxWidth:制作稿的最大宽度值,需要根据实际设置
|
|
|
|
|
//这段js的最后面有两个参数记得要设置,一个为设计稿实际宽度,一个为制作稿最大宽度,例如设计稿为750,最大宽度为750,则为(750,750)
|
|
|
|
|
(function (designWidth, maxWidth) {
|
|
|
|
|
var doc = document,
|
|
|
|
|
win = window,
|
|
|
|
|
docEl = doc.documentElement,
|
|
|
|
|
remStyle = document.createElement("style"),
|
|
|
|
|
tid;
|
|
|
|
|
|
|
|
|
|
function refreshRem() {
|
|
|
|
|
|
|
|
|
|
var width = docEl.getBoundingClientRect().width;
|
|
|
|
|
// maxWidth = maxWidth || 540; //不需要判断最大宽度
|
|
|
|
|
// width > maxWidth && (width = maxWidth);
|
|
|
|
|
var rem = width * 100 / designWidth;
|
|
|
|
|
console.log(rem)
|
|
|
|
|
|
|
|
|
|
remStyle.innerHTML = 'html{font-size:' + rem + 'px;}';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (docEl.firstElementChild) {
|
|
|
|
|
docEl.firstElementChild.appendChild(remStyle);
|
|
|
|
|
} else {
|
|
|
|
|
var wrap = doc.createElement("div");
|
|
|
|
|
wrap.appendChild(remStyle);
|
|
|
|
|
doc.write(wrap.innerHTML);
|
|
|
|
|
wrap = null;
|
|
|
|
|
}
|
|
|
|
|
//要等 wiewport 设置好后才能执行 refreshRem,不然 refreshRem 会执行2次;
|
|
|
|
|
refreshRem();
|
|
|
|
|
|
|
|
|
|
win.addEventListener("resize", function () {
|
|
|
|
|
clearTimeout(tid); //防止执行两次
|
|
|
|
|
tid = setTimeout(refreshRem, 300);
|
|
|
|
|
}, false);
|
|
|
|
|
|
|
|
|
|
win.addEventListener("pageshow", function (e) {
|
|
|
|
|
if (e.persisted) { // 浏览器后退的时候重新计算
|
|
|
|
|
clearTimeout(tid);
|
|
|
|
|
tid = setTimeout(refreshRem, 300);
|
|
|
|
|
}
|
|
|
|
|
}, false);
|
|
|
|
|
|
|
|
|
|
if (doc.readyState === "complete") {
|
|
|
|
|
doc.body.style.fontSize = "16px";
|
|
|
|
|
} else {
|
|
|
|
|
doc.addEventListener("DOMContentLoaded", function (e) {
|
|
|
|
|
doc.body.style.fontSize = "16px";
|
|
|
|
|
}, false);
|
|
|
|
|
}
|
|
|
|
|
})(1366, 1024);</script><link href="/css/cropper.min.css" rel="stylesheet"><style>#make{
|
|
|
|
|
background-color: #000;
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 1001;
|
|
|
|
|
display: none;
|
2020-12-11 14:29:53 +08:00
|
|
|
|
}</style><meta property="og:type" content="website"><meta property="og:title" content="分享测试测试"><meta property="og:description" content="分享描述"><meta property="og:image" content="http://1303872925.vod2.myqcloud.com/7db674eavodcq1303872925/a5d03b0c5285890810149245655/vrLgNu2JaBkA.png"><meta property="og:url" content="https://beelink.theluyuan.com/"><link href="/css/chunk-04e3a2fa.08ef3a2d.css" rel="prefetch"><link href="/css/chunk-06828374.8e285ce3.css" rel="prefetch"><link href="/css/chunk-0d9de69e.0e433876.css" rel="prefetch"><link href="/css/chunk-18d6ebc2.07c0f4a4.css" rel="prefetch"><link href="/css/chunk-1908dacf.4661450c.css" rel="prefetch"><link href="/css/chunk-1ac4f1f4.7a9cfd91.css" rel="prefetch"><link href="/css/chunk-1f21263e.b9051f93.css" rel="prefetch"><link href="/css/chunk-21b42480.6808bbcc.css" rel="prefetch"><link href="/css/chunk-27236dd2.3992b5d2.css" rel="prefetch"><link href="/css/chunk-2b71f1e5.182b1bb8.css" rel="prefetch"><link href="/css/chunk-3326ceee.61cdda7f.css" rel="prefetch"><link href="/css/chunk-39b973ba.0e433876.css" rel="prefetch"><link href="/css/chunk-3c7641ed.f87c4e8b.css" rel="prefetch"><link href="/css/chunk-4663db36.3eaba60f.css" rel="prefetch"><link href="/css/chunk-520d8a08.dd761c06.css" rel="prefetch"><link href="/css/chunk-52aea4a8.16692c13.css" rel="prefetch"><link href="/css/chunk-650d0cb1.47d38586.css" rel="prefetch"><link href="/css/chunk-68091c98.14c0db2d.css" rel="prefetch"><link href="/css/chunk-6e7aa5b1.9851e10f.css" rel="prefetch"><link href="/css/chunk-74d6e86d.85aed290.css" rel="prefetch"><link href="/css/chunk-7582a703.b7f6c0c7.css" rel="prefetch"><link href="/css/chunk-77e7ddf0.4c3c344c.css" rel="prefetch"><link href="/css/chunk-7da0eb18.409b8eb7.css" rel="prefetch"><link href="/css/chunk-922d780a.e11df9e0.css" rel="prefetch"><link href="/css/chunk-977f0f52.6081abf8.css" rel="prefetch"><link href="/css/chunk-a4a29886.aa3c0949.css" rel="prefetch"><link href="/css/chunk-da7e1532.17a6e0e0.css" rel="prefetch"><link href="/css/chunk-ebdb96a0.d22f743d.css" rel="prefetch"><link href="/css/chunk-ef207110.a20941ed.css" rel="prefetch"><link href="/css/chunk-fe0963e2.87f3e66d.css" rel="prefetch"><link href="/js/chunk-04e3a2fa.8f93da5c.js" rel="prefetch"><link href="/js/chunk-06828374.6edfa940.js" rel="prefetch"><link href="/js/chunk-0d9de69e.8d8c86fa.js" rel="prefetch"><link href="/js/chunk-18d6ebc2.ce304764.js" rel="prefetch"><link href="/js/chunk-1908dacf.31375e9d.js" rel="prefetch"><link href="/js/chunk-1ac4f1f4.d8f4e8da.js" rel="prefetch"><link href="/js/chunk-1f21263e.2f3dfdf3.js" rel="prefetch"><link href="/js/chunk-21b42480.34ae0e36.js" rel="prefetch"><link href="/js/chunk-27236dd2.6a20330a.js" rel="prefetch"><link href="/js/chunk-2b71f1e5.583c97ef.js" rel="prefetch"><link href="/js/chunk-3326ceee.bb6377f9.js" rel="prefetch"><link href="/js/chunk-39b973ba.334f229f.js" rel="prefetch"><link href="/js/chunk-3c7641ed.3b9d36e0.js" rel="prefetch"><link href="/js/chunk-4663db36.dfc5ef3c.js" rel="prefetch"><link href="/js/chunk-520d8a08.fa8b550a.js" rel="prefetch"><link href="/js/chunk-52aea4a8.de5c0bb7.js" rel="prefetch"><link href="/js/chunk-650d0cb1.9ee9866a.js" rel="prefetch"><link href="/js/chunk-68091c98.6bc9c5f0.js" rel="prefetch"><link href="/js/chunk-6e7aa5b1.4b143e99.js" rel="prefetch"><link href="/js/chunk-74d6e86d.65740bb4.js" rel="prefetch"><link href="/js/chunk-7582a703.b57d58c8.js" rel="prefetch"><link href="/js/chunk-77e7ddf0.03393538.js" rel="prefetch"><link href="/js/chunk-7da0eb18.b6282824.js" rel="prefetch"><link href="/js/chunk-922d780a.7aff86dc.js" rel="prefetch"><link href="/js/chunk-977f0f52.b19a2b8d.js" rel="prefetch"><link href="/js/chunk-a4a29886.a960f3b2.js" rel="prefetch"><link href="/js/chunk-da7e1532.4b71bb2c.js" rel="prefetch"><link href="/js/chunk-ebdb96a0.cbefff6f.js" rel="prefetch"><link href="/js/chunk-ef207110.e4632726.js" rel="prefetch"><link href="/js/chunk-fe0963e2.c59d4951.js" rel="prefetch"><link href="/css/app.75493212.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload"
|
2020-11-25 10:00:46 +08:00
|
|
|
|
FB.init({
|
|
|
|
|
appId: '277826133389999',
|
|
|
|
|
autoLogAppEvents: true,
|
|
|
|
|
xfbml: true,
|
|
|
|
|
version: 'v8.0'
|
|
|
|
|
});
|
2020-12-11 14:29:53 +08:00
|
|
|
|
};</script><script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script><script src="/js/cropper.min.js"></script><script src="/js/jquery-3.2.1.min.js"></script><div id="xiangqingdivadsensedisplaynone" style="display:none;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-7145171713084445" data-ad-slot="9189068072"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div><div id="guanlidivadsensedisplaynone" style="display:none;"><ins class="adsbygoogle" style="display:inline-block;width:450px;height:380px" data-ad-client="ca-pub-7145171713084445" data-ad-slot="4213570423"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div><script>$("meta[property='og:title']")[0].content = "测试动态"</script><script src="/js/chunk-vendors.60dc9ef4.js"></script><script src="/js/app.f835b39c.js"></script></body></html>
|