Browse Source

直播文章

chao 4 years ago
parent
commit
28ec1ac984

+ 2 - 2
src/main/resources/static/css/single-page/live.css

@@ -16,9 +16,9 @@ li{list-style:none}
 .pageFloor .article img:hover{border:1px solid #E15616;}
 .pageFloor .article h5{color:#2D3036;font-size:18px;max-height:64px;line-height:32px;margin-bottom:16px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 .pageFloor .article .label{margin-bottom:16px;color:#93979f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
-.pageFloor .article .author:before{width:24px;height:24px;vertical-align:top;background-position:0 -577px;margin-right:5px}
+.pageFloor .article .author:before{width:24px;height:24px;vertical-align:top;background-position:-83px -329px;margin-right:5px}
 .pageFloor .article .tags{margin-left:20px}
-.pageFloor .article .tags:before{width:24px;height:24px;vertical-align:top;background-position:-67px -577px;margin-right:5px}
+.pageFloor .article .tags:before{width:24px;height:24px;vertical-align:top;background-position:-150px -329px;margin-right:5px}
 .pageFloor .article .tags a{color:#93979f;}
 .pageFloor .article .tags a:hover{color:#E15616;}
 .pageFloor .article p{height:72px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}

+ 1 - 1
src/main/resources/static/js/single-page/live.js

@@ -51,7 +51,7 @@ var livePage = new Vue({
         getLiveArticle: function(){
             var _self = this;
             $.getJSON(spiServer+"/search/query/article/type" ,{
-                id: 1,
+                id: 8,
                 pageSize: 4,
                 pageNum: 1
             }, function (r) {

+ 1 - 1
src/main/resources/templates/we_chat/redirect_uri.html

@@ -2,8 +2,8 @@
 <html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="https://www.thymeleaf.org ">
 <head>
-    <meta charset="UTF-8">
     <title>微信授权</title>
+    <template th:replace="components/head-link"></template>
 </head>
 <body>
 <input type="hidden" th:value="${spiServer}" id="spiServer">