|
@@ -33,12 +33,20 @@
|
|
class="information-iframe"
|
|
class="information-iframe"
|
|
src="https://mp.weixin.qq.com/s/QwHolJk74zp_y9EQ8k3ETw"
|
|
src="https://mp.weixin.qq.com/s/QwHolJk74zp_y9EQ8k3ETw"
|
|
/> -->
|
|
/> -->
|
|
|
|
+ <VideoPopup
|
|
|
|
+ v-model:visible="videoVisible"
|
|
|
|
+ :url="checkedItem?.video"
|
|
|
|
+ :title="checkedItem?.title"
|
|
|
|
+ />
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
import { ref } from "vue";
|
|
import { ref } from "vue";
|
|
import { data } from "@syjy/base/information";
|
|
import { data } from "@syjy/base/information";
|
|
|
|
+import VideoPopup from "@/components/VideoPopup/index.vue";
|
|
|
|
|
|
|
|
+const videoVisible = ref(false);
|
|
|
|
+const checkedItem = ref(null);
|
|
// const showIframe = ref(true);
|
|
// const showIframe = ref(true);
|
|
|
|
|
|
// const getURL = (url) => {
|
|
// const getURL = (url) => {
|
|
@@ -56,6 +64,13 @@ import { data } from "@syjy/base/information";
|
|
// };
|
|
// };
|
|
|
|
|
|
const handleClick = (item) => {
|
|
const handleClick = (item) => {
|
|
|
|
+ if (item.video) {
|
|
|
|
+ // 视频链接
|
|
|
|
+ checkedItem.value = item;
|
|
|
|
+ videoVisible.value = true;
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
location.href = item.url;
|
|
location.href = item.url;
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|