vue实现一个家族族谱树形树状管理系统代码
代码语言:html
所属分类:其他
代码描述:vue实现一个家族族谱树形树状管理系统代码
代码标签: vue 家族 族谱 树形 树状 管理 系统 代码
下面为部分代码预览,完整代码请点击下载或在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>云上家谱 - Family Tree</title> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/vue.global.prod.3.5.17.js"></script> <style> /* --- 全局与古朴风格设定 --- */ :root { --bg-color: #fdfaf2; /* 宣纸/羊皮纸背景色 */ --text-color: #4d4137; /* 深棕褐色文字 */ --primary-color: #c9a87c; /* 暗金色,用于高亮和边框 */ --secondary-color: #a87b5a; /* 稍深的棕色 */ --accent-color: #9f3d3d; /* 朱红色,用于重要按钮 */ --border-color: #e0d8c9; /* 浅边框色 */ --font-family: "Songti SC", "SimSun", "STSong", "FangSong", serif; /* 优先使用宋体/仿宋 */ } body { font-family: var(--font-family); background-color: var(--bg-color); background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cg fill-rule="evenodd"%3E%3Cg fill="%23e0d8c9" fill-opacity="0.1"%3E%3Cpath opacity=".5" d="M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h16a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1h9a1 1 0 0 1 1 1h9a1 1 0 0 1 1 1h9a1 1 0 0 1 1 1h9a1 1 0 0 1 1 1h9a1 1 0 0 1 1 1h9a1 1 0 0 1 1 1h9a1 1 0 0 1 1 1v95h-4v-4h-1v4h-9v-4h-1v4h-9v-4h-1v4h-9v-4h-1v4h-9v-4h-1v4h-9v-4h-1v4h-9v-4h-1v4h-9v-4h-1v-4h-15v9h-1v-9h-15v9h-1v-9h-15v9h-1v-9h-15v9h-1v-9h-15v9h-1v-9h-15v9Z"/%3E%3Cpath d="M6 5V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h9V0h1v5h15v1H0v-1h6Zm9 9V5h1v9h9V5h1v9h9V5h1v9h9V5h1v9h9V5h1v9h9V5h1v9h9V5h1v9h15v1H0v-1h15Zm9 9V14h1v9h9V14h1v9h9V14h1v9h9V14h1v9h9V14h1v9h9V14h1v9h9V14h1v9h15v1H0v-1h24Zm9 9V23h1v9h9V23h1v9h9V23h1v9h9V23h1v9h9V23h1v9h9V23h1v9h9V23h1v9h15v1H0v-1h33Zm9 9V32h1v9h9V32h1v9h9V32h1v9h9V32h1v9h9V32h1v9h9V32h1v9h9V32h1v9h15v1H0v-1h42Zm9 9V41h1v9h9V41h1v9h9V41h1v9h9V41h1v9h9V41h1v9h9V41h1v9h9V41h1v9h15v1H0v-1h51Zm9 9V50h1v9h9V50h1v9h9V50h1v9h9V50h1v9h9V50h1v9h9V50h1v9h9V50h1v9h15v1H0v-1h60Zm9 9V59h1v9h9V59h1v9h9V59h1v9h9V59h1v9h9V59h1v9h9V59h1v9h9V59h1v9h15v1H0v-1h69Zm9 9V68h1v9h9V68h1v9h9V68h1v9h9V68h1v9h9V68h1v9h9V68h1v9h9V68h1v9h15v1H0v-1h78Zm9 9V77h1v9h9V77h1v9h9V77h1v9h9V77h1v9h9V77h1v9h9V77h1v9h9V77h1v9h15v1H0v-1h87Zm9 9V86h1v9h9V86h1v9h9V86h1v9h9V86h1v9h9V86h1v9h9V86h1v9h9V86h1v9h15v1H0v-1h96Z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E'); color: var(--text-color); margin: 0; padding: 2rem; box-sizing: border-box; line-height: 1.8; min-height: 100vh; } #app { max-width: 1200px; margin: 0 auto; transition: filter 0.3s; } #app.modal-open { filter: blur(5px); } /* --- 头部标题 --- */ .header { text-align: center; margin-bottom: 2rem; } .header h1 { font-size: 2.8rem; font-weight: 500; color: var(--text-color); margin: 0; letter-spacing: 0.2rem; } .header p { font-size: 1.1rem; color: var(--secondary-color); margin-top: 0.5rem; } /* --- 按钮通用样式 --- */ .btn { padding: 0.6rem 1.2rem; border: 1px solid var(--primary-color); border-radius: 8px; background-color: transparent; color: var(--secondary-color); font-family: var(--font-family); .........完整代码请登录后点击上方下载按钮下载查看
网友评论0