vue实现多种ai模型生成的html代码多iframe预览排列对比与幻灯片切换代码
代码语言:html
所属分类:其他
代码描述:vue实现多种ai模型生成的html代码多iframe预览排列对比与幻灯片切换代码
代码标签: vue 多种 ai 模型 html 代码 多 iframe 预览 排列 对比 幻灯片 切换 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI 代码多路预览工作台 - 幻灯片版</title>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Vue 3 -->
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
bgDark: '#0f1115',
panelDark: '#161b22',
borderDark: '#30363d',
cyan: '#00fff5',
cyanGlow: 'rgba(0, 255, 245, 0.15)',
purple: '#4a5fe3',
textMain: '#c9d1d9',
textDim: '#8b949e'
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'fade-in': 'fadeIn 0.5s ease-in-out',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'scale(0.98)' },
'100%': { opacity: '1', transform: 'scale(1)' }
}
}
}
}
}
</script>
<style>
body {
background-color: #0f1115;
color: #c9d1d9;
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
[v-cloak] { display: none; }
/* 自定义滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0d1117; }
::-webkit-scrollbar-thumb { background: #30363d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #484f58; }
/* 霓虹边框 */
.neon-border {
border: 1px solid #30363d;
box-shadow: 0 0 10px rgba(0, 255, 245, 0.05);
position: relative;
background: #161b22;
}
.neon-border::before {
content: '';
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1px;
background: linear-gradient(45deg, transparent, #00fff5, transparent);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
opacity: 0.5;
}
/* 输入框样式 */
.cyber-input {
background: #0d1117;
border: 1px solid #30363d;
color: #00fff5;
font-family: 'Consolas', monospace;
transition: all 0.2s;
}
.cyber-input:focus {
border-color: #00fff5;
box-shadow: 0 0 8px rgba(0, 255, 245, 0.2.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0