Compare commits
6 Commits
master
...
feature/zu
| Author | SHA1 | Date |
|---|---|---|
|
|
a5ce121f31 | 1 year ago |
|
|
c38dc8d608 | 1 year ago |
|
|
a0df6af760 | 1 year ago |
|
|
066426ca36 | 1 year ago |
|
|
ab89dcf9b3 | 1 year ago |
|
|
3926f76968 | 1 year ago |
@ -0,0 +1,3 @@
|
||||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
@ -0,0 +1,6 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
||||
@ -0,0 +1,7 @@
|
||||
<?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>
|
||||
@ -0,0 +1,8 @@
|
||||
<?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>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@ -0,0 +1,12 @@
|
||||
<?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>
|
||||
@ -0,0 +1,25 @@
|
||||
# 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?
|
||||
@ -0,0 +1,6 @@
|
||||
# Vue 3 + TypeScript + Vite
|
||||
|
||||
1、npm install
|
||||
|
||||
2、npm run dev
|
||||
|
||||
@ -0,0 +1,53 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@ -0,0 +1,50 @@
|
||||
<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>
|
||||
|
||||
@ -0,0 +1,27 @@
|
||||
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",
|
||||
});
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* 登录信息
|
||||
*/
|
||||
export interface LoginForm {
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
username: string;
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
password: string;
|
||||
}
|
||||
@ -0,0 +1,6 @@
|
||||
@font-face {
|
||||
font-family: "Fredericka the Great";
|
||||
src: url("FREDERICKATHEGREAT-REGULAR-2.TTF") format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
After Width: | Height: | Size: 852 B |
|
After Width: | Height: | Size: 565 B |
|
After Width: | Height: | Size: 569 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 469 B |
|
After Width: | Height: | Size: 471 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 922 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 662 B |
|
After Width: | Height: | Size: 712 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 666 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1010 B |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 602 B |
|
After Width: | Height: | Size: 939 B |
|
After Width: | Height: | Size: 602 B |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 556 B |
|
After Width: | Height: | Size: 595 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 946 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 676 B |
|
After Width: | Height: | Size: 943 B |
|
After Width: | Height: | Size: 501 B |
|
After Width: | Height: | Size: 980 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 494 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 995 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 579 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 740 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 111 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 39 KiB |
@ -0,0 +1,10 @@
|
||||
export default {
|
||||
// gitee的client-id
|
||||
GITEE_APP_ID: "***************************",
|
||||
// gitee回调地址
|
||||
GITEE_REDIRECT_URI: "***************************",
|
||||
// github的client-id
|
||||
GITHUB_APP_ID: "***************************",
|
||||
// github回调地址
|
||||
GITHUB_REDIRECT_URL: "***************************",
|
||||
};
|
||||
@ -0,0 +1,461 @@
|
||||
@import "./mixin.scss";
|
||||
|
||||
/* 背景色 */
|
||||
.bg {
|
||||
background-color: var(--grey-0);
|
||||
}
|
||||
|
||||
/* 页面布局 */
|
||||
.page-header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 70vh;
|
||||
background: var(--color-red) no-repeat center center / cover;
|
||||
z-index: -9;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, .2);
|
||||
transition: all .2s ease-in-out 0s;
|
||||
}
|
||||
}
|
||||
|
||||
.page-title {
|
||||
@include flex;
|
||||
flex-direction: column;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 50vh;
|
||||
min-height: 10rem;
|
||||
padding: 4rem 5rem 0;
|
||||
font-size: 2.25em;
|
||||
color: var(--header-text-color);
|
||||
animation: titleScale 1s;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.page-cover {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 70vh;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.page-container {
|
||||
position: relative;
|
||||
width: calc(100% - 0.625rem);
|
||||
margin: 1.5rem auto;
|
||||
padding: 1.75rem 2.25rem;
|
||||
border-radius: 0.75rem;
|
||||
box-shadow: 0 0 1rem var(--box-bg-shadow);
|
||||
animation: slideUpIn 1s;
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.page-container {
|
||||
width: 60.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.page-container {
|
||||
padding: 1rem 0.875rem;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 2rem;
|
||||
padding: 3rem 0.5rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
.main-container {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
width: calc(100% - 0.625rem);
|
||||
margin: 0 auto;
|
||||
padding-bottom: 1.75rem;
|
||||
animation: slideUpIn 1s;
|
||||
}
|
||||
|
||||
.left-container {
|
||||
width: calc(100% - 18.75rem);
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.right-container {
|
||||
position: sticky;
|
||||
top: 1rem;
|
||||
width: 18rem;
|
||||
margin-left: 0.8rem;
|
||||
}
|
||||
|
||||
.test {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.temp {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.main-container {
|
||||
width: 72.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.left-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.right-container {
|
||||
display: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* 卡片 */
|
||||
.side-card {
|
||||
padding: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 0 1rem var(--box-bg-shadow);
|
||||
transition: all 0.2s ease-in-out 0s;
|
||||
|
||||
&:not(:first-child) {
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.side-card {
|
||||
margin: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* 对话框 */
|
||||
.dialog-wrapper {
|
||||
width: 600px !important;
|
||||
}
|
||||
|
||||
@media (min-width: 760px) {
|
||||
.dialog-wrapper {
|
||||
padding: 2rem 2.5rem 0;
|
||||
height: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-text {
|
||||
color: var(--grey-5);
|
||||
}
|
||||
|
||||
.colorFlag {
|
||||
cursor: pointer;
|
||||
color: var(--grey-6);
|
||||
}
|
||||
|
||||
/* 边距 */
|
||||
.mt-4 {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.mt-12 {
|
||||
margin-top: 65px;
|
||||
}
|
||||
|
||||
.mt-10 {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.mt-11 {
|
||||
margin-top: 55px;
|
||||
}
|
||||
|
||||
/* 隐藏抽屉滚动条 */
|
||||
.n-drawer-body-content-wrapper::-webkit-scrollbar {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 代码 */
|
||||
.hljs {
|
||||
font-family: "consolas";
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* 分页 */
|
||||
.n-pagination-item:hover,
|
||||
.n-pagination-item--active {
|
||||
color: var(--grey-0) !important;
|
||||
background-image: linear-gradient(to right, var(--color-pink) 0, var(--color-orange) 100%) !important;
|
||||
box-shadow: 0 0 .75rem var(--color-pink-a3) !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.pagination {
|
||||
justify-content: center;
|
||||
padding: 1.25rem 3.125rem;
|
||||
}
|
||||
|
||||
.n-pagination .n-pagination-item {
|
||||
color: var(--grey-5);
|
||||
}
|
||||
|
||||
/* 加载更多按钮 */
|
||||
.loading-warp {
|
||||
@include flex;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.loading-warp .btn {
|
||||
letter-spacing: 1.25px;
|
||||
color: var(--grey-0) !important;
|
||||
background-image: linear-gradient(to right, var(--color-pink) 0, var(--color-orange) 100%);
|
||||
}
|
||||
|
||||
/* 文章标签 */
|
||||
.article-tag {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
font-size: 0.75em;
|
||||
padding: 0 0.3125rem;
|
||||
border-radius: 0.3125rem;
|
||||
background: var(--note-bg);
|
||||
color: var(--note-text);
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: 0.625rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: #e9546b;
|
||||
|
||||
&:before {
|
||||
width: 104%;
|
||||
left: -2%;
|
||||
}
|
||||
}
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: 100%;
|
||||
width: 0;
|
||||
right: 0;
|
||||
background: var(--color-red-a1);
|
||||
border-radius: 0.25rem;
|
||||
transition: all 0.2s ease-in-out 0s;
|
||||
}
|
||||
}
|
||||
|
||||
.tag-info {
|
||||
text-align: left;
|
||||
margin-top: 0.625rem;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
/* 评论框 */
|
||||
.reply-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.box-normal {
|
||||
display: flex;
|
||||
height: 50px;
|
||||
transition: 0.2s;
|
||||
|
||||
.reply-box-warp {
|
||||
flex: auto;
|
||||
margin-left: 0.6rem;
|
||||
}
|
||||
|
||||
.reply-box-send {
|
||||
@include flex;
|
||||
flex-basis: 70px;
|
||||
margin-left: 10px;
|
||||
border-radius: 4px;
|
||||
background-color: var(--comment-btn);
|
||||
color: var(--grey-0);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.send-active {
|
||||
background-color: var(--color-pink);
|
||||
}
|
||||
}
|
||||
|
||||
.reply-box-avatar {
|
||||
@include flex;
|
||||
width: 3rem;
|
||||
height: 3.125rem;
|
||||
}
|
||||
|
||||
.reply-box-textarea {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 5px 10px;
|
||||
border: 1px solid var(--grey-3);
|
||||
border-radius: 6px;
|
||||
background-color: var(--comment-color);
|
||||
font-size: 12px;
|
||||
line-height: 38px;
|
||||
color: var(--text-color);
|
||||
resize: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.box-expand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 3.6rem;
|
||||
margin-top: 0.3125rem;
|
||||
}
|
||||
|
||||
.shoka-avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/* 抽屉 */
|
||||
.side-bg {
|
||||
background: var(--grey-1);
|
||||
}
|
||||
|
||||
.author-avatar {
|
||||
display: block;
|
||||
max-width: 10rem;
|
||||
margin: 0 auto;
|
||||
padding: 0.125rem;
|
||||
box-shadow: 0 0 1rem 0.625rem var(--body-bg-shadow);
|
||||
border: 0.0625rem solid var(--body-bg-shadow);
|
||||
border-radius: 50%;
|
||||
animation: 1000ms ease-in-out 0ms 1 normal forwards running blur;
|
||||
|
||||
&:hover {
|
||||
-webkit-animation: author-shake 1s;
|
||||
animation: 1000ms ease 0ms 1 normal none running author-shake;
|
||||
}
|
||||
}
|
||||
|
||||
.author-name {
|
||||
margin-top: 0.5rem;
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
color: var(--grey-7);
|
||||
}
|
||||
|
||||
.site-desc {
|
||||
margin-top: 0.5rem;
|
||||
font-size: 1em;
|
||||
text-align: center;
|
||||
color: var(--grey-5);
|
||||
}
|
||||
|
||||
.blog-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 0.8rem;
|
||||
line-height: 1.4;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.blog-item {
|
||||
color: var(--grey-6);
|
||||
padding: 0 0.7rem;
|
||||
|
||||
&:not(:first-child) {
|
||||
border-left: 0.0625rem solid var(--grey-4);
|
||||
}
|
||||
}
|
||||
|
||||
.count {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.name {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.social-container {
|
||||
margin-top: 1rem;
|
||||
text-align: center;
|
||||
|
||||
.social-item {
|
||||
display: inline-block;
|
||||
width: 1.875rem;
|
||||
height: 1.875rem;
|
||||
margin: 0 0.125rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* 说说 */
|
||||
.talk-user-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
margin-right: 0.3125rem;
|
||||
color: #ef89c6;
|
||||
}
|
||||
|
||||
.talk-content {
|
||||
margin-top: 0.3125rem;
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.5rem;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.talk-image {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
align-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 0.3125rem;
|
||||
|
||||
.image {
|
||||
max-width: 15rem;
|
||||
max-height: 12.5rem;
|
||||
padding: 1px;
|
||||
border-radius: 0.25rem;
|
||||
cursor: pointer;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.talk-time,
|
||||
.talk-like,
|
||||
.talk-comment {
|
||||
font-size: 0.8125rem;
|
||||
margin-right: 1.25rem;
|
||||
color: #9499a0;
|
||||
}
|
||||
|
||||
/* 点赞 */
|
||||
.like-flag {
|
||||
color: var(--color-pink);
|
||||
}
|
||||
|
||||
/* 音乐播放器显示隐藏 */
|
||||
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {
|
||||
left: -66px !important;
|
||||
}
|
||||
|
||||
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body:hover {
|
||||
left: 0 !important;
|
||||
}
|
||||