Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "dws",
"name": "scriptis",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>DWS</title>
<title>Scriptis</title>
</head>
<body>
<noscript>
Expand Down
2 changes: 1 addition & 1 deletion src/js/module/demo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
path: '/Demo',
name: 'Demo',
meta: {
title: 'DWS | Demo',
title: 'Scriptis | Demo',
publicPage: false,
},
component: () => import('./index.vue'),
Expand Down
17 changes: 16 additions & 1 deletion src/js/module/header/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,22 @@
display: inline-block;
vertical-align: top;
font-size: 26px;
color: $body-background ;
color: $body-background;
.logo-main-titile {
font-size: 24px;
height: 40px;
line-height: 40px;
font-weight: bold;

}
.logo-sub-title {
font-size: 12px;
height: 40px;
line-height: 40px;
.logo-sub-title-main {
font-weight: bold;
}
}
}
.menu{
display: inline-block;
Expand Down
10 changes: 7 additions & 3 deletions src/js/module/header/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<template>
<div class="layout-header">
<div class="logo">
WeDataSphere
<span class="logo-main-titile">Scriptis</span>
<span class="logo-sub-title">
<span>@Powered by </span>
<span class="logo-sub-title-main">Linkis</span>
</span>
</div>
<ul class="menu">
<li
Expand All @@ -11,7 +15,7 @@
class="menu-item"
@click="goto(item.path)">
<span>{{ item.name }}</span>

</li>
</ul>
<div
Expand Down Expand Up @@ -52,7 +56,7 @@ export default {
data() {
return {
sys: [{
name: '意书',
name: '开发',
path: 'Home',
}, {
name: '管理台',
Expand Down
8 changes: 4 additions & 4 deletions src/js/service/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ const router = new VueRouter({
redirect: '/home',
component: Layout,
meta: {
title: 'DWS',
title: 'Scriptis',
publicPage: true, // 权限公开
},
children: [
{
path: 'home',
name: 'Home',
meta: {
title: 'DWS',
title: 'Scriptis',
keepAlive: true, // 需要被缓存
publicPage: true, // 权限公开
},
Expand Down Expand Up @@ -74,7 +74,7 @@ const router = new VueRouter({
{
path: '*',
meta: {
title: 'DWS',
title: 'Scriptis',
publicPage: true,
},
component: () => import('../view/404.vue'),
Expand All @@ -96,7 +96,7 @@ router.beforeEach((to, from, next) => {
router.afterEach((to, from) => {
console.log('访问:', to.fullPath);
if (to.meta) {
document.title = to.meta.title || 'DWS';
document.title = to.meta.title || 'Scriptis';
}
});

Expand Down