Skip to content

Commit

Permalink
📝 v0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fzf404 committed Aug 15, 2022
2 parents 9bbb8fe + b85a9af commit dd61957
Show file tree
Hide file tree
Showing 28 changed files with 796 additions and 309 deletions.
1 change: 1 addition & 0 deletions app/assets/juejin/article.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/juejin/follower.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions app/assets/juejin/juejin.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/juejin/like.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/juejin/power.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/juejin/view.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions app/components/setting.vue
Expand Up @@ -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>
Expand Down Expand Up @@ -55,9 +55,7 @@ interface Props {
// 尺寸
size?: 'small'
// 配置
config: {
[key: string]: any
}
config: Record<string, any>
// 信息
setting: (
| {
Expand Down
3 changes: 2 additions & 1 deletion app/layouts/layout.vue
Expand Up @@ -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>
Expand All @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions app/plugins/camera.vue
Expand Up @@ -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>
Expand Down Expand Up @@ -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
})
Expand Down
20 changes: 4 additions & 16 deletions app/plugins/github.vue
Expand Up @@ -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>
Expand Down Expand Up @@ -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"
Expand All @@ -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 -->
Expand Down Expand Up @@ -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
Expand Down

1 comment on commit dd61957

@vercel
Copy link

@vercel vercel bot commented on dd61957 Aug 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.