chao 4 лет назад
Родитель
Сommit
5596de0f83

+ 2 - 2
src/main/resources/static/css/article/article.css

@@ -93,9 +93,9 @@ dl,dd,dt{zoom:1}
 	.content .new-list{width:100%;background:#fff}
 	.content .row:nth-last-child(1){border-bottom:0}
 	.new-list .row{position:relative;display:table;width:800px;height:150px;margin:0 30px;padding:30px 0;border-bottom:solid 1px #ededed}
-	.row .new-img{position:absolute;width:210px;height:150px;margin-right:20px}
+	.row .new-img{position:absolute;width:210px;height:150px;margin-right:20px;background:#FFF url(/img/base/placeholder.png) no-repeat center center;}
 	.row .campaign{position:absolute;top:35px;left:5px;width:56px;height:24px;line-height:24px;font-size:16px;color:#fff;text-align:center;border-radius:2px;background-color:#e15616;opacity:.7;z-index:99}
-	.row .new-img img{width:206px;height:146px;background:#FFF url(/img/base/placeholder.png) no-repeat center center;background-size:80%}
+	.row .new-img img{width:100%;height:100%;background-color:#FFF;background-size:80%}
 	.row .new-img img:hover{border:solid 2px #e15616;opacity:0.8}
 	.row .new-img img.none:hover{border:none;opacity:1;cursor:default}
 	.row .new-blurb{padding-left:230px;min-height:150px;margin-top:-5px;overflow:hidden}

+ 1 - 1
src/main/resources/templates/account/login.html

@@ -38,7 +38,7 @@
                     <a v-if="isPC" class="btn" href="/register.html">免费注册</a>
                     <button class="btn" type="button" @click="loginSubmit()">登录</button>
                     <a v-if="!isPC" class="btn" href="/register.html">免费注册</a>
-                    <a v-if="!isPC" class="weChat" @click="weChatLogin()" href="javascript:void(0);">
+                    <a v-if="!isPC && isWeChat" class="weChat" @click="weChatLogin()" href="javascript:void(0);">
                         <span>微信授权登录</span><i class="mIcon"></i>
                     </a>
                 </div>