feat: 新增页面布局

This commit is contained in:
duanshuwen
2025-12-01 22:16:34 +08:00
parent edd8b939d3
commit ae19c6c551
13 changed files with 174 additions and 16 deletions

View File

@@ -1,18 +1,11 @@
<template>
<div class="home">
<h2 class="text-2xl font-bold mb-4">欢迎使用智念科技 AI</h2>
<div class="bg-white p-6">
<button
class="bg-blue-300 hover:bg-blue-500 text-white px-4 py-2 rounded mr-2"
@click="openBaidu"
>
打开百度
</button>
</div>
</div>
<Layout>
</Layout>
</template>
<script setup lang="ts">
const openBaidu = () => {
(window as any).ipcAPI?.openBaidu()