Skip to content

Commit e7a6f2c

Browse files
committed
调整about页面说明内容
1 parent aa57983 commit e7a6f2c

File tree

1 file changed

+50
-29
lines changed

1 file changed

+50
-29
lines changed

src/pages/About.vue

Lines changed: 50 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,43 @@
11
<template>
22
<div class="top">
3-
<div class="content">
4-
<n-space vertical>
5-
<n-card title="系统简介" size="medium">
6-
<p>r-nacos是一个用rust实现的nacos服务。完全兼容nacos sdk协议。</p>
7-
<p>它相对来说有轻量、快速、稳定、高性能等特点。</p>
8-
<p>使用过程有什么问题可以到 github提issue。</p>
9-
<p>
10-
<a href="https://github.com/heqingpan/rnacos">r-nacos github</a>
3+
<div class="wrap">
4+
<div class="content">
5+
<n-space vertical class="inner_wrap">
6+
<n-card title="系统简介" size="medium">
7+
<p>
8+
r-nacos是一个用rust实现的nacos服务。相较于java
9+
nacos来说,是一个提供相同功能,启动更快、占用系统资源更小(初始内存小于10M)、性能更高、运行更稳定的服务。
10+
</p>
1111
<br />
12-
<a href="https://gitee.com/hqp/rnacos">r-nacos gitee</a>
13-
</p>
14-
</n-card>
15-
<n-card title="系统版本号" size="medium">
16-
{{ webResources.version }}
17-
</n-card>
18-
<n-card
19-
v-if="webResources.username !== ''"
20-
title="当前用户"
21-
size="medium"
22-
>
23-
{{ webResources.username }}
24-
</n-card>
25-
</n-space>
12+
<p>
13+
r-nacos设计上完全兼容最新版本nacos面向client sdk
14+
的协议(包含1.x的http OpenApi,和2.x的grpc协议),
15+
支持使用nacos服务的应用平迁到 r-nacos。
16+
</p>
17+
<br />
18+
<p>使用过程有什么问题可以到 github提issue。</p>
19+
<p>
20+
<a href="https://github.com/r-nacos/r-nacos" target="_blank"
21+
>r-nacos github</a
22+
>
23+
<br />
24+
<a href="https://gitee.com/hqp/rnacos" target="_blank"
25+
>r-nacos gitee</a
26+
>
27+
</p>
28+
</n-card>
29+
<n-card title="系统版本号" size="medium">
30+
{{ webResources.version }}
31+
</n-card>
32+
<n-card
33+
v-if="webResources.username !== ''"
34+
title="当前用户"
35+
size="medium"
36+
>
37+
{{ webResources.username }}
38+
</n-card>
39+
</n-space>
40+
</div>
2641
</div>
2742
</div>
2843
</template>
@@ -54,29 +69,35 @@ export default defineComponent({
5469
display: flex;
5570
position: relative;
5671
align-items: center;
57-
background: #fff;
5872
flex-direction: column;
5973
width: 100%;
6074
height: 100%;
75+
background: #eeeeee;
6176
}
6277
6378
.wrap {
64-
flex: 1 1 auto;
65-
display: flex;
79+
display: block;
6680
position: relative;
67-
align-items: center;
68-
background: #fff;
69-
flex-direction: row;
81+
width: 100%;
82+
height: 100%;
83+
margin: 0 auto;
7084
}
7185
.content {
7286
flex: 1 1 auto;
73-
margin-top: 20px;
87+
display: flex;
88+
position: relative;
7489
font-size: 20px;
7590
line-height: 60px;
91+
padding: 10px;
7692
/*
7793
text-align: center;
7894
*/
7995
}
96+
97+
.inner_wrap {
98+
width: 100%;
99+
flex: 1 1 auto;
100+
}
80101
.title {
81102
font-size: 60px;
82103
}

0 commit comments

Comments
 (0)