diff --git a/web/src/commonData/i18n/common/en.json b/web/src/commonData/i18n/common/en.json index 4cdf41d22b..6a2dd9bd63 100644 --- a/web/src/commonData/i18n/common/en.json +++ b/web/src/commonData/i18n/common/en.json @@ -103,6 +103,32 @@ "deleteWtss": "Delete the scheduler project at the same time?", "noData": "No data please add" }, + "workspace": { + "createWorkspace": "Create Workspace", + "searchWorkspace": "Search Workspace", + "workspaceList": "Workspace List", + "editWorkspace": "Edit", + "newWorkspace": "New Workspace", + "editor": "Edit Workspace", + "workName": "Name", + "department": "Department", + "selectDepartment": "Please Select Department", + "label": "Label", + "addLabel": "Add Label", + "description": "Description", + "pleaseInputWorkspaceDesc": "Please Input Workspace Description", + "createdSuccess": "Successfully created!", + "createdFailed": "Created failed!", + "display": "Display", + "tableDisplay": "Table", + "cardDisplay": "Card", + "createTime": "CreateTime" + }, + "GLY": { + "ALTY": "Demos", + "KSRM": "Quick Start", + "HYP": "Change" + }, "workflow": { "workflow": "Workflow", "createWorkflow": "Create workflow", diff --git a/web/src/commonData/i18n/common/zh.json b/web/src/commonData/i18n/common/zh.json index 1328e2b322..c0502a2fe4 100644 --- a/web/src/commonData/i18n/common/zh.json +++ b/web/src/commonData/i18n/common/zh.json @@ -17,7 +17,8 @@ "nameLength": "名称长度不能大于", "validNameDesc": "必须以字母开头,且只支持字母、数字、下划线", "project": "工程", - "feedback": "反馈" + "feedback": "反馈", + "validNameExist": "名称不能重复" }, "project": { "projectName": "工程名", @@ -103,6 +104,32 @@ "deleteWtss": "是否同时删除scheduler工程?", "noData": "暂无数据请添加" }, + "workspace": { + "createWorkspace": "创建工作空间", + "searchWorkspace": "搜索工作空间", + "workspaceList": "工作空间列表", + "editWorkspace": "编辑", + "newWorkspace": "新建工作空间", + "editor": "编辑工作空间", + "workName": "工作空间名", + "department": "归属部门", + "selectDepartment": "请选择部门", + "label": "标签", + "addLabel": "添加标签", + "description": "描述", + "pleaseInputWorkspaceDesc": "请输入工作空间描述", + "createdSuccess": "工作空间创建成功!", + "createdFailed": "工作空间创建失败!", + "display": "展示方式", + "tableDisplay": "列表展示", + "cardDisplay": "图标展示", + "createTime": "创建时间" + }, + "GLY": { + "ALTY": "案例体验", + "KSRM": "快速入门", + "HYP": "换一批" + }, "workflow": { "workflow": "工作流", "createWorkflow": "创建工作流", diff --git a/web/src/js/component/vue-process/style/index.scss b/web/src/js/component/vue-process/style/index.scss index bd2cbbc500..bf7ea68d15 100644 --- a/web/src/js/component/vue-process/style/index.scss +++ b/web/src/js/component/vue-process/style/index.scss @@ -400,7 +400,7 @@ $mask-color: rgba(55, 55, 55, .6); .designer-control-header { background: #5c5c5c; - background-image: linear-gradient(top, #5c5c5c, #3e3e3e); + background-image: linear-gradient(to top, #5c5c5c, #3e3e3e); height: 8px; border-left: 1px solid #5c5c5c; border-right: 1px solid #5c5c5c; diff --git a/web/src/js/service/router.js b/web/src/js/service/router.js index 6a6697cc74..15456a21ea 100644 --- a/web/src/js/service/router.js +++ b/web/src/js/service/router.js @@ -29,13 +29,22 @@ const router = new VueRouter({ { path: '', name: 'layout', - redirect: '/project', + redirect: '/newhome', component: Layout, meta: { title: 'DataSphere Studio', publicPage: true, // 权限公开 }, children: [ + { + path: 'newhome', + name: 'Newhome', + meta: { + title: 'DataSphere Studio', + publicPage: true, + }, + component: () => import('../view/newhome/index.vue'), + }, { path: 'home', name: 'Home', diff --git a/web/src/js/view/newhome/images/workspace.png b/web/src/js/view/newhome/images/workspace.png new file mode 100644 index 0000000000..c2f5022344 Binary files /dev/null and b/web/src/js/view/newhome/images/workspace.png differ diff --git a/web/src/js/view/newhome/index.vue b/web/src/js/view/newhome/index.vue index 09d9d0d42e..cb998cdaaa 100644 --- a/web/src/js/view/newhome/index.vue +++ b/web/src/js/view/newhome/index.vue @@ -1,3 +1,15 @@ + + diff --git a/web/src/js/view/newhome/module/caseAndIntroduction/index.vue b/web/src/js/view/newhome/module/caseAndIntroduction/index.vue index 6a84b08139..761b3d05eb 100644 --- a/web/src/js/view/newhome/module/caseAndIntroduction/index.vue +++ b/web/src/js/view/newhome/module/caseAndIntroduction/index.vue @@ -6,30 +6,29 @@
- +
-

{{index}}

-
+

{{item.title}}

+
-
+