Merge branch 'master' of http://182.92.203.7:2001/r/modelLibrary
| | |
| | | <meta charset="UTF-8" /> |
| | | <link rel="icon" type="image/svg+xml" href="/vite.svg" /> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| | | <title>Vite</title> |
| | | <title>基于状态驱动的机构测试系统 |
| | | </title> |
| | | </head> |
| | | <body> |
| | | <div id="app"></div> |
| | |
| | | >{{ item.name }}</el-menu-item |
| | | > |
| | | </el-menu> |
| | | <div class="header-right"> |
| | | <div class="user-info" @click="handleUserClick"> |
| | | <el-avatar src="path/to/avatar.png"></el-avatar> |
| | | <span>用户名</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | activeIndex.value = path; |
| | | router.push(path); |
| | | }; |
| | | |
| | | const handleUserClick = () => { |
| | | router.push("/user/profile"); |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | |
| | | background-color: #fff; |
| | | color: #333; |
| | | line-height: 60px; |
| | | border-bottom: 1px solid #ebeef5; |
| | | } |
| | | |
| | | .el-main { |
| | |
| | | name: "Tom", |
| | | address: "No. 189, Grove St, Los Angeles", |
| | | }, |
| | | |
| | | |
| | | ]; |
| | | |
| | | const handleCurrentChange = (val: number) => { |
| | |
| | | .landerBox { |
| | | width: 100%; |
| | | height: 100%; |
| | | |
| | | |
| | | .landerTopBox { |
| | | display: flex; |
| | | justify-content: space-between; |
| | |
| | | box-sizing: border-box; |
| | | } |
| | | .landerContentBox { |
| | | width: 100%; |
| | | max-height: calc(100% - 120px); |
| | | padding: 0 10px; |
| | | box-sizing: border-box; |
| | | |
| | | .landerTable { |
| | | height: 750px; |
| | | } |
| | |
| | | justify-content: flex-end; |
| | | padding: 0 20px; |
| | | background-color: #fff; |
| | | |
| | | } |
| | | } |
| | | </style> |
| | |
| | | } |
| | | .roverContentBox { |
| | | max-height: calc(100% - 120px); |
| | | padding: 0 10px; |
| | | box-sizing: border-box; |
| | | |
| | | .roverTable { |
| | | height: 750px; |