Browse Source

首页样式调整

zhanghe 6 years ago
parent
commit
3f116af720

+ 1 - 1
src/res/tpl/IndexScene.tpl

@@ -34,6 +34,6 @@
 		</div>
 	</div>
 	<p class="index_msg">
-		powered by 领教信息
+		Powered by 领教信息
 	</p>
 </div>

+ 0 - 7
src/stage/index/index.html

@@ -57,13 +57,6 @@
 	<script src="../../lib/js/md5.min.js"></script>
 	<script src="../../lib/js/ckplayer/hls.min.js"></script>
 	<script src="../../lib/js/ckplayer/ckplayer.js"></script>
-	<style type="text/css">
-		#ckplayer-dom {
-			width: 100%;
-			height: 9rem;
-			background: #fff;
-		}
-	</style>
 	<script>
 		var ts = '201807251125';
 

+ 2 - 0
src/stage/index/index.less

@@ -2,6 +2,8 @@
 
 @borderSize: 0.05;
 @borderRadius: 0.2;
+@designWidth: 19.2;
+@designHeight: 10.8;
 
 body {
     width: 100%;

+ 4 - 4
src/stage/index/style/IndexScene.less

@@ -46,10 +46,10 @@
 	}
 }
 
-
 #IndexScene {
 	position: absolute;
-	width: 100%;
+	width: unit(@designWidth, rem);
+	height: unit(@designHeight, rem);
 	padding: 0.05rem 1.2rem .5rem;
 	background-image: url('assets/img/IndexScene/index_bg.png');
 	background-size: cover;
@@ -107,13 +107,13 @@
 	}
 	.m-main {
 		width: 100%;
-		height: 7.6rem;
+		height: 7.8rem;
 		margin-top: 0.3rem;
 		padding: .2rem 0rem 0rem 0rem;
 		overflow-y: hidden;
 		.scroll-list {
 			width: 100%;
-			padding-bottom: 0.5rem;
+			padding-bottom: 0.3rem;
 
 			.history-wrapper {
 				font-size: 0;

+ 2 - 2
src/stage/index/style/TerminalScene.less

@@ -55,11 +55,11 @@
 			background-color: #1b79ca;
 			border-radius: .5rem;
 			text-align: center;
-			line-height: .55rem;
+			line-height: .65rem;
 			color: #FFF;
 			font-size: .38rem;
 			&.fe-focus {
-				.after-focus(@borderSize; #ffe100);
+				//.after-focus(@borderSize; #ffe100);
 			}
 		}
 		.terminal-remind {