Browse Source

20210818 14-53

邪性 3 years ago
parent
commit
4e84d016b1
5 changed files with 41 additions and 17 deletions
  1. 29 12
      .idea/workspace.xml
  2. 4 3
      h_exam/exam_list.html
  3. 4 1
      js/exam_list.js
  4. 3 1
      js/new_list.js
  5. 1 0
      xgk/xgk.html

+ 29 - 12
.idea/workspace.xml

@@ -1,15 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="ChangeListManager">
-    <list default="true" id="82570a17-8430-4238-ae79-81bbbd2de81f" name="Default Changelist" comment="index 暂时删除热门专题">
+    <list default="true" id="82570a17-8430-4238-ae79-81bbbd2de81f" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/404.html" beforeDir="false" afterPath="$PROJECT_DIR$/404.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/h_exam/exam_detail.html" beforeDir="false" afterPath="$PROJECT_DIR$/h_exam/exam_detail.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/h_exam/exam_detail_img.html" beforeDir="false" afterPath="$PROJECT_DIR$/h_exam/exam_detail_img.html" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/h_exam/exam_list.html" beforeDir="false" afterPath="$PROJECT_DIR$/h_exam/exam_list.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/h_news/news_detail.html" beforeDir="false" afterPath="$PROJECT_DIR$/h_news/news_detail.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/h_news/news_list.html" beforeDir="false" afterPath="$PROJECT_DIR$/h_news/news_list.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/index.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/js/exam_list.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/exam_list.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/js/new_list.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/new_list.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/xgk/xgk.html" beforeDir="false" afterPath="$PROJECT_DIR$/xgk/xgk.html" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -95,6 +92,18 @@
         </counts>
       </usages-collector>
     </session>
+    <session id="-1918643531">
+      <usages-collector id="statistics.file.extensions.edit">
+        <counts>
+          <entry key="txt" value="14" />
+        </counts>
+      </usages-collector>
+      <usages-collector id="statistics.file.types.edit">
+        <counts>
+          <entry key="PLAIN_TEXT" value="14" />
+        </counts>
+      </usages-collector>
+    </session>
   </component>
   <component name="FileEditorManager">
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
@@ -217,8 +226,8 @@
     <sorting>DEFINITION_ORDER</sorting>
   </component>
   <component name="ProjectFrameBounds">
-    <option name="x" value="9" />
-    <option name="y" value="217" />
+    <option name="x" value="-232" />
+    <option name="y" value="222" />
     <option name="width" value="1933" />
     <option name="height" value="1046" />
   </component>
@@ -1142,11 +1151,18 @@
       <option name="project" value="LOCAL" />
       <updated>1629193563365</updated>
     </task>
-    <option name="localTasksCounter" value="16" />
+    <task id="LOCAL-00016" summary="20210818 14-53">
+      <created>1629269633920</created>
+      <option name="number" value="00016" />
+      <option name="presentableId" value="LOCAL-00016" />
+      <option name="project" value="LOCAL" />
+      <updated>1629269633920</updated>
+    </task>
+    <option name="localTasksCounter" value="17" />
     <servers />
   </component>
   <component name="ToolWindowManager">
-    <frame x="-346" y="334" width="1933" height="1046" extended-state="0" />
+    <frame x="-232" y="222" width="1933" height="1046" extended-state="0" />
     <editor active="true" />
     <layout>
       <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.16070475" />
@@ -1246,7 +1262,8 @@
     <MESSAGE value="index 模拟考试" />
     <MESSAGE value="index 模拟考试列表" />
     <MESSAGE value="index 暂时删除热门专题" />
-    <option name="LAST_COMMIT_MESSAGE" value="index 暂时删除热门专题" />
+    <MESSAGE value="20210818 14-53" />
+    <option name="LAST_COMMIT_MESSAGE" value="20210818 14-53" />
   </component>
   <component name="editorHistoryManager">
     <entry file="file://$PROJECT_DIR$/h_news/new_detail.html" />

