Procházet zdrojové kódy

:art: 著作手机版界面优化

Bhikkhu-Kosalla před 5 roky
rodič
revize
95bf920ed8
2 změnil soubory, kde provedl 8 přidání a 2 odebrání
  1. 1 1
      app/collect/index.js
  2. 7 1
      app/collect/index.php

+ 1 - 1
app/collect/index.js

@@ -8,7 +8,7 @@ function collect_load(begin = 0) {
 			let arrCollectList = JSON.parse(data);
 			let html = "";
 			for (const iterator of arrCollectList.data) {
-				html += "<div style='flex:3;padding:0.5em;'>";
+				html += "<div style='width:25%;padding:0.5em;'>";
 				html += '<div style="position: relative;">';
 				html +=
 					"<div class='' style='position: absolute;background-color: darkred;color: white;padding: 0 6px;right: 0;'>" +

+ 7 - 1
app/collect/index.php

@@ -61,6 +61,10 @@ include "../pcdl/html_head.php";
         white-space:nowrap;
         overflow-x: scroll;
     }
+    .card{
+        height: 20vh;
+        overflow-y: scroll;
+    }
 </style>
 <style media="screen and (max-width:800px)">
 #right_pannal{
@@ -92,7 +96,9 @@ include "../pcdl/html_head.php";
 .article_title_link{
 	flex:5;
 }
-
+#book_list>div{
+    width:100% !important;
+}
 
 </style>
 <?php