Browse Source

fix:三级页轮播图点击跳转、文章容器调整

tsz 2 years ago
parent
commit
61adc895fc

+ 4 - 0
src/web/staticres/site/page/industryInfo/css/index.css

@@ -204,6 +204,10 @@
   width: 370px;
 }
 .strate_c_list .strate_l_right .strate_l_r_title{
+  width: 100%;
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
   font-weight: 400;
   font-size: 15px;
   line-height: 24px;

+ 10 - 3
src/web/staticres/site/page/industryInfo/css/industry_content.css

@@ -42,11 +42,14 @@
 }
 .school_tabs .industry_info {
   position: relative;
-  height: 923px;
+  min-height: 923px;
   margin-bottom: 40px;
-  padding: 40px;
+  padding: 40px 40px 126px;
   background: #fff;
 }
+.industry_info .jyb_ddetail {
+  margin: 0 auto;
+}
 .industry_info .scroll_main{
   margin-top: 20px;
   height: 576px;
@@ -178,9 +181,10 @@
 .industry_info .btn_next{
   position: absolute;
   bottom: 40px;
+  height: 86px;
   display: flex;
   justify-content: center;
-  align-items: flex-start;
+  align-items: flex-end;
   margin-top: 50px;
   width: calc(100% - 40px); ;
   background: #fff;
@@ -279,6 +283,9 @@
   background-clip: text;
   text-fill-color: transparent;
 }
+.data_date{
+  padding-right: 4px;
+}
 .viewnum{
   margin-left: 36px;
 }

+ 4 - 0
src/web/staticres/site/page/jySchool/css/introduction.css

@@ -94,6 +94,10 @@
   width: 370px;
 }
 .strate_c_list .strate_l_right .strate_l_r_title{
+  width: 100%;
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
   font-weight: 400;
   font-size: 15px;
   line-height: 24px;

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

@@ -83,7 +83,7 @@
             </div>
             <ul class="module_content">
               <!-- 轮播 -->
-              <div class="swiper mySwiper swiper-initialized swiper-horizontal swiper-pointer-events swiper-backface-hidden" >
+              <div class="swiper mySwiper" >
                 <div class="swiper-wrapper" id="swiper-wrapper" aria-live="polite" style="transition-duration: 0ms; transform: translate3d(-3072px, 0px, 0px);">
                   {{range $k,$v :=  .T.rightData.course}}
                     <div class="swiper-slide" onclick="window.open('/jyxspc/courser-details?id={{$v._id}}')" role="group" style="width: 1536px;" aria-label="1">
@@ -174,6 +174,7 @@
     }
   }
   pageIndustry.init()
+  $('.mySwiper').removeClass('swiper-container-horizontal swiper-container-initialized')
 </script>
 
 {{include "/common/baiducc.html"}}

+ 2 - 2
src/web/templates/site/page/jyblogdetail.html

@@ -122,7 +122,7 @@
         <div class="real_time_info_module" style="margin-top:40px;">
           <div class="module_title">
             <span>热点资讯</span>
-            <span>MORE</span>
+            <span onclick="window.location.href='/industryInfo/index'">MORE</span>
           </div>
           <ul class="module_content">
           {{range $k,$v := .T.rightInfo.latestPush}}
@@ -137,7 +137,7 @@
         <div class="real_time_info_module">
           <div class="module_title">
             <span>热门文章</span>
-            <span>MORE</span>
+            <span onclick="window.location.href='/industryInfo/index'">MORE</span>
           </div>
           <ul class="module_content">
             {{range $k,$v := .T.rightInfo.randomExtraction}}