tremble 3 年 前
コミット
fedd1f524f
1 ファイル変更4 行追加2 行削除
  1. 4 2
      src/framework/showMobile/index.vue

+ 4 - 2
src/framework/showMobile/index.vue

@@ -31,12 +31,12 @@
         <img :src="showInfo.appIcon || require('@/assets/images/default/show/img_tipsmb_default.png')" alt="" />
         <img :src="showInfo.appIcon || require('@/assets/images/default/show/img_tipsmb_default.png')" alt="" />
       </div>
       </div>
       <password :bg="showInfo.icon" :show="showPassword" @submit="handlePassword" @close="showPassword = false" />
       <password :bg="showInfo.icon" :show="showPassword" @submit="handlePassword" @close="showPassword = false" />
-      <popup :title="'简介'" :show="showIntro" @close="showIntro = false">
+      <popup :title="'简介'" :show="showIntro" @close="showIntro = false,currentHotspot=''">
         <div slot="content" class="introcon">
         <div slot="content" class="introcon">
           <span>{{ showInfo.description || "暂无简介" }}</span>
           <span>{{ showInfo.description || "暂无简介" }}</span>
         </div>
         </div>
       </popup>
       </popup>
-      <imgview @close="showImage = false" v-if="showImage" :image="currentHotspot.image" />
+      <imgview @close="showImage = false,currentHotspot=''" v-if="showImage" :image="currentHotspot.image" />
 
 
       <preview :item="currentHotspot" :show="showPreview" @close="showPreview = false,currentHotspot=''" />
       <preview :item="currentHotspot" :show="showPreview" @close="showPreview = false,currentHotspot=''" />
 
 
@@ -314,6 +314,7 @@ export default {
           this.audioUrl = "";
           this.audioUrl = "";
           if (newVal.hotspotType == "link") {
           if (newVal.hotspotType == "link") {
             window.open(newVal.hyperlink, "_blank");
             window.open(newVal.hyperlink, "_blank");
+            this.currentHotspot=''
             return;
             return;
           }
           }
           if (newVal.hotspotType == "scene") {
           if (newVal.hotspotType == "scene") {
@@ -330,6 +331,7 @@ export default {
           }
           }
           if (newVal.hotspotType == "audio") {
           if (newVal.hotspotType == "audio") {
             this.audioUrl = newVal;
             this.audioUrl = newVal;
+            this.currentHotspot=''
             return;
             return;
           }
           }