提交 eb7c395f authored 作者: ling's avatar ling

fix head

上级 572a3d07
......@@ -60,10 +60,7 @@
</div>
<div class="ios_trust_tip"></div>
<div class="open_h5_wrap" style="margin-top: 0.5rem">
<a
target="_blank"
class="down_btn2"
:href="url"
<a target="_blank" class="down_btn2" :href="url"
>若无法下载APP,请点击此处使用手机网页版</a
>
</div>
......@@ -90,10 +87,7 @@
>
</div>
<div class="open_h5_wrap" style="width: 8rem">
<a
target="_blank"
class="down_btn2"
:href="url"
<a target="_blank" class="down_btn2" :href="url"
>手机网页版</a
>
</div>
......@@ -157,18 +151,28 @@ export default {
url: "https://www.yibovip613.com:34225/entry/login",
};
},
created() {
ShareTrace.init({
appkey: "a4a9e45dc76e096a",
success: function () {
console.log("init success...");
},
error: function (msg) {
console.log(msg);
},
});
head() {
return {
script: [
{
src: "https://res.sharetrace.com/sharetrace.min.js",
},
],
};
},
mounted() {
setTimeout(function () {
ShareTrace.init({
appkey: "a4a9e45dc76e096a",
success: function () {
console.log("init success...");
},
error: function (msg) {
console.log(msg);
},
});
}, 1000);
const u = navigator.userAgent;
const isAndroid = u.indexOf("Android") > -1 || u.indexOf("Adr") > -1; //android终端
const isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
......
......@@ -22,9 +22,6 @@ export default {
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
],
script: [{
src: 'https://res.sharetrace.com/sharetrace.min.js'
}],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论