提交 e981353f authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 15dae52e
<script setup lang="ts">
import { HomeFilled, Select, UploadFilled, FullScreen } from '@element-plus/icons-vue'
const LAB_URL = import.meta.env.VITE_LAB_URL
let iframeKey = $ref(Date.now())
// 返回首页
function handleBackHome() {
iframeKey = Date.now()
}
</script>
<template>
<section class="lab">
<div class="lab-left"></div>
<div class="lab-right">
<AppCard>
<el-button type="primary">返回首页</el-button>
<el-button type="primary">提交</el-button>
<el-button type="primary">上传报告</el-button>
<el-button type="primary">截图</el-button>
<el-row justify="space-between">
<el-button type="primary" :icon="HomeFilled" @click="handleBackHome">返回首页</el-button>
<div>
<el-button type="primary" :icon="Select">提交</el-button>
<el-button type="primary" :icon="UploadFilled">上传报告</el-button>
<el-button type="primary" :icon="FullScreen">截图</el-button>
</div>
</el-row>
</AppCard>
<AppCard>
<iframe
src="https://digitalmarketinglab.ezijing.com"
frameborder="0"
style="width: 100%; height: 70vh"
></iframe>
<iframe :src="LAB_URL" :key="iframeKey" frameborder="0" style="width: 100%; height: 70vh"></iframe>
</AppCard>
</div>
</section>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论