Browse Source

红色移风预览PDF文件

master
mk 8 months ago
parent
commit
d5428389b0
  1. BIN
      public/pdf/1.pdf
  2. BIN
      public/pdf/2.pdf
  3. BIN
      public/pdf/3.pdf
  4. 23
      src/views/next/dialog-module/hsyf-left/company/attractions.vue

BIN
public/pdf/1.pdf

Binary file not shown.

BIN
public/pdf/2.pdf

Binary file not shown.

BIN
public/pdf/3.pdf

Binary file not shown.

23
src/views/next/dialog-module/hsyf-left/company/attractions.vue

@ -100,7 +100,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="content-right"> <div class="content-right" v-if="!showPDF">
<div v-html="info.description"></div> <div v-html="info.description"></div>
<div v-if="currentId == '1772865242670997506'"> <div v-if="currentId == '1772865242670997506'">
<video <video
@ -125,6 +125,9 @@
></video> ></video>
</div> </div>
</div> </div>
<div class="content-right" v-else>
<iframe :src="`/pdf/${pdfFile}.pdf`" width="100%" height="100%"></iframe>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -261,6 +264,8 @@ export default {
loading: false, loading: false,
openVisable: true, openVisable: true,
openVisable2:true, openVisable2:true,
showPDF:false,
pdfFile:'1'
} }
}, },
computed: { computed: {
@ -399,11 +404,19 @@ export default {
this.videoStatus = 'pause' this.videoStatus = 'pause'
}, },
onDatils (item) { onDatils (item) {
if(item.children){ console.log(item);
this.openId2 = item.id if(item.id === "1798609016114339841" || item.id === "1798609357530685442" || item.id === "1798609630856699905"){
this.openMene(item) this.showPDF = true;
return this.pdfFile = item.id === "1798609016114339841"?1:item.id === "1798609357530685442"?2:3
}else{
this.showPDF = false;
if(item.children){
this.openId2 = item.id
this.openMene(item)
return
}
} }
this.currentId = item.id; this.currentId = item.id;
this.selectPartyPlaceDetail() this.selectPartyPlaceDetail()
} }

Loading…
Cancel
Save