This commit is contained in:
Zheng Jie
2022-08-05 17:37:26 +08:00
parent f7edbf1f05
commit dd5a6c4bb5
2 changed files with 6 additions and 1 deletions

View File

@@ -7,7 +7,6 @@
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="<%= BASE_URL %>favicon.ico" rel="icon">
<script async="true" src="https://cdn.wwads.cn/js/makemoney.js"></script>
<title><%= webpackConfig.name %></title>
</head>
<body>

View File

@@ -15,10 +15,16 @@ router.beforeEach((to, from, next) => {
setTimeout(() => {
var _hmt = _hmt || [];
(function() {
// 百度统计
var hm = document.createElement('script')
hm.src = 'https://hm.baidu.com/hm.js?300a24a5326d0e7a0ff1b14c4e8d9056'
var s = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(hm, s)
// AD
var ww = document.createElement('script')
ww.src = 'https://cdn.wwads.cn/js/makemoney.js'
var ss = document.getElementsByTagName('script')[0]
s.parentNode.insertBefore(ww, ss)
})()
}, 0)
if (to.meta.title) {