del:abandoned code
parent
0e63b711fd
commit
cf98d3239b
55
index.html
55
index.html
|
|
@ -7,7 +7,7 @@
|
|||
<meta name="keywords" content="ok-admin v2.0,ok-admin网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
|
||||
<meta name="description" content="ok-admin v2.0,顾名思义,很赞的后台模版,它是一款基于Layui框架的轻量级扁平化且完全免费开源的网站后台管理系统模板,适合中小型CMS后台系统。">
|
||||
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
|
||||
<link rel="stylesheet" href="css/okadmin-v2.css"/>
|
||||
<link rel="stylesheet" href="css/okadmin.css"/>
|
||||
</head>
|
||||
<body class="layui-layout-body">
|
||||
<div class="layui-layout layui-layout-admin okadmin">
|
||||
|
|
@ -30,9 +30,8 @@
|
|||
<li class="ok-nav-item ok-hide-md">
|
||||
<!-- 天气信息 -->
|
||||
<div class="weather-ok">
|
||||
<iframe frameborder="0" scrolling="no" class="iframe-style" src="./weather.html" frameborder="0"></iframe>
|
||||
<iframe frameborder="0" scrolling="no" class="iframe-style" src="pages/weather.html" frameborder="0"></iframe>
|
||||
</div>
|
||||
<!--<div id="tp-weather-widget"></div>-->
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="layui-nav layui-layout-right">
|
||||
|
|
@ -141,56 +140,6 @@
|
|||
<div class="yy"></div>
|
||||
<!--js逻辑-->
|
||||
<script src="lib/layui/layui.js"></script>
|
||||
<!--<script src="lib/nprogress/nprogress.js"></script>-->
|
||||
<script src="js/okadmin.js"></script>
|
||||
|
||||
<!--中国天气预报插件-->
|
||||
<!-- ok-admin-weather -->
|
||||
<!--<script type="text/javascript">-->
|
||||
<!--WIDGET = {FID: 'acC5MsrKTi'}-->
|
||||
<!--</script>-->
|
||||
<!--<script type="text/javascript" src="https://apip.weatherdt.com/float/static/js/r.js?v=1111"></script>-->
|
||||
<!--知心天气预报插件-->
|
||||
<!--<script type="text/javascript">
|
||||
(function (T, h, i, n, k, P, a, g, e) {
|
||||
g = function () {
|
||||
P = h.createElement(i);
|
||||
a = h.getElementsByTagName(i)[0];
|
||||
P.src = k;
|
||||
P.charset = "utf-8";
|
||||
P.async = 1;
|
||||
a.parentNode.insertBefore(P, a)
|
||||
};
|
||||
T["ThinkPageWeatherWidgetObject"] = n;
|
||||
T[n] || (T[n] = function () {
|
||||
(T[n].q = T[n].q || []).push(arguments)
|
||||
});
|
||||
T[n].l = +new Date();
|
||||
if (T.attachEvent) {
|
||||
T.attachEvent("onload", g)
|
||||
} else {
|
||||
T.addEventListener("load", g, false)
|
||||
}
|
||||
}(window, document, "script", "tpwidget", "//widget.seniverse.com/widget/chameleon.js"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
tpwidget("init", {
|
||||
"flavor": "slim",
|
||||
"location": "WX4FBXXFKE4F",
|
||||
"geolocation": "enabled",
|
||||
"language": "zh-chs",
|
||||
"unit": "c",
|
||||
"theme": "chameleon",
|
||||
"container": "tp-weather-widget",
|
||||
"bubble": "disabled",
|
||||
"alarmType": "badge",
|
||||
"color": "#FFFFFF",
|
||||
"uid": "U9EC08A15F",
|
||||
"hash": "039da28f5581f4bcb5c799fb4cdfb673"
|
||||
});
|
||||
tpwidget("show");
|
||||
</script>-->
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>中国天气</title>
|
||||
<style>
|
||||
#weather-float-he {
|
||||
position: fixed!important;
|
||||
z-index: 99999!important;
|
||||
left: 0!important;
|
||||
top: 0!important;
|
||||
transform: scale(.9);
|
||||
}
|
||||
#weather-float-he div[data-v-0a6ec0b4]{
|
||||
box-shadow: none!important;
|
||||
top: 42px!important;
|
||||
}
|
||||
#weather-float-he div[data-v-0a6ec0b4] div{
|
||||
position:static!important;
|
||||
}
|
||||
body,html{
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: max-content;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
WIDGET = {
|
||||
FID: 'FS17XUsOiV'
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="https://apip.weatherdt.com/float/static/js/r.js?v=1111"></script>
|
||||
</body>
|
||||
</html>
|
||||
34
weather.html
34
weather.html
|
|
@ -1,34 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>中国天气</title>
|
||||
<style>
|
||||
#weather-float-he {
|
||||
position: fixed!important;
|
||||
z-index: 99999!important;
|
||||
left: 0!important;
|
||||
top: 0!important;
|
||||
transform: scale(.9);
|
||||
}
|
||||
#weather-float-he div[data-v-0a6ec0b4]{
|
||||
box-shadow: none!important;
|
||||
top: 42px!important;
|
||||
}
|
||||
#weather-float-he div[data-v-0a6ec0b4] div{
|
||||
position:static!important;
|
||||
}
|
||||
body,html{
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: max-content;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
WIDGET = {FID: 'FS17XUsOiV'}
|
||||
</script>
|
||||
<script type="text/javascript" src="https://apip.weatherdt.com/float/static/js/r.js?v=1111"></script>
|
||||
</body>
|
||||
</html>
|
||||
<!-- ok-admin-weather -->
|
||||
Loading…
Reference in New Issue