superHD il y a 7 mois
Parent
commit
595beb97ca
2 fichiers modifiés avec 41 ajouts et 13 suppressions
  1. 36 13
      cokingCoal/hr.html
  2. 5 0
      cokingCoal/styles/humanResources.css

+ 36 - 13
cokingCoal/hr.html

@@ -39,7 +39,7 @@
                   <!-- <div :class="classChange?'item_content_6':'item_content_6_false'"> -->
                   <dv-scroll-board
                     id="itemContent"
-                    :config="config1"
+                    :config="config3"
                     v-if="isShowInfoList"
                     @scroll-change="scrollChange"
                     style="width: 100%; height: 100%"
@@ -97,22 +97,44 @@
               </div>
               <div class="main_item" v-if="rollFlag" ref="father">
                 <p class="item_title">{{ rollTitle }}</p>
-                <div class="item" v-if="rollFlag && scrollType" ref="child">
-                  <div
-                    class="item_con"
-                    v-for="(item,index) in recruitInfoList[recruitInfoIndex]"
-                  >
-                    <span class="note_title" v-if="item.title != ''"
-                      >{{ item.title }}</span
+                <!-- :style="{position: 'relative', 'z-index': scrollType === 0 ? 0 : '-99999';}" -->
+                <div style="position: fixed;z-index: -99999" v-resize="handleResize">
+                  <div ref="displayNone"  class="item" v-if="rollFlag && config1.data[recruitInfoIndex][6] === 1">
+                    <div
+                      class="item_con"
+                      v-for="(item,index) in recruitInfoList[recruitInfoIndex]"
                     >
-                    <!-- <span>{{ handleBR(item.content) }}</span> -->
-                    <span class="note_info" v-for="(i,z) in item.infos">
-                      {{ i }}
-                    </span>
+                      <span class="note_title" v-if="item.title != ''"
+                        >{{ item.title }}</span
+                      >
+                      <span class="note_info" v-for="(i,z) in item.infos">
+                        {{ i }}
+                      </span>
+                    </div>
                   </div>
+                  <div ref="displayNone"  class="item item-html" v-if="rollFlag && config1.data[recruitInfoIndex][6] === 0" style="color: #fff;" v-html="config1.data[recruitInfoIndex][5]"></div>
+                </div>
+                <div class="item" v-if="rollFlag && scrollType === 1" ref="child">
+                  <template v-if="config1.data[recruitInfoIndex][6] === 1">
+                    <div
+                      class="item_con"
+                      v-for="(item,index) in recruitInfoList[recruitInfoIndex]"
+                    >
+                      <span class="note_title" v-if="item.title != ''"
+                        >{{ item.title }}</span
+                      >
+                      <!-- <span>{{ handleBR(item.content) }}</span> -->
+                      <span class="note_info" v-for="(i,z) in item.infos">
+                        {{ i }}
+                      </span>
+                    </div>
+                  </template>
+                  <template v-if="config1.data[recruitInfoIndex][6] === 0">
+                    <div class="item-html" v-html="config1.data[recruitInfoIndex][5]" style="color: #fff;"></div>
+                  </template>
                 </div>
                 <vue-seamless-scroll :data="listData" class="warp" v-else>
-                  <div class="item" v-if="rollFlag">
+                  <div class="item" v-if="rollFlag && config1.data[recruitInfoIndex][6] === 1">
                     <div
                       class="item_con"
                       v-for="(item,index) in recruitInfoList[recruitInfoIndex]"
@@ -126,6 +148,7 @@
                       </span>
                     </div>
                   </div>
+                  <div class="item-html" v-if="rollFlag && config1.data[recruitInfoIndex][6] === 0" style="color: #fff;" v-html="config1.data[recruitInfoIndex][5]"></div>
                 </vue-seamless-scroll>
               </div>
             </div>

+ 5 - 0
cokingCoal/styles/humanResources.css

@@ -678,6 +678,11 @@ li {
     align-items: flex-start;
     /* letter-spacing: 9px; */
 }
+.item-html span, .item-html p,
+.item-html i{
+    color: #fff !important;
+    background: unset !important;
+}
 
 .item_con .note_title {
     font-size: 26px;