Commit 7f9b040f by lijinqi

Merge remote-tracking branch 'origin/develop' into develop

parents b4c0e8fd be0697f1
......@@ -30,7 +30,9 @@
<p class="info">{{ i.information }}</p>
<div class="btn-box">
<button aria-disabled="false" type="button"
class="el-button el-button--default is-plain">
class="el-button el-button--default is-plain"
@click="goToDetail(i)"
>
<span class="">了解详情</span>
</button>
</div>
......@@ -217,6 +219,17 @@ const infoList = ref([])
const infoBottomList = ref([])
const router = useRouter()
// 跳转处理函数
const goToDetail = (item) => {
if (!item.url) {
console.warn('当前资源没有跳转链接', item);
return;
}
window.open(item.url, '_blank');
};
function updateHeight() {
// 根据窗口宽度计算高度
const width = window.innerWidth;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment