Bläddra i källkod

Merge branch 'dev_winpc_touch' of http://gogs.efunbox.cn:3000/Rankin/2BTV-Web into dev_winpc_touch

zhanghe 6 år sedan
förälder
incheckning
ce65a31a76
2 ändrade filer med 8 tillägg och 19 borttagningar
  1. 3 3
      src/res/tpl/DownloadScene.tpl
  2. 5 16
      src/stage/index/style/DownloadScene.less

+ 3 - 3
src/res/tpl/DownloadScene.tpl

@@ -1,11 +1,10 @@
 <div id="DownloadManagerScene" fe-role="Switch">
-	<div class="download-manager-bg">
-		<img src="./assets/img/GlobalGoodDetail/background.jpg" alt="" />
-	</div>
+
   	<div class="local-download-icon">
     	<img src="assets/img/DownloadScene/download.png" alt="" />
     	<div>本地下载列表</div>
   	</div>
+
   	<div class="background-wrapper">
 		<div class="background-header">
     		<div class="header">
@@ -104,6 +103,7 @@
 			<div class="scroll-list scroll-lines-wrapper clearfix" id="download-status-table-wrapper"></div>
 		</div>
 	</div>
+
 	<div class="goback" fe-role="Widget">
 		<img src="assets/img/goback.png" />
 	</div>

+ 5 - 16
src/stage/index/style/DownloadScene.less

@@ -8,32 +8,21 @@
 	height: 10.9rem;
 	overflow: hidden;
 	text-align: center;
-
-	.download-manager-bg {
-		position: absolute;
-		top: 0;
-		left: 0;
-		z-index: -1;
-		width: 100%;
-		height: 100%;
-		img {
-			width: 100%;
-			height: 100%;
-		}
-	}
+	background-image: url('assets/img/IndexScene/index_bg.png');
+	background-size: 100% 100%;
+	background-repeat: no-repeat;
 
 	.local-download-icon{
 		float: left;
 		position: relative;
 		left:0.5rem;
 		top:0.3rem;
-		width:3rem;
 		img {
-			float: left;
+			display: inline-block;
 			width: 1rem;
 		}
 		div{
-			float: left;
+			display: inline-block;
 			font-size: 0.3rem;
 			color: white;
 			margin-top: 0.3rem;