|
@@ -265,7 +265,7 @@
|
|
|
<div style="height: 10vw;"></div>
|
|
|
</div>
|
|
|
<script src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
|
|
|
-
|
|
|
+
|
|
|
<script type="text/javascript">
|
|
|
// 腾讯广告全局申明只需运行一次
|
|
|
window.TencentGDT = window.TencentGDT || [];
|
|
@@ -282,14 +282,22 @@
|
|
|
if (res.ret == 0) {
|
|
|
console.log('广告播放成功');
|
|
|
} else {
|
|
|
- console.log('广告播放失败',res);
|
|
|
+ console.log('广告播放失败', res);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
+ // H5 SDK接入全局只需运行一次
|
|
|
+ // (function () {
|
|
|
+ // var doc = document,
|
|
|
+ // h = doc.getElementsByTagName('head')[0],
|
|
|
+ // s = doc.createElement('script');
|
|
|
+ // s.async = true;
|
|
|
+ // s.src = '//qzs.qq.com/qzone/biz/res/i.js';
|
|
|
+ // h && h.insertBefore(s, h.firstChild);
|
|
|
+ // })();
|
|
|
|
|
|
-
|
|
|
</script>
|
|
|
- <script src="https://qzs.gdtimg.com/union/res/union_sdk/page/h5_sdk/i.js "></script>
|
|
|
+ <script src="https://qzs.gdtimg.com/union/res/union_sdk/page/h5_sdk/i.js"></script>
|
|
|
<script>
|
|
|
//广告
|
|
|
|