Browse Source

新闻样式优化

huangb 7 years ago
parent
commit
b12f875c7f

+ 17 - 2
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/assets/css/index.css

@@ -1484,8 +1484,9 @@ a.x_gray_text{
 .x_item_list li span {
     float: right;
 }
-li.active a {
+li.active a,li:hover a{
     color: #e41f2b;
+    font-weight: bold;
     border-bottom: 1px solid #e41f2b;
 }
 /*第三列*/
@@ -1536,6 +1537,20 @@ li.active a {
     border-top: 1px solid #e8e8e8;
     margin: 0;
 }
+.hot_info_list dl:hover{
+    background-color: #ff6565;
+}
+.hot_info_list dl:hover p,.hot_info_list dl:hover span{
+    color: #fff;
+}
+.hot_info_list dl:hover a{
+    font-weight: bold;
+    color: #fff;
+}
+.hot_info_list dl:hover dt>p{
+    background: #fff;
+    color: #333;
+}
 .hot_info_list dt,.hot_info_list dd {
     display: inline-block;
 }
@@ -1692,7 +1707,7 @@ li.active a {
 #sidebar .sidebar-content{
     position: absolute;
     right: 70px;
-    top: 50%;
+    top: 64%;
     transform: translateY(-50%);
     list-style: none;
     padding: 0;

+ 1 - 1
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/index.html

@@ -1094,7 +1094,7 @@
 							<a href="https://www.uuzcc.com/article/list/hardwarel.html" class="x_gray_text">更多></a>
 						</div>
 						<ul class="x_item_list">
-							<li class="active">
+							<li>
 								<a href="">自动跟随行李箱方案开发</a>
 								<span class="x_gray_text">8-24</span>
 							</li>