邪性 3 жил өмнө
parent
commit
8558616bb7

+ 17 - 10
.idea/workspace.xml

@@ -1,7 +1,7 @@
 <?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="20210827 14-30">
+    <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" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -104,12 +104,12 @@
     <session id="-1918643531">
       <usages-collector id="statistics.file.extensions.edit">
         <counts>
-          <entry key="txt" value="28" />
+          <entry key="txt" value="33" />
         </counts>
       </usages-collector>
       <usages-collector id="statistics.file.types.edit">
         <counts>
-          <entry key="PLAIN_TEXT" value="28" />
+          <entry key="PLAIN_TEXT" value="33" />
         </counts>
       </usages-collector>
       <usages-collector id="statistics.lifecycle.project">
@@ -262,8 +262,8 @@
     <sorting>DEFINITION_ORDER</sorting>
   </component>
   <component name="ProjectFrameBounds">
-    <option name="x" value="-57" />
-    <option name="y" value="121" />
+    <option name="x" value="-187" />
+    <option name="y" value="124" />
     <option name="width" value="1933" />
     <option name="height" value="884" />
   </component>
@@ -328,8 +328,7 @@
           <option name="mySupportsDeletion" value="false" />
           <option name="myCanBeAbsent" value="false" />
           <option name="myId" value="UPDATED" />
-          <PATH vcs="Git" revision="">$PROJECT_DIR$/css/exam_detail_img.css</PATH>
-          <PATH vcs="Git" revision="">$PROJECT_DIR$/search.html</PATH>
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/h_exam/exam_detail_s_img.html</PATH>
         </FILE-GROUP>
         <FILE-GROUP>
           <option name="myUpdateName" value="Created" />
@@ -770,11 +769,18 @@
       <option name="project" value="LOCAL" />
       <updated>1630046119085</updated>
     </task>
-    <option name="localTasksCounter" value="47" />
+    <task id="LOCAL-00047" summary="20210827 15-20">
+      <created>1630048750631</created>
+      <option name="number" value="00047" />
+      <option name="presentableId" value="LOCAL-00047" />
+      <option name="project" value="LOCAL" />
+      <updated>1630048750631</updated>
+    </task>
+    <option name="localTasksCounter" value="48" />
     <servers />
   </component>
   <component name="ToolWindowManager">
-    <frame x="-57" y="121" width="1933" height="884" extended-state="0" />
+    <frame x="-187" y="124" width="1933" height="884" extended-state="0" />
     <editor active="true" />
     <layout>
       <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.17351842" />
@@ -883,7 +889,8 @@
     <MESSAGE value="20210826 15-26" />
     <MESSAGE value="20210827 14-21" />
     <MESSAGE value="20210827 14-30" />
-    <option name="LAST_COMMIT_MESSAGE" value="20210827 14-30" />
+    <MESSAGE value="20210827 15-20" />
+    <option name="LAST_COMMIT_MESSAGE" value="20210827 15-20" />
   </component>
   <component name="editorHistoryManager">
     <entry file="file://$PROJECT_DIR$/h_news/new_detail.html" />

+ 6 - 19
h_exam/exam_detail_s_img.html

@@ -75,24 +75,11 @@
             <div class="showimglist subject-img">
               <p class="exam-img"> <img data-original="../imgs/app.png" src="../imgs/juanzi.png" alt="大联考"></p>
             </div>
-              <br>
-            <div class="exam-code">
-                <ul>
-                  <li>
-                    <ul>
-                      <li><img src="../imgs/app_dowload.png" alt="大联考"></li>
-                      <li>大联考APP下载</li>
-                    </ul>
-                  </li>
-                  <li>
-                    <ul>
-                      <li><img src="../imgs/wx_code.jpg" alt="大联考"></li>
-                      <li>"大联考APP"小程序</li>
-                    </ul>
-                  </li>
-                </ul>
-              </div>
-
+            <p><br></p>
+            <div class="edi-open">
+              <span data-click="open" data-open="false"><span>阅读全部</span><i
+                  class="glyphicon glyphicon-chevron-down"></i></span>
+            </div>
           </div>
           <!-- 相关文章 -->
           <div class="my-articles">
@@ -160,4 +147,4 @@
   </div>
 </body>
 
-</html>
+</html>

+ 9 - 9
js/exam_detail_img.js

@@ -54,15 +54,15 @@ $(function () {
     }
   )
   // 查看更多
-  // $("[data-click='open']").click(function () {
-  //   let bool = $(this).data("open");
-  //   if (!bool) {
-  //     $("#toast").show();
-  //     // $(this).data("open", true).children("span").text("收起阅读全部").parent().children("i").removeClass("glyphicon-chevron-down").addClass("glyphicon-chevron-up").parent().parent().parent().addClass("edi-body-height");
-  //   } else {
-  //     $(this).data("open", false).children("span").text("展开阅读全部").parent().children("i").removeClass("glyphicon-chevron-up").addClass("glyphicon-chevron-down").parent().parent().parent().removeClass("edi-body-height");
-  //   }
-  // })
+  $("[data-click='open']").click(function () {
+    let bool = $(this).data("open");
+    if (!bool) {
+      $("#toast").show();
+      // $(this).data("open", true).children("span").text("收起阅读全部").parent().children("i").removeClass("glyphicon-chevron-down").addClass("glyphicon-chevron-up").parent().parent().parent().addClass("edi-body-height");
+    } else {
+      $(this).data("open", false).children("span").text("展开阅读全部").parent().children("i").removeClass("glyphicon-chevron-up").addClass("glyphicon-chevron-down").parent().parent().parent().removeClass("edi-body-height");
+    }
+  })
 
   // // 不能实现的事件
   // function warm () {