浏览代码

修改部分样式

yangg 3 天之前
父节点
当前提交
00388e4226
共有 3 个文件被更改,包括 15 次插入13 次删除
  1. 2 2
      src/layout/navBars/breadcrumb/user.vue
  2. 10 8
      src/views/system/home/index.vue
  3. 3 3
      src/views/system/personal/index.vue

+ 2 - 2
src/layout/navBars/breadcrumb/user.vue

@@ -35,7 +35,7 @@
 		</div>
 		<div class="layout-navbars-breadcrumb-user-icon" @click="onLayoutSetingClick">
 			<i class="icon-skin iconfont" :title="$t('message.user.title3')"></i>
-		</div> -->
+		</div> 
 		<div class="layout-navbars-breadcrumb-user-icon">
 			<el-popover placement="bottom" trigger="click" transition="el-zoom-in-top" :width="300" :persistent="false">
 				<template #reference>
@@ -49,7 +49,7 @@
 					<UserNews />
 				</template>
 			</el-popover>
-		</div>
+		</div>-->
 		<div class="layout-navbars-breadcrumb-user-icon mr10" @click="onScreenfullClick">
 			<i
 				class="iconfont"

+ 10 - 8
src/views/system/home/index.vue

@@ -349,7 +349,7 @@ export default defineComponent({
 			apiData: null as ApiData | null,
 			name:'',
 			greeting: '',
-			selectedStatus: '',
+			selectedStatus: '2',
 			selectedPosition: '',
 			selectedTimeRange: '',
 			candidateLoading: false,
@@ -802,7 +802,7 @@ export default defineComponent({
 		};
 		
 		// 获取候选人列表
-		const fetchCandidates = async (params: any = {}) => {
+		const fetchCandidates = async (params: any = { status: '2' }) => {
 			state.candidateLoading = true;
 			try {
 				const queryParams = new URLSearchParams({
@@ -1182,6 +1182,7 @@ $homeNavLengh: 8;
 	
 	.todo-list {
 		padding: 10px 20px; 
+		padding-left: 0;
 		margin-top: 15px;
 		margin-left: 10px;
 		.todo-item {
@@ -1197,6 +1198,7 @@ $homeNavLengh: 8;
 			&.clickable {
 				cursor: pointer;
 				padding: 12px 16px;
+				padding-left: 8px;
 				border-radius: 8px;
 				margin: 8px 0;
 				// background: var(--el-fill-color-lighter);
@@ -1217,12 +1219,12 @@ $homeNavLengh: 8;
 				display: flex;
 				align-items: flex-start;
 				.item_icon{
-				width: 40px;
-				height: 40px;
-				img{
-					width: 100%;
-					height: 100%;
-				}
+					width: 40px;
+					height: 40px;
+					img{
+						width:40px;
+						height:40px;
+					}
 				
 			}.todo-item-text{
 					display: flex;

+ 3 - 3
src/views/system/personal/index.vue

@@ -2,7 +2,7 @@
 	<div class="personal layout-pd">
 		<el-row>
 			<!-- 个人信息 -->
-			<el-col :xs="24" :sm="16">
+			<el-col :xs="24" :sm="24">
 				<el-card shadow="hover" header="个人信息">
 					<div class="personal-user">
 						<div class="personal-user-left">
@@ -44,7 +44,7 @@
 			</el-col>
 
 			<!-- 消息通知 -->
-			<el-col :xs="24" :sm="8" class="pl15 personal-info">
+		<!-- 	<el-col :xs="24" :sm="8" class="pl15 personal-info">
 				<el-card shadow="hover">
 					<template #header>
 						<span>消息通知</span>
@@ -58,7 +58,7 @@
 						</ul>
 					</div>
 				</el-card>
-			</el-col>
+			</el-col> -->
 
 			<!-- 更新信息 -->
 			<el-col :span="24">