浏览代码

fix:样式调整

tsz 2 年之前
父节点
当前提交
ee371afa67

+ 6 - 0
src/web/staticres/site/page/industryInfo/css/industry_detail.css

@@ -2,6 +2,11 @@
   width: 1200px;
   width: 1200px;
   margin: 0 auto;
   margin: 0 auto;
 }
 }
+.ellipsis {
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
+}
 .ellipsis-2 {
 .ellipsis-2 {
   overflow: hidden;
   overflow: hidden;
   text-overflow: ellipsis;
   text-overflow: ellipsis;
@@ -176,6 +181,7 @@
   /* width: 530px; */
   /* width: 530px; */
 }
 }
 .school_tabs .art_list .art_l_left .art_l_l_title{
 .school_tabs .art_list .art_l_left .art_l_l_title{
+  width: 530px;
   font-weight: 400;
   font-weight: 400;
   font-size: 20px;
   font-size: 20px;
   line-height: 30px;
   line-height: 30px;

+ 2 - 2
src/web/templates/site/page/jySchool/class.html

@@ -14,7 +14,7 @@
   <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}' />
   <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}' />
   <link href='{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}' rel="stylesheet">
   <link href='{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}' rel="stylesheet">
   <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/css/swiper.min.css?v={{Msg "seo" "version"}}'>
   <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/css/swiper.min.css?v={{Msg "seo" "version"}}'>
-  <link href='{{Msg "seo" "cdn"}}/frontRouter/pc/industryInfo/css/industry_detail.css?v={{Msg "seo" "version"}}' rel="stylesheet">
+  <link href='{{Msg "seo" "cdn"}}/site/page/industryInfo/css/industry_detail.css?v={{Msg "seo" "version"}}' rel="stylesheet">
   <link href="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/theme-chalk/index.css" rel="stylesheet" />
   <link href="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/theme-chalk/index.css" rel="stylesheet" />
   <link href='{{Msg "seo" "cdn"}}/site/common/css/paging.css?v={{Msg "seo" "version"}}' rel="stylesheet">
   <link href='{{Msg "seo" "cdn"}}/site/common/css/paging.css?v={{Msg "seo" "version"}}' rel="stylesheet">
   </head>
   </head>
@@ -55,7 +55,7 @@
               {{range $k,$v := .T.list}}
               {{range $k,$v := .T.list}}
               <div class="art_list">
               <div class="art_list">
                 <div class="art_l_left">
                 <div class="art_l_left">
-                  <div class="art_l_l_title" onclick="window.location.href='/jySite/{{$v._id}}.html'">
+                  <div class="art_l_l_title ellipsis" onclick="window.location.href='/jySite/{{$v._id}}.html'">
                     {{$v.s_title}}
                     {{$v.s_title}}
                   </div>
                   </div>
                   <div class="art_l_l_content">
                   <div class="art_l_l_content">