litian
2025-03-18 e741b70fc22dc65e4a40595c50bb9057bed15667
Merge branch 'master' of http://182.92.203.7:2001/r/modelLibrary
5个文件已修改
23 ■■■■ 已修改文件
index.html 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/header.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/styles/global.less 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/model/children/landerModel.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/model/children/roverModel.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
index.html
@@ -4,7 +4,8 @@
    <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>
src/layout/components/header.vue
@@ -21,6 +21,12 @@
        >{{ 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>
@@ -50,6 +56,10 @@
  activeIndex.value = path;
  router.push(path);
};
const handleUserClick = () => {
  router.push("/user/profile");
};
</script>
<style lang="less" scoped>
src/styles/global.less
@@ -140,6 +140,7 @@
  background-color: #fff;
  color: #333;
  line-height: 60px;
  border-bottom: 1px solid #ebeef5;
}
.el-main {
src/views/model/children/landerModel.vue
@@ -104,8 +104,6 @@
    name: "Tom",
    address: "No. 189, Grove St, Los Angeles",
  },
];
const handleCurrentChange = (val: number) => {
@@ -131,8 +129,10 @@
    box-sizing: border-box;
  }
  .landerContentBox {
    width: 100%;
    max-height: calc(100% - 120px);
    padding: 0 10px;
    box-sizing: border-box;
    .landerTable {
      height: 750px;
    }
@@ -143,7 +143,6 @@
    justify-content: flex-end;
    padding: 0 20px;
    background-color: #fff;
  }
}
</style>
src/views/model/children/roverModel.vue
@@ -215,6 +215,8 @@
  }
  .roverContentBox {
    max-height: calc(100% - 120px);
    padding: 0 10px;
    box-sizing: border-box;
    .roverTable {
      height: 750px;