Skip to content

Commit 6346b7e

Browse files
committed
feat:修改首页,github链接
1 parent 78535dc commit 6346b7e

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

front/src/icons/svg/github.svg

Lines changed: 1 addition & 0 deletions
Loading

front/src/layout/components/Navbar.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
<template>
22
<div class="navbar">
3-
<hamburger :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
3+
<hamburger :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar"/>
44

5-
<breadcrumb class="breadcrumb-container" />
5+
<breadcrumb class="breadcrumb-container"/>
66

77
<div class="right-menu">
8-
<el-link type="primary" :underline="false" href="https://gitee.com/durcframework/code-gen" target="_blank">Git</el-link>
8+
<el-link type="primary" icon="github" :underline="false" href="https://github.com/Coding-Coder" target="_blank">
9+
<template>
10+
<el-tooltip class="item" effect="dark" content="Follow me on GitHub" placement="bottom-end">
11+
<svg-icon style="width: 50px;height: 50px;" icon-class="github"/>
12+
</el-tooltip>
13+
</template>
14+
</el-link>
915
</div>
1016
</div>
1117
</template>

front/src/views/dashboard/index.vue

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
<template>
2-
<div class="dashboard-container">
3-
<div class="dashboard-text">欢迎使用代码生成工具</div>
4-
</div>
2+
<el-container>
3+
<el-main >
4+
<p align="center">
5+
<!-- http://www.akuziti.com/yw/ 使用This Night 60像素-->
6+
<img src="https://gitee.com/naraka47/pic-go-store/raw/master/img/20210707104509.png" />
7+
</p>
8+
<h3 align="center">把简单的重复劳动交给code-gen,省下来的时间多陪陪家人</h3>
9+
</el-main>
10+
</el-container>
511
</template>
612

713
<style lang="scss" scoped>
@@ -14,4 +20,8 @@
1420
line-height: 46px;
1521
}
1622
}
23+
.el-main {
24+
padding: 230px 0;
25+
text-align: center;
26+
}
1727
</style>

front/src/views/generate/GenerateConfig/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="code-gen">
3-
<el-form ref="genForm" class="gen-form" :model="clientParam" size="mini" label-width="150px">
3+
<el-form ref="genForm" class="gen-form" :model="clientParam" size="mini" label-width="125px">
44
<el-form-item label="选择数据源" prop="datasourceConfigId" :rules="{required: true, message: '请选择数据源'}">
55
<el-select v-model="clientParam.datasourceConfigId" placeholder="选择数据源" @change="onDataSourceChange">
66
<el-option v-for="item in datasourceConfigList" :key="item.id" :label="getDatasourceLabel(item)" :value="item.id">
@@ -16,7 +16,7 @@
1616
</el-select>
1717
<el-button type="text" @click="onDataSourceAdd">新建数据源</el-button>
1818
</el-form-item>
19-
<el-form-item v-show="showTable" label="包名package">
19+
<el-form-item v-show="showTable" label="包名(package)">
2020
<el-input v-model="clientParam.packageName" placeholder="可选,如:cn.studyjava.xxx" show-word-limit maxlength="100" />
2121
</el-form-item>
2222
<el-form-item v-show="showTable" label="删除前缀">

0 commit comments

Comments
 (0)