소스 검색

前端优化

pengchanglu 3 년 전
부모
커밋
7ca36a5794
4개의 변경된 파일0개의 추가작업 그리고 231개의 파일을 삭제
  1. 0 17
      application/index/view/index/code.html
  2. 0 214
      public/assets/code/api.html
  3. BIN
      public/assets/code/map.jpg
  4. BIN
      public/assets/code/yun.png

+ 0 - 17
application/index/view/index/code.html

@@ -146,23 +146,6 @@
             <p>合格证</p>
         </a> -->
             </div>
-            <div class="tab-content">
-                <div class="tab-menu">
-                    <a href="javascript:;" class="active"><i class="iconfont icon-ditudizhi"></i>地图</a>
-                    <a href="javascript:;" class=""><i class="iconfont icon-tianqi"></i>天气</a>
-                    <a href="tel:0512-67325419" class=""><i class="iconfont icon-dianhua"></i>致电</a>
-                </div>
-                <div class="tab-box">
-                    <div class="tab-item" style="display: block;">
-                        <a href="https://map.baidu.com/mobile/webapp/search/search/qt=s&amp;wd=%E8%8B%8F%E5%B7%9E%E5%B8%82%E9%98%B3%E6%BE%84%E6%B9%96%E5%A4%A7%E9%97%B8%E8%9F%B9%E8%A1%8C%E4%B8%9A%E5%8D%8F%E4%BC%9A&amp;c=179/vt=map">
-                            <img src="__CDN__/assets/code/map.jpg" width="100%">
-                        </a>
-                    </div>
-                    <div class="tab-item" style="text-align: center; display: none;">
-                        <iframe scrolling="no" src="__CDN__/assets/code/api.html" frameborder="0" width="320" height="60 " allowtransparency="true"></iframe>
-                    </div>
-                </div>
-            </div>
         </div>
 		<audio src="" id="Jaudio" autoplay="" preload=""></audio>
 		<footer>

+ 0 - 214
public/assets/code/api.html

