wangtao 5 місяців тому
батько
коміт
df8ce2e78d

+ 23 - 2
src/assets/styles/common/home.css

@@ -374,12 +374,17 @@
     -webkit-animation: none;
     opacity: 1;
 }
+.aboutOnlyText{
+    padding:20px 30px;
+}
+/* .aboutOnlyText p{
+    line-height:140px;
+} */
 
 @media (max-width: 1500px) {
     .video-section {
         overflow: hidden;
         width: 100%;
-        height: 100vh;
         background: black;
         position: relative;
     }
@@ -439,4 +444,20 @@
         top: 70%!important;
         left: 0!important
     }
-}
+}
+.banner-area{
+    height:400px;
+}
+/* .textIndent{
+    width:45%;
+    margin-left:1%;
+} */
+
+@media (max-width: 992px){
+    .banner-area{
+        height:100%;
+    }
+    .aboutImg{
+        margin-bottom:20px;
+    }
+}

+ 1 - 1
src/assets/styles/common/style.css

@@ -4176,7 +4176,7 @@
             }
             
             .product-grid-section .content .img img {
-                width: 80%
+                height:80%;
             }
             
             .product-grid-section {

+ 5 - 5
src/components/layout/banner.vue

@@ -25,15 +25,15 @@ if (typeof window !== 'undefined' && typeof window.globalThis.addEventListener =
 }
 </script>
 <template>
-    <div v-if="modelType==1" style="width:100%;height:100%;background-size:cover;background-position:center center;background-repeat:no-repeat;height:400px; "
-    :style="{backgroundImage:`url(${columnImage})`}">
+    <div v-if="modelType==1" style="width:100%;background-size:cover;background-position:center center;background-repeat:no-repeat;"
+    :style="{backgroundImage:`url(${columnImage})`}" class="banner-area">
     </div>
 
-    <video v-if="modelType ==2" webkit-playsinline="webkit-playsinline" playsinline  id="videoPlay" autoplay loop muted preload="auto" :poster="posterImg"
+    <!-- <video v-if="modelType ==2" webkit-playsinline="webkit-playsinline" playsinline  id="videoPlay" autoplay loop muted preload="auto" :poster="posterImg"
         style="width:100%;height:100%;object-fit:fill;" :src="columnImage">
         <source type="video/mp4">
-    </video>
-    <img v-if="modelType==3" :src="posterImg" alt="" class="posterImg">
+    </video> -->
+    <!-- <img v-if="modelType==3" :src="posterImg" alt="" class="posterImg"> -->
 </template>
 <style lang="scss">
 .common-bradcrumb-section{

+ 2 - 2
src/components/layout/footer.vue

@@ -40,7 +40,7 @@ setTimeout(()=>{
             </div>
         </div>
         <!-- copyright -->
-        <div class="copy-right-area ">
+        <!-- <div class="copy-right-area ">
             <div class="container ">
                 <div class="row copyrigt-text ">
                     <div class="col-lg-12 ">
@@ -59,7 +59,7 @@ setTimeout(()=>{
                     </div>
                 </div>
             </div>
-        </div>
+        </div> -->
     </footer>
 </template>
 <style lang="scss" scoped>

+ 2 - 2
src/views/index/index.vue

@@ -82,10 +82,10 @@ export default defineComponent({
                     <div class="row aboutOnlyText" v-if="arr.image" 
                         :style="{padding:(index % 2 == 1?'40px 25px':' 40px 25px')}"
                         style="background-color: #ffff;    box-shadow: 0px 10px 20px 10px rgb(179 202 216 / 20%); align-items:center">
-                        <div class="col-md-6  pr-40 aboutImg text-center ">
+                        <div class="col-md-6   aboutImg text-center ">
                             <img v-lazy="arr.image" alt="">
                         </div>
-                        <div class="col-md-6" v-html="arr.content">
+                        <div class="col-md-6 textIndent" v-html="arr.content">
                         </div>
                     </div>
         

+ 1 - 1
src/views/news2/index.vue

@@ -131,7 +131,7 @@ export default defineComponent({
             <div class="container">
                 <div style="display:flex" class="news2-box">
                     <div class=" news-left-list">
-                        <div class="title">新闻动态</div>
+                        <div class="title">热本岗位</div>
                         <ul>
                             <li  v-for="(item,index) in store.state.columnTypes" :key="index" style="display:flex">
                                 <img src="@/assets/img/news/arrow.svg" alt="" :style="{'opacity':item.id == store.state.acitveId?'1':'0'}" style="width:12px;margin-right:5px">