Commit 9eae2f07 by libai

测试

parent 9d1ea7ae
...@@ -243,7 +243,7 @@ $(function(){ ...@@ -243,7 +243,7 @@ $(function(){
html+='<div class="grap-like">追蹤</div>'; html+='<div class="grap-like">追蹤</div>';
$(".grap-name-box").html(html); $(".grap-name-box").html(html);
$(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){ $(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){
window.location.href='download/download3.html?qd=ftsBH5TW' window.location.href='https://www.footseen.xyz/download/download3.html?qd=ftsBH5TW'
}) })
var html=[]; var html=[];
html+='<h1 class="grap-title">'+details.title+'</h1>'; html+='<h1 class="grap-title">'+details.title+'</h1>';
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</script> --> </script> -->
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<!-- <link rel="apple-touch-icon-precomposed" href="images/boy.png"> --> <link rel="apple-touch-icon-precomposed" href="images/boy.png">
<script src="lib/jquery-3.1.1.min.js"></script> <script src="lib/jquery-3.1.1.min.js"></script>
<script src="lib/default.js?v=2022111603"></script> <script src="lib/default.js?v=2022111603"></script>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
...@@ -36,10 +36,13 @@ ...@@ -36,10 +36,13 @@
<link rel="stylesheet" href="css/layer.css"> <link rel="stylesheet" href="css/layer.css">
<link rel="stylesheet" href="css/index.css?v=2022112201"> <link rel="stylesheet" href="css/index.css?v=2022112201">
<link rel="stylesheet" href="css/login.css?v=2022111811"> <link rel="stylesheet" href="css/login.css?v=2022111811">
<script src="index.js?v=2" defer=""></script>
<link rel="manifest" href="manifest.webmanifest?v=3" />
<script src="https://accounts.google.com/gsi/client" async defer></script> <script src="https://accounts.google.com/gsi/client" async defer></script>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script>
<script src="lib/hello.js"></script> <script src="lib/hello.js"></script>
<style> <style>
.layui-layer-shade { .layui-layer-shade {
opacity: 0.7 !important; opacity: 0.7 !important;
...@@ -61,10 +64,17 @@ ...@@ -61,10 +64,17 @@
.yourclass6 .layui-layer-content { .yourclass6 .layui-layer-content {
border-radius: 0rem !important; border-radius: 0rem !important;
} }
.add-button {
position: absolute;
top: 1px;
left: 1px;
z-index: 500;
background: pink;
}
</style> </style>
</head> </head>
<body style="background: #d9d9d9"> <body style="background: #d9d9d9">
<button class="add-button" style="display: block;">Add to home screen</button>
<div class="bottom-nav"> <div class="bottom-nav">
<div><div class="bottom-nav-img1 bottom-nav-img1-click"></div></div> <div><div class="bottom-nav-img1 bottom-nav-img1-click"></div></div>
<div><div class="bottom-nav-img2"></div></div> <div><div class="bottom-nav-img2"></div></div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
if ('serviceWorker' in navigator) { if ('serviceWorker' in navigator) {
navigator.serviceWorker navigator.serviceWorker
.register('/active2022/abc/sw.js?V=20221115') .register('/mTset/sw.js?V=20221115')
.then(() => { console.log('Service Worker Registered'); }); .then(() => { console.log('Service Worker Registered'); });
} }
......
{ {
"background_color": "purple", "background_color": "purple",
"description": "Shows random fox pictures. Hey, at least it isn't cats.", "description": "my footseen",
"display": "fullscreen", "display": "fullscreen",
"icons": [ "icons": [
{ {
"src": "images/boy.png", "src": "icon/fox-icon.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image/png" "type": "image/png"
} }
], ],
"name": "Awesome fox pictures", "name": "footseen go",
"short_name": "Foxes", "short_name": "footseen",
"start_url": "/active2022/footseenH5/index.html" "start_url": "/mTset/index.html?v=2022011604"
} }
\ No newline at end of file
...@@ -247,7 +247,7 @@ $(function(){ ...@@ -247,7 +247,7 @@ $(function(){
html+='<div class="grap-like">追蹤</div>'; html+='<div class="grap-like">追蹤</div>';
$(".grap-name-box").html(html); $(".grap-name-box").html(html);
$(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){ $(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){
window.location.href='download/download3.html?qd=ftsBH5TW' window.location.href='https://www.footseen.xyz/download/download3.html?qd=ftsBH5TW'
}) })
var html=[]; var html=[];
html+='<h1 class="grap-title">'+details.title+'</h1>'; html+='<h1 class="grap-title">'+details.title+'</h1>';
......
...@@ -203,7 +203,7 @@ $(function(){ ...@@ -203,7 +203,7 @@ $(function(){
html+='<div class="grap-like">追蹤</div>'; html+='<div class="grap-like">追蹤</div>';
$(".grap-name-box").html(html); $(".grap-name-box").html(html);
$(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){ $(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){
window.location.href='download/download2.html' window.location.href='https://www.footseen.xyz/download/download2.html'
}) })
var html=[]; var html=[];
html+='<h1 class="grap-title">'+details.title+'</h1>'; html+='<h1 class="grap-title">'+details.title+'</h1>';
......
self.addEventListener('install', (e) => { self.addEventListener('install', (e) => {
e.waitUntil( e.waitUntil(
caches.open('footseen').then((cache) => cache.addAll([ caches.open('footseen').then((cache) => cache.addAll([
'/active2022/abc/', '/mTest/',
'/active2022/abc/index.html', '/mTest/index.html',
'/active2022/abc/index.js', '/mTest/index.js',
'/active2022/abc/style.css',
'/active2022/abc/images/fox1.jpg',
'/active2022/abc/images/fox2.jpg',
'/active2022/abc/images/fox3.jpg',
'/active2022/abc/images/fox4.jpg',
])), ])),
); );
}); });
......
...@@ -200,7 +200,7 @@ $(function(){ ...@@ -200,7 +200,7 @@ $(function(){
html+='<div class="grap-like">追蹤</div>'; html+='<div class="grap-like">追蹤</div>';
$(".grap-name-box").html(html); $(".grap-name-box").html(html);
$(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){ $(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){
window.location.href='download/download2.html' window.location.href='https://www.footseen.xyz/download/download2.html'
}) })
var html=[]; var html=[];
html+='<h1 class="grap-title">'+details.title+'</h1>'; html+='<h1 class="grap-title">'+details.title+'</h1>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment