喻文俊 3 лет назад
Родитель
Сommit
9fdd7fd878

+ 2 - 1
src/main/resources/static/css/supplier-center/article/article-list.css

@@ -127,6 +127,7 @@
     padding: 16px 0;
 }
 
+
 .article-list .table .title,
 .article-list .table .time,
 .article-list .table .option {
@@ -154,7 +155,7 @@
 }
 
 .article-list .table .cover {
-    display: block;
+    display: inline-block;
     width: 48px;
     height: 48px;
     border: 1px dashed #E2E7EF;

+ 1 - 1
src/main/resources/static/js/supplier-center/article/article-list.js

@@ -173,8 +173,8 @@ var articleList = new Vue({
         toPagination: function toPagination(pageNum) {
             if (pageNum <= this.pageTotal) {
                 this.listQuery.pageNum = pageNum; // console.log('页码跳转');
-                $('html ,body').animate({scrollTop: 0}, 400, 'linear'); // 页面置顶
                 this.getArticleList();
+                $('html ,body').animate({scrollTop: 0}, 400, 'linear'); // 页面置顶
             }
         },
         // 输入框设置页码

+ 2 - 2
src/main/resources/templates/supplier-center/article/article-edit.html

@@ -2,7 +2,7 @@
 <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>
-    <title>采美365网-文章列表</title>
+    <title>采美365网-编辑文章</title>
     <template th:replace="components/head-link"></template>
     <link th:href="@{/css/base/center.css(v=${version})}" rel="stylesheet" type="text/css">
     <link th:if="${pageId==1026}" th:href="@{/css/base/form.css(v=${version})}" rel="stylesheet" type="text/css">
@@ -23,7 +23,7 @@
             <span>&gt;</span>
             <span>文章管理</span>
             <span>&gt;</span>
-            <span>添加文章</span>
+            <span>编辑文章</span>
         </div>
         <div class="wrap clear">
             <!--左侧导航-->