+ 4 - 3
h_exam/exam_list.html

@@ -19,6 +19,7 @@
     })();
   </script>
   <script src="../js/jquery.js"></script>
+  <script type="text/javascript" src="../js/jquery.lazyload.min.js"></script>
   <script src="../bootstrap/bootstrap.min.js"></script>
   <link rel="stylesheet" href="../bootstrap/bootstrap.min.css">
   <link rel="stylesheet" href="../css/components.css">
@@ -85,7 +86,7 @@
             <div class="my-list exam active">
               <a target="_blank" href="http://www.gaokaoapp.net" class="list-item">
                 <div class="item-img">
-                  <img src="../imgs/app_dowload.png" alt="大联考">
+                  <img data-original="../imgs/app_dowload.png" src="../imgs/app.png" alt="大联考">
                 </div>
                 <div class="item-detail">
                   <div class="title">高三模拟考试</div>
@@ -98,7 +99,7 @@
             <div class="my-list exam">
               <a target="_blank" href="http://www.gaokaoapp.net" class="list-item">
                 <div class="item-img">
-                  <img src="../imgs/app_dowload.png" alt="大联考">
+                  <img data-original="../imgs/app_dowload.png" src="../imgs/app.png" alt="大联考">
                 </div>
                 <div class="item-detail">
                   <div class="title">高二模拟考试</div>
@@ -111,7 +112,7 @@
             <div class="my-list exam">
               <a target="_blank" href="http://www.gaokaoapp.net" class="list-item">
                 <div class="item-img">
-                  <img src="../imgs/app_dowload.png" alt="大联考">
+                  <img data-original="../imgs/app_dowload.png" src="../imgs/app.png" alt="大联考">
                 </div>
                 <div class="item-detail">
                   <div class="title">高一模拟考试</div>

+ 4 - 1
js/exam_list.js

@@ -1,4 +1,5 @@
 $(function () {
+  $("img").lazyload();
   const globaldata = {
     active: 0,
   }
@@ -39,7 +40,8 @@ $(function () {
   function data () {
     let str = `<a target="_blank" href="https://www.baidu.com" class="list-item">
      <div class="item-img">
-       <img src="https://imgs.app.gaokaozhitongche.com/uploads/img/2021/0809/1628514522805675.png!cover2"
+       <img data-original="https://dss2.bdstatic.com/8_V1bjqh_Q23odCf/pacific/1975401466.png"
+       src="../imgs/app.png"
          alt="">
      </div>
      <div class="item-detail">
@@ -51,6 +53,7 @@ $(function () {
       setTimeout(() => {
         // globaldata.active 请求不同数据
         $(".ke>.active").append(str);
+        $("img").lazyload();
         resolve(false)
       }, 2000)
     })

+ 3 - 1
js/new_list.js

@@ -21,7 +21,8 @@ $(function () {
   function data () {
     let str = `<a target="_blank" href="https://www.baidu.com" class="list-item">
     <div class="item-img">
-      <img data-original="../imgs/app_dowload.png"
+      <img  data-original="https://dss2.bdstatic.com/8_V1bjqh_Q23odCf/pacific/1975401466.png"
+      src="../imgs/app.png"
         alt="">
     </div>
     <div class="item-detail">
@@ -32,6 +33,7 @@ $(function () {
     return new Promise(resolve => {
       setTimeout(() => {
         $(".list").append(str);
+        $("img").lazyload();
         resolve(false)
       }, 2000)
     })

+ 1 - 0
xgk/xgk.html

@@ -19,6 +19,7 @@
     })();
   </script>
   <script src="../js/jquery.js"></script>
+  <script type="text/javascript" src="../js/jquery.lazyload.min.js"></script>
   <script src="../bootstrap/bootstrap.min.js"></script>
   <link rel="stylesheet" href="../bootstrap/bootstrap.min.css">
   <link rel="stylesheet" href="../css/components.css">