Ver Fonte

测试3

chao há 4 anos atrás
pai
commit
d87ea2584b

+ 1 - 0
src/main/java/com/caimei/www/service/generate/impl/GenerateHtmlImpl.java

@@ -75,6 +75,7 @@ public class GenerateHtmlImpl implements GenerateHtml {
             log.info("[静态页服务]:生成静态首页成功! ^_^");
             return "[静态页服务]:生成静态首页成功! ^_^";
         } catch (Exception e) {
+            boolean delete = dest.delete();
             log.error("[静态页服务]:生成静态首页异常!", e);
             return "[静态页服务]:生成静态首页异常!"+e.toString();
         }

+ 1 - 1
src/main/resources/static/css/index/index_new.pc.css

@@ -85,7 +85,7 @@ li{list-style:none;}
 /*右边区域*/
 .section_right{width:284px;float:right;box-sizing:border-box;padding-top:103px}
 .section_right .section_right_item{width:100%;height:auto;background-color:#FFFFFF;float:left;margin-bottom:16px;padding:16px;box-sizing:border-box;border-radius:2px}
-.section_right .section_right_item.fixed{position:fixed;top:20px;width:284px;}
+.section_right .section_right_item.fixed{position:fixed;top:200px;width:284px;}
 .section_right .right_item_title{width:100%;height:22px;line-height:22px;float:left;margin-bottom:8px}
 .section_right .right_item_title p{float:left;font-size:16px;font-weight:bold;color:#4a4f58;text-align:left}
 .section_right .right_item_title a{display:inline-block;float:right;font-size:12px;color:#909090;text-align:right}

+ 3 - 3
src/main/resources/templates/index.html

@@ -42,7 +42,7 @@
                         <div class="right_item_title">
                             <p>精彩直播</p>
                             <a href="https://wx.vzan.com/plug-ins/?v=637429463853329710#/FixupIndex/399803126?shareuid=0" target="_blank">
-                                <template v-if="isPC">&gt;更多</template><template v-else>&gt;</template>
+                                <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
                             </a>
                         </div>
                         <div class="right_item_main" th:each="live,stat : ${sideJson.get('liveList')}" th:object="${live}">
@@ -64,7 +64,7 @@
                         <div class="right_item_title">
                             <p>最新活动</p>
                             <a href="https://www.caimei365.com/promotions.html" target="_blank">
-                                <template v-if="isPC">&gt;更多</template><template v-else>&gt;</template>
+                                <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
                             </a>
                         </div>
                         <div class="right_item_main" th:each="image,stat : ${sideJson.get('cmImageList')}" th:object="${image}">
@@ -81,7 +81,7 @@
                         <div class="right_item_title">
                             <p>热门文章</p>
                             <a href="https://www.caimei365.com/info/center-3-1.html" target="_blank">
-                                <template v-if="isPC">&gt;更多</template><template v-else>&gt;</template>
+                                <template v-if="isPC">更多&gt;</template><template v-else>&gt;</template>
                             </a>
                         </div>
                         <div class="right_item_main" th:each="info,stat : ${sideJson.get('infoList')}" th:object="${info}">

BIN
target/www-0.0.1-SNAPSHOT.jar