ソースを参照

热门城市调整

anderx 3 年 前
コミット
6f06cf578f
共有2 個のファイルを変更した3 個の追加5 個の削除を含む
  1. 1 3
      kede-web-hn.iml
  2. 2 2
      src/main/webapp/WEB-INF/views/common.html

+ 1 - 3
kede-web-hn.iml

@@ -28,9 +28,7 @@
       </configuration>
     </facet>
   </component>
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
-    <output url="file://$MODULE_DIR$/target/classes" />
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="true">
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />

+ 2 - 2
src/main/webapp/WEB-INF/views/common.html

@@ -481,12 +481,12 @@
                 <div class="line02"></div>
             </div>
 <!--    热门城市 -->
-            <div style="display: flex;margin-top: 10px;align-items: center">
+            <div style="display: flex;margin-top: 10px;align-items: unset">
                 <div class="down_left">
                     <p style="text-align: center;font-size: 17px;width: 80px">热门城市</p>
                 </div>
                 <div style="color:#7E7F7F;margin-bottom: 9px;">
-                    <div style="overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;width: 60vw;">
+                    <div style="overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;width: 60vw;height: 60px">
                         <!--                <div class="swiper-slide links" style="display:flex" >-->
                         <span class="spanLink" th:each="city:${popularCities}" style="padding: 0 4px;display: inline-block">
                         <a style="color:#7E7F7F;font-size: 12px;" th:href="${city.url}" ><span th:text="${city.name}"></span></a>