Compare commits
No commits in common. 'feature/zuyuan2' and 'master' have entirely different histories.
feature/zu
...
master
@ -1,3 +0,0 @@
|
||||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
@ -1,6 +0,0 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
||||
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.12" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/yolov8-master.iml" filepath="$PROJECT_DIR$/.idea/yolov8-master.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="PyDocumentationSettings">
|
||||
<option name="format" value="PLAIN" />
|
||||
<option name="myDocStringFormat" value="Plain" />
|
||||
</component>
|
||||
</module>
|
||||
@ -1,25 +0,0 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
dist
|
||||
blog
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
.DS_Store
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
@ -1,6 +0,0 @@
|
||||
# Vue 3 + TypeScript + Vite
|
||||
|
||||
1、npm install
|
||||
|
||||
2、npm run dev
|
||||
|
||||
@ -1,53 +0,0 @@
|
||||
{
|
||||
"name": "yolov8-vue3",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc && vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"description": "基于yolov8的车流识别项目",
|
||||
"dependencies": {
|
||||
"@kangc/v-md-editor": "^2.3.15",
|
||||
"@vueuse/core": "^9.5.0",
|
||||
"axios": "^1.3.0",
|
||||
"dayjs": "^1.11.7",
|
||||
"easy-typer-js": "^2.1.0",
|
||||
"echarts": "^5.4.1",
|
||||
"element-plus": "^2.3.7",
|
||||
"js-cookie": "^3.0.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinia": "^2.0.25",
|
||||
"pinia-plugin-persistedstate": "^2.4.0",
|
||||
"prismjs": "^1.29.0",
|
||||
"swiper": "^8.4.5",
|
||||
"tocbot": "^4.20.0",
|
||||
"v-viewer": "^3.0.11",
|
||||
"vue": "^3.2.41",
|
||||
"vue-cropper": "^1.0.5",
|
||||
"vue-router": "^4.0.12",
|
||||
"vue3-danmaku": "^1.2.0",
|
||||
"vue3-lazy": "^1.0.0-alpha.1",
|
||||
"vue3-social-share": "^0.1.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/js-cookie": "^3.0.2",
|
||||
"@types/node": "^18.11.9",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@types/prismjs": "^1.26.0",
|
||||
"@vicons/ionicons5": "^0.12.0",
|
||||
"@vitejs/plugin-vue": "^3.2.0",
|
||||
"naive-ui": "^2.34.3",
|
||||
"sass": "^1.56.1",
|
||||
"sass-loader": "^13.2.0",
|
||||
"typescript": "^4.6.4",
|
||||
"unplugin-auto-import": "^0.12.1",
|
||||
"unplugin-vue-components": "^0.22.12",
|
||||
"vite": "^3.2.3",
|
||||
"vite-plugin-prismjs": "0.0.8",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vue-tsc": "^1.0.9"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.8 KiB |
@ -1,50 +0,0 @@
|
||||
<template style="height=100px;">
|
||||
<router-view v-slot="{ Component, route }">
|
||||
<keep-alive>
|
||||
<component :is="Component" :key="route.path" />
|
||||
</keep-alive>
|
||||
</router-view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
// import { getBlogInfo, report } from "@/api/blogInfo";
|
||||
|
||||
import useStore from '@/store';
|
||||
const { user } = useStore();
|
||||
|
||||
|
||||
|
||||
onMounted(() => {
|
||||
console.log(
|
||||
"%c AI系统 %c By pan %c",
|
||||
"background:#e9546b ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff; padding:5px 0;",
|
||||
"background:#ec8c69 ; padding: 1px; border-radius: 0 3px 3px 0; color: #000; padding:5px 0;",
|
||||
"background:transparent"
|
||||
);
|
||||
//获取博客信息
|
||||
// getBlogInfo().then(({ data }) => {
|
||||
// blog.setBlogInfo(data.data);
|
||||
// });
|
||||
|
||||
// 上传访客信息
|
||||
// report();
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
/* 最短距离——320px */
|
||||
.app-wrapper {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.main-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
padding: 0 0 8rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -1,27 +0,0 @@
|
||||
import { Result } from "@/models/index";
|
||||
import request from "@/utils/request";
|
||||
import { AxiosPromise } from "axios";
|
||||
import { LoginForm } from "./types";
|
||||
|
||||
/**
|
||||
* 用户登录
|
||||
* @param data 登录信息
|
||||
* @returns Token
|
||||
*/
|
||||
export function login(data: LoginForm): AxiosPromise<Result<any>> {
|
||||
return request({
|
||||
url: "/login",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户退出
|
||||
*/
|
||||
export function logout(): AxiosPromise<Result<null>> {
|
||||
return request({
|
||||
url: "/logOut",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
/**
|
||||
* 登录信息
|
||||
*/
|
||||
export interface LoginForm {
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
username: string;
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
password: string;
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
@font-face {
|
||||
font-family: "Fredericka the Great";
|
||||
src: url("FREDERICKATHEGREAT-REGULAR-2.TTF") format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 852 B |
|
Before Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 569 B |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 469 B |
|
Before Width: | Height: | Size: 471 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 922 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 662 B |
|
Before Width: | Height: | Size: 712 B |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 666 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1010 B |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 602 B |
|
Before Width: | Height: | Size: 939 B |
|
Before Width: | Height: | Size: 602 B |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 556 B |
|
Before Width: | Height: | Size: 595 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 946 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 676 B |
|
Before Width: | Height: | Size: 943 B |
|
Before Width: | Height: | Size: 501 B |
|
Before Width: | Height: | Size: 980 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 494 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 995 KiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 579 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 740 KiB |
|
Before Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 39 KiB |
@ -1,10 +0,0 @@
|
||||
export default {
|
||||
// gitee的client-id
|
||||
GITEE_APP_ID: "***************************",
|
||||
// gitee回调地址
|
||||
GITEE_REDIRECT_URI: "***************************",
|
||||
// github的client-id
|
||||
GITHUB_APP_ID: "***************************",
|
||||
// github回调地址
|
||||
GITHUB_REDIRECT_URL: "***************************",
|
||||
};
|
||||