Merge branch 'develop' of https://gitee.com/youlaiorg/vue3-element-admin into develop
This commit is contained in:
@@ -55,7 +55,6 @@
|
||||
"axios": "^1.13.2",
|
||||
"codemirror": "^5.65.20",
|
||||
"codemirror-editor-vue3": "^2.8.0",
|
||||
"default-passive-events": "^2.0.0",
|
||||
"echarts": "^6.0.0",
|
||||
"element-plus": "^2.11.8",
|
||||
"exceljs": "^4.4.0",
|
||||
|
||||
@@ -32,7 +32,13 @@
|
||||
<div class="navbar-actions__item">
|
||||
<el-dropdown trigger="click">
|
||||
<div class="user-profile">
|
||||
<img class="user-profile__avatar" :src="userStore.userInfo.avatar" />
|
||||
<div style="width: 28px; height: 28px; overflow: hidden; border-radius: 50%">
|
||||
<img
|
||||
:src="userStore.userInfo.avatar"
|
||||
class="user-profile__avatar"
|
||||
style="width: 100%; height: 100%; object-fit: cover; object-position: center"
|
||||
/>
|
||||
</div>
|
||||
<span class="user-profile__name">{{ userStore.userInfo.username }}</span>
|
||||
</div>
|
||||
<template #dropdown>
|
||||
|
||||
@@ -13,9 +13,6 @@ import "uno.css";
|
||||
// 过渡动画
|
||||
import "animate.css";
|
||||
|
||||
// 自动为某些默认事件(如 touchstart、wheel 等)添加 { passive: true },提升滚动性能并消除控制台的非被动事件监听警告
|
||||
import "default-passive-events";
|
||||
|
||||
const app = createApp(App);
|
||||
// 注册插件
|
||||
app.use(setupPlugins);
|
||||
|
||||
@@ -7,10 +7,13 @@
|
||||
<div class="flex flex-wrap">
|
||||
<!-- 左侧问候语区域 -->
|
||||
<div class="flex-1 flex items-start">
|
||||
<img
|
||||
class="w80px h80px rounded-full"
|
||||
:src="userStore.userInfo.avatar + '?imageView2/1/w/80/h/80'"
|
||||
/>
|
||||
<div style="width: 80px; height: 80px; overflow: hidden; border-radius: 50%">
|
||||
<img
|
||||
:src="userStore.userInfo.avatar + '?imageView2/1/w/80/h/80'"
|
||||
class="w80px h80px rounded-full"
|
||||
style="width: 100%; height: 100%; object-fit: cover; object-position: center"
|
||||
/>
|
||||
</div>
|
||||
<div class="ml-5">
|
||||
<p>{{ greetings }}</p>
|
||||
<p class="text-sm text-gray">今日天气晴朗,气温在15℃至25℃之间,东南风。</p>
|
||||
|
||||
Reference in New Issue
Block a user