diff --git a/app/wechat/view/api/view/news.html b/app/wechat/view/api/view/news.html
index 2aab383e1..3e8d0d1b9 100644
--- a/app/wechat/view/api/view/news.html
+++ b/app/wechat/view/api/view/news.html
@@ -4,20 +4,23 @@
+
{/block}
{block name='style'}
@@ -32,25 +35,34 @@
font-size: 12px;
line-height: 12px;
background: #aaa;
- box-shadow: 0 0 3px #666
+ box-shadow: 0 0 1px #666
}
.container {
width: 90%;
display: block;
margin: 5vw auto;
- overflow: hidden;
position: relative;
border-radius: 5px;
- box-shadow: 0 0 3px #333;
+ box-shadow: 0 0 2px #333;
}
- .container a {
+ .container a.item {
height: 50vw;
display: block;
position: relative;
background: no-repeat center center;
- background-size: cover
+ background-size: cover;
+ }
+
+ .container a.item:first-child {
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
+ }
+
+ .container a.item:last-child, .container a.item:last-child span {
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
}
.container a span {
@@ -65,7 +77,6 @@
position: absolute;
line-height: 2em;
white-space: nowrap;
- margin: 0 -1px 0 -1px;
text-overflow: ellipsis;
background: rgba(0, 0, 0, .7);
}
@@ -99,12 +110,6 @@
background-position: center center
}
- .info h3 {
- color: #333;
- font-size: 5vw;
- margin-bottom: 1rem
- }
-
.info {
color: #666;
padding: 2rem;
@@ -113,6 +118,12 @@
letter-spacing: 1px
}
+ .info h3 {
+ color: #333;
+ font-size: 5vw;
+ margin-bottom: 1rem
+ }
+
.hr-line-dashed {
color: #fff;
height: 1px;