Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
perf:Optimize some styles
Browse files Browse the repository at this point in the history
  • Loading branch information
hunter-ji committed May 18, 2022
1 parent 5c64d18 commit e8f2fe3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ download: [releases](https://github.com/Kuari/RedFish/releases)
* Graphical operation of publish/subscribe function
* TLS
* Dark mode
* `Ctrl/Command + C` shortcut to copy
* `Right-click` shortcut key to zoom in, view and edit, including text and json modes
* `Command/Windows + left mouse click` shortcut copy
* `Right-click` the data to open the data magnification editor, including text and json modes
* Multi-language support, support Chinese, English, automatically switch according to the system
* Automatic update (currently only on mac)



Expand Down
7 changes: 4 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* redis基础类型数据处理
* 通过颜色区别数据处理的状态,如hash类型的数据中,蓝色代表新增数据,黄色代表编辑过的数据等
* 数据多选处理
* 表格内数据直接双击编辑,也可通过`鼠标右击`快捷键放大处理
* 表格内数据直接双击编辑,也可通过`鼠标右击`快捷键放大编辑
* JSON自动格式化
* JSON查看和编辑
* key列表分页查询
Expand All @@ -31,9 +31,10 @@
* 发布/订阅功能图形化操作
* TLS
* 暗黑模式
* `Ctrl/Command + C`快捷键复制
* `鼠标右击`快捷键放大查看和编辑,包括文本和json两种模式
* `Command/Windows + 鼠标左击`快捷键复制
* `鼠标右击`数据,打开数据放大编辑器,包括文本和json两种模式
* 多语言支持,支持中文、英文,根据系统自动切换
* 自动更新(目前仅限mac端)



Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "red-fish",
"version": "0.1.1",
"private": true,
"version": "1.0.0",
"author": "Kuari",
"homepage": "https://github.com/Kuari/RedFish",
"scripts": {
"electron:build": "vue-cli-service electron:build",
"electron:build:m1": "vue-cli-service electron:build --arm64",
Expand Down
3 changes: 2 additions & 1 deletion src/views/config/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
<div class="about-container flex flex-col justify-center items-center py-4">
<img src="@/assets/icon.png" alt="logo" width="120" height="120" class="rounded-full shadow hover:shadow-xl" />
<div class="mt-4 text-2xl">RedFish</div>
<div class="mt-2 text-gray-400">v 0.1.1</div>
<div class="mt-2 text-gray-400">v {{ version }}</div>
<div class="mt-6"><el-link @click="jump">Github.com/Kuari/RedFish</el-link></div>
</div>
</template>

<script setup lang="ts">
import { shell } from 'electron'
import { version } from '../../../package.json'
const jump = () => {
shell.openExternal('https://github.com/Kuari/RedFish')
Expand Down
2 changes: 1 addition & 1 deletion src/views/pubAndSub/subContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!-- messages -->
<div class="sub-content-container">
<div v-if="!props.cardInfo.messages.length" class="h-full flex flex-col justify-center items-center">
<el-icon size="100" color="rgba(140, 147, 157, 0.33)"><chat-line-square /></el-icon>
<chat-line-square style="color:rgba(140, 147, 157, 0.33);width:6em;height:6em;" />
<p style="color: rgba(140, 147, 157, 0.33);" class="mt-4">{{ t('pubAndSub.emptyMessage') }}</p>
</div>
<div v-for="(item, index) in props.cardInfo.messages" :key="index" v-else class="py-1">
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"resolveJsonModule": true,
"baseUrl": ".",
"types": [
"webpack-env"
Expand Down

0 comments on commit e8f2fe3

Please sign in to comment.