Просмотр исходного кода

【我的作品】预览iframe里去掉logo

任一存 4 лет назад
Родитель
Сommit
08e3c045e7
2 измененных файлов с 0 добавлено и 38 удалено
  1. 0 14
      src/framework/show/index.vue
  2. 0 24
      src/framework/showMobile/index.vue

+ 0 - 14
src/framework/show/index.vue

@@ -5,10 +5,6 @@
       :src="`/spc.html?m=${activeItem.sceneCode}`" frameborder="0"></iframe>
       <div v-show="activeItem.type!='4dkk'" id="pano"></div>
 
-      <div class="pano-logo" v-if="showInfo.isLogo&&activeItem.type!='4dkk'">
-        <img :src="showInfo.logo||require('@/assets/images/default/img_logoshow@2x.png')" alt="" />
-      </div>
-
       <div
         class="oper-tips"
         :class="{ hidetips: !showTips }"
@@ -402,16 +398,6 @@ export default {
     width: 100%;
     height: 100%;
   }
-  .pano-logo {
-    position: absolute;
-    top: 20px;
-    left: 20px;
-    > img {
-      max-width: 120px;
-      max-height: 100px;
-      pointer-events: none;
-    }
-  }
 
   .oper-tips {
     position: absolute;

+ 0 - 24
src/framework/showMobile/index.vue

@@ -7,19 +7,6 @@
       />
       <div v-show="activeItem.type != '4dkk'" id="pano"></div>
 
-      <div
-        class="pano-logo"
-        v-if="showInfo.isLogo && activeItem.type != '4dkk'"
-      >
-        <img
-          :src="
-            showInfo.logo ||
-            require('@/assets/images/default/img_logoshow@2x.png')
-          "
-          alt=""
-        />
-      </div>
-
       <list
         v-if="canLoad&&!isVR"
         @select="handleSelect"
@@ -492,17 +479,6 @@ export default {
     }
   }
 
-  .pano-logo {
-    position: absolute;
-    top: 10px;
-    left: 10px;
-    > img {
-      max-width: 80px;
-      max-height: 80px;
-      pointer-events: none;
-    }
-  }
-
   .oper-tips {
     position: absolute;
     top: 40%;