Browse Source

9.7 资源包样式修改

bding 2 years ago
parent
commit
6b537f41c6
1 changed files with 10 additions and 4 deletions
  1. 10 4
      reportPages/IndustryReport/IndustryReport.vue

+ 10 - 4
reportPages/IndustryReport/IndustryReport.vue

@@ -1,9 +1,15 @@
 <template>
   <view class="container industry-content" id="industry-content">
     <view v-if="haveData">
+      <is-track-follow
+        style="z-index: 100"
+        :isShowFollowButton.sync="dataFollow.IsShowFollowButton"
+        source="resources"
+        :sourceId="industrialManagementId"
+        :isFollowData.sync="dataFollow.IsFollowButton"
+      />
       <view class="content-top">
-        <view :class="['top-bg']">
-          <is-track-follow :isShowFollowButton.sync="dataFollow.IsShowFollowButton" source="resources" :sourceId="industrialManagementId" :isFollowData.sync="dataFollow.IsFollowButton" />
+        <view class="top-bg" :style="{ top: dataFollow.IsShowFollowButton ? '60rpx' : 0 }">
           <!-- 详情封面图 -->
           <image :src="industryVideo.DetailImgUrl" class="industry-video-poster" v-show="industryVideo.Id && industryVideo.DetailImgUrl && !havePlayed" @click="handelVideoPlay"></image>
           <!-- 视频 -->
@@ -424,7 +430,7 @@ export default {
     top: 0;
     left: 0;
     width: 100%;
-    z-index: 100;
+    z-index: 90;
     background-color: white;
     text-align: center;
     .industry-video-poster {
@@ -465,7 +471,7 @@ export default {
 
     top: 99rpx;
     left: 0;
-    z-index: 100;
+    z-index: 90;
   }
 
   .top-tab-cont {