Przeglądaj źródła

Merge branch 'master' of https://github.com/visuddhinanda/mint

visuddhinanda 5 lat temu
rodzic
commit
f2add34277

+ 90 - 0
app/dict/css/style_mobile.css

@@ -0,0 +1,90 @@
+:root{
+    --bgDisplay:block;
+}
+
+body {
+
+}
+
+.left_nav_bar{
+	display:none;
+}
+.right_nav_bar_off{
+	position: fixed;
+    top: 0;
+	width:100%;
+	height:100%;
+	background-color:white;
+	-webkit-transform:translateX(100%);
+	-moz-transform:translateX(100%);
+	transform:translateX(100%);
+    -webkit-transition-duration: 0.4s;
+    transition-duration: 0.4s;
+}
+
+.right_nav_bar_on{
+	position: fixed;
+    top: 0;
+	width:100%;
+	height:100%;
+	background-color:white;
+    -webkit-transform:translateX(0em);
+    -moz-transform:translateX:(0em);
+    transform:translateX:(0em);
+	-webkit-transition-duration: 0.4s;
+    transition-duration: 0.4s;
+	overflow-y: scroll;
+
+}
+
+#search_input{
+	display:none;
+}
+#tool_bar_right{
+	display:none;
+}
+#header_nav{
+	display:none;
+}
+#footer_nav{
+	display:flex;
+}
+#page_header_4{
+	display:flex;
+}
+.index_inner{
+	margin-top: 0; 
+}
+
+.book_block{
+    width: initial;
+    height: initial;
+    display: flex;
+    margin: 5px;
+    cursor: pointer;
+}
+
+.book_block_cover{
+	width:4em;
+	height:5em;
+	border: 5px solid #ddb483;
+}
+.book_block_info{
+    margin: 5px;
+}
+.book_block_title{
+
+}
+.book_block_detail{
+
+}
+
+#tool_bar_right{display:none;}
+
+#para_res_list_shell{
+
+}
+#para_res_list_header{
+	display:block;
+	padding: 8px;
+}

+ 4 - 0
app/dict/dict_lookup.php

@@ -370,8 +370,12 @@ switch($op){
 		foreach($arrWords as $oneword){
 			$weight += $oneword["count"] * $oneword["len"];
 		}
+		echo "<div><a href='word_statistics.php?word={$word}'>";
+		echo "<svg t='1596783175334' class='icon' style='font-size: xxx-large; fill: var(--link-hover-color);' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7755' width='200' height='200'><path d='M1019.904 450.56L536.576 557.056l417.792 208.896C999.424 692.224 1024 606.208 1024 512c0-20.48 0-40.96-4.096-61.44z m-12.288-61.44C958.464 184.32 786.432 28.672 573.44 4.096L446.464 512l561.152-122.88zM737.28 970.752c73.728-36.864 139.264-90.112 188.416-159.744L507.904 602.112l229.376 368.64zM512 0C229.376 0 0 229.376 0 512s229.376 512 512 512c61.44 0 118.784-12.288 172.032-28.672L385.024 512 512 0z' p-id='7756'></path></svg>";
+		echo "<br>{$_local->gui->click_to_chart}</a></div>";
 		echo "<div>{$_local->gui->word_weight}:$weight {$_local->gui->characters}</div>";
 		echo "<div>{$_local->gui->real_declension}:".count($arrWords)." {$_local->gui->forms}</div>";
+		
 		foreach($arrWords as $oneword){
 			if($oneword["bold"]>0){
 				echo "<div><b>{$oneword["word"]}</b> {$oneword["count"]} {$_local->gui->times}</div>";

+ 6 - 0
app/dict/index.php

@@ -114,8 +114,14 @@ require_once "../pcdl/html_head.php";
 			border-radius: 99px;
 			cursor: pointer;
 		}
+		#footer_nav {
+			display: none;
+		}
 
 	</style>
+	<!-- <link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">-->
+	
+
 	<!-- tool bar begin-->
 	<div id='search_toolbar' class="search_toolbar">
 			<div style="display:flex;justify-content: space-between;">

+ 2 - 2
app/pcdl/html_foot.php

@@ -45,9 +45,9 @@
 		</div>
 		<div class="nav_text btn_color">我的</div>
 	</div>
-</div>S
+</div>
 	
-<div class="foot_div">
+<div class="foot_div" style="text-align: center; font-size: x-large; font-weight: bold; color: #3333;">
 	<div>wikipali @2020</div>
 	<div>Powered by PCD Suite</div>
 </div>

+ 2 - 2
app/public/lang/zh-cn.json

@@ -429,8 +429,8 @@
 		"forms": "种形式",
 		"add_to": "添加到",
 		"undone_function": "未完成功能",
-		"": "",
-		"": "",
+		"click_to_chart": "点击查看统计图表",
+		"frequency": "词频",
 		"": ""
 	},
 	"grammastr": [