@@ -1,214 +0,0 @@
-<!DOCTYPE html>
-<!-- saved from url=(0113)https://tianqiapi.com/api.php?style=tg&skin=pitaya&city=%E8%8B%8F%E5%B7%9E&align=center&paddingtop=15&fontsize=14 -->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no" name="viewport">
-    <title>苏州天气预报 - TianqiAPI.com</title>
-    <style type="text/css">
-        body {
-            margin: auto 0px;
-            font-size: 14px;
-            padding-top: 15px;
-            color: #333;
-        }
-
-        ul {
-            list-style-type: none;
-            margin: 0;
-            padding: 0;
-        }
-
-        li {
-            list-style-type: none;
-        }
-
-        #mobile5 {
-            width: 420px;
-            text-align: center;
-            height: 80px;
-            margin-top: 5px
-        }
-
-        #mobile5 a {
-            color: #000;
-        }
-
-        #mobile5 .mobile5_tdw {
-            float: left;
-        }
-
-        #mobile5 .wt, #mobile5 .img {
-            margin: 0 auto;
-            float: none;
-        }
-
-        #mobile5 .wtmid {
-            height: 22px;
-            padding-top: 2px;
-            margin-top: 2px;
-            margin-bottom: 2px;
-            width: 120px;
-        }
-
-        #mobile05 {
-            width: auto;
-            height: 45px;
-            text-align: center;
-            overflow: hidden;
-        }
-
-        #mobile05 .mleft {
-            width: 110px;
-            overflow: hidden;
-            float: left;
-            line-height: 20px;
-            border-right: 1px dotted #ebebeb;
-        }
-
-        #mobile05 .wtname {
-            height: 20px;
-            overflow: hidden;
-            padding-top: 0px;
-        }
-
-        #mobile05 .wtname a {
-            font-size: 14px;
-            font-weight: bold;
-        }
-
-        #mobile05 .order {
-            padding-top: 0px;
-            height: 20px;
-        }
-
-        #mobile05 .wt {
-            float: left;
-        }
-
-        #mobile05 .wt .img {
-            float: left;
-            padding: 0px 4px 0 5px;
-        }
-
-        #mobile05 .mright {
-            width: 150px;
-            float: left;
-            position: relative;
-            padding: 0 5px;
-        }
-
-        #mobile05 .taday02 {
-            height: 45px;
-            display: block;
-            overflow: hidden;
-            text-align: left;
-            padding: 0px 0 0 0;
-            _width: 140px;
-        }
-
-        #mobile05 .taday02 li {
-            height: 20px;
-            line-height: 20px;
-            padding: 2px 0 0;
-            overflow: hidden;
-        }
-
-        #mobile05 .taday02 .day {
-            height: 20px;
-            padding: 0 3px 0 0;
-        }
-
-        #mobile05 .taday02 .bt {
-            height: 20px;
-            /*padding: 0 3px 0 0;*/
-            width: 36px;
-            overflow: hidden;
-        }
-
-        #mobile05 .taday02 .wtpath {
-            height: 20px;
-            overflow: hidden;
-        }
-
-        #mobile05 .zl {
-            float: left;
-            line-height: 20px;
-            position: absolute;
-            left: 60px;
-            top: 22px;
-        }
-
-        #mobile05 .zl .f1 {
-            background: #54A932;
-            color: #fff;
-            line-height: 12px;
-            padding: 1px 2px 2px;
-        }
-        .liang {
-            background-color: #eec50b;
-            color: #fff;padding:0 2px 0 0;
-        }
-    </style>
-</head>
-
-<body marginwidth="0" marginheight="0" style="background-color:transparent; font-family: Helvetica Neue,Helvetica,Arial,sans-serif;">
-
-<div id="mobile05" style=" padding-top:0px; padding-bottom:0px;">
-    <div class="mleft">
-        <div class="wtname">
-            <a>苏州</a>
-        </div>
-        <div class="order"><i class="liang">&nbsp;良&nbsp;</i></div>
-    </div>
-    <div class="mright">
-        <a nowrap="true">
-            <div name="wt" class="wt" id="day_1">
-                <div class="img">
-                    <img class="pngtqico" align="absmiddle" src="./yun.png" style="border:0;width:42px;height:42px"></div>
-                <div class="taday02">
-                    <ul>
-                        <li>
-                            <span class="day">今天</span>
-                            <span class="bt">多云转阴</span>
-                        </li>
-                    </ul>
-                </div>
-            </div>
-        </a>
-        <div class="zl">
-            <a>5℃~8℃ </a>
-        </div>
-    </div>
-    <div class="mright" style="width: 170px;">
-        <a nowrap="true">
-            <div name="wt" class="wt" id="day_1">
-                <div class="img">
-                    <img class="pngtqico" align="absmiddle" src="./yun.png" style="border:0;width:42px;height:42px"></div>
-                <div class="taday02">
-                    <ul>
-                        <li>
-                            <span class="day">明天</span>
-                            <span class="wtpath">多云</span></li>
-                        <li>4℃~8℃</li>
-                    </ul>
-                </div>
-            </div>
-        </a>
-    </div>
-        </div>
-
-<p style="display: none">
-    <script src="./hm.js.下载"></script><script>
-        var _hmt = _hmt || [];
-        (function() {
-            var hm = document.createElement("script");
-            hm.src = "https://hm.baidu.com/hm.js?9c221af010a163bdd2a5ae2cde8b62dc";
-            var s = document.getElementsByTagName("script")[0];
-            s.parentNode.insertBefore(hm, s);
-        })();
-    </script>
-</p>
-
-
-<audio controls="controls" style="display: none;"></audio></body><style type="text/css">#yddContainer{display:block;font-family:Microsoft YaHei;position:relative;width:100%;height:100%;top:-4px;left:-4px;font-size:12px;border:1px solid}#yddTop{display:block;height:22px}#yddTopBorderlr{display:block;position:static;height:17px;padding:2px 28px;line-height:17px;font-size:12px;color:#5079bb;font-weight:bold;border-style:none solid;border-width:1px}#yddTopBorderlr .ydd-sp{position:absolute;top:2px;height:0;overflow:hidden}.ydd-icon{left:5px;width:17px;padding:0px 0px 0px 0px;padding-top:17px;background-position:-16px -44px}.ydd-close{right:5px;width:16px;padding-top:16px;background-position:left -44px}#yddKeyTitle{float:left;text-decoration:none}#yddMiddle{display:block;margin-bottom:10px}.ydd-tabs{display:block;margin:5px 0;padding:0 5px;height:18px;border-bottom:1px solid}.ydd-tab{display:block;float:left;height:18px;margin:0 5px -1px 0;padding:0 4px;line-height:18px;border:1px solid;border-bottom:none}.ydd-trans-container{display:block;line-height:160%}.ydd-trans-container a{text-decoration:none;}#yddBottom{position:absolute;bottom:0;left:0;width:100%;height:22px;line-height:22px;overflow:hidden;background-position:left -22px}.ydd-padding010{padding:0 10px}#yddWrapper{color:#252525;z-index:10001;background:url(chrome-extension://eopjamdnofihpioajgfdikhhbobonhbb/ab20.png);}#yddContainer{background:#fff;border-color:#4b7598}#yddTopBorderlr{border-color:#f0f8fc}#yddWrapper .ydd-sp{background-image:url(chrome-extension://eopjamdnofihpioajgfdikhhbobonhbb/ydd-sprite.png)}#yddWrapper a,#yddWrapper a:hover,#yddWrapper a:visited{color:#50799b}#yddWrapper .ydd-tabs{color:#959595}.ydd-tabs,.ydd-tab{background:#fff;border-color:#d5e7f3}#yddBottom{color:#363636}#yddWrapper{min-width:250px;max-width:400px;}</style></html>

BIN
public/assets/code/map.jpg


BIN
public/assets/code/yun.png