Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
796 additions
and
309 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @Author: fzf404 | ||
* @Date: 2022-07-23 21:02:45 | ||
* @LastEditors: fzf404 [email protected] | ||
* @LastEditTime: 2022-08-13 18:28:37 | ||
* @LastEditTime: 2022-08-14 23:23:56 | ||
* @Description: setting 组件 | ||
--> | ||
<template> | ||
|
@@ -55,9 +55,7 @@ interface Props { | |
// 尺寸 | ||
size?: 'small' | ||
// 配置 | ||
config: { | ||
[key: string]: any | ||
} | ||
config: Record<string, any> | ||
// 信息 | ||
setting: ( | ||
| { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @Author: fzf404 | ||
* @Date: 2022-08-12 10:39:12 | ||
* @LastEditors: fzf404 [email protected] | ||
* @LastEditTime: 2022-08-13 15:39:12 | ||
* @LastEditTime: 2022-08-14 17:47:16 | ||
* @Description: 布局切换 | ||
--> | ||
<template> | ||
|
@@ -12,6 +12,7 @@ | |
<script setup> | ||
import { onMounted, reactive, watch } from 'vue' | ||
import { sendEvent } from '#/ipc' | ||
import { storage } from '~/storage' | ||
import maco from './maco.vue' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @Author: fzf404 | ||
* @Date: 2022-07-15 22:55:49 | ||
* @LastEditors: fzf404 [email protected] | ||
* @LastEditTime: 2022-08-13 18:40:23 | ||
* @LastEditTime: 2022-08-15 22:58:08 | ||
* @Description: camera 相机监控 | ||
--> | ||
<template> | ||
|
@@ -100,7 +100,7 @@ const state = reactive({ | |
const config = reactive({ | ||
mirror: get('mirror', true), // 镜像 | ||
control: get('control', true), // 控制器 | ||
holistic: get('holistic', false), // 角色跟踪 | ||
holistic: get('holistic', true), // 角色跟踪 | ||
camera: get('camera', null), // 设备ID | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* @Author: fzf404 | ||
* @Date: 2022-05-18 23:06:12 | ||
* @LastEditors: fzf404 [email protected] | ||
* @LastEditTime: 2022-08-13 22:16:57 | ||
* @LastEditTime: 2022-08-15 22:59:06 | ||
* @Description: github 信息监控 | ||
--> | ||
<template> | ||
|
@@ -41,7 +41,7 @@ | |
</p> | ||
</section> | ||
<!-- repo --> | ||
<section class="flex-col-center-left col-span-5 row-span-5 overflow-y-scroll mt-px"> | ||
<section class="flex-col-center-left col-span-5 row-span-5 overflow-x-auto overflow-y-scroll mt-px"> | ||
<p | ||
v-for="value in repoChange" | ||
class="flex-row-center space-x-1 space-y-1 clickable" | ||
|
@@ -52,17 +52,7 @@ | |
<span class="text-sm"> | ||
{{ value.star }} | ||
</span> | ||
<span class="text-intro"> | ||
{{ | ||
value.star > 999 | ||
? value.repo.length > 11 | ||
? value.repo.slice(0, 9) + '..' | ||
: value.repo | ||
: value.repo.length > 12 | ||
? value.repo.slice(0, 10) + '..' | ||
: value.repo | ||
}} | ||
</span> | ||
<span class="whitespace-nowrap text-intro"> {{ value.repo }} </span> | ||
</p> | ||
</section> | ||
<!-- star --> | ||
|
@@ -280,10 +270,8 @@ export default { | |
}, | ||
// 请求数据 | ||
async getGithubData() { | ||
// TODO 用户名不存在提示 | ||
await request.get(`/users/${this.config.user}`).then(async (data) => { | ||
// 修改网络状态 | ||
this.network = true | ||
// 设置 follower 信息 | ||
this.newFollower = data.followers | ||
|
Oops, something went wrong.
dd61957
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
monit – ./
monit-git-main-fzf404.vercel.app
monit.vercel.app
monit.fzf404.top
monit.fzf404.art
monit-fzf404.vercel.app