canghailong 6 сар өмнө
parent
commit
a8c50b1363

+ 1 - 1
src/views/forum/index.vue

@@ -222,7 +222,7 @@
 	// 查询
 	const onSearch = () => {
 		exType.value = false
-		loadData(pagination.value)
+		resetLoad()
 	}
 	function customRow(record) {
 		return {

+ 14 - 3
src/views/student/classNotice/index.vue

@@ -1,9 +1,9 @@
 <template>
 	<a-card>
-		<a-list item-layout="vertical" size="large" :pagination="pagination" :data-source="listData">
+		<a-list item-layout="vertical" size="large" :pagination="pagination" :data-source="listData" class="listBox">
 			<template #renderItem="{ item }">
-				<a-list-item key="item.title">
-					<a-list-item-meta style="margin-bottom: 0px;">
+				<a-list-item style="padding:5px 24px;">
+					<a-list-item-meta style="margin-bottom: 5px;" :description="platformType(item.platform)">
 						<template #title>{{ item.title }}</template>
 					</a-list-item-meta>
 					{{ item.content }}
@@ -24,6 +24,14 @@
 		},
 		pageSize: 10
 	})
+	const platformType = (t)=>{
+		if(t== 1){
+			return '课程'
+		}
+		if(t== 2){
+			return '考试'
+		}
+	}
 	const getList = () => {
 		classCentre
 			.classNotice({
@@ -43,4 +51,7 @@
 	.index-message-list {
 		overflow: auto;
 	}
+	:deep(.listBox .ant-list-item-meta-title ){
+		margin-bottom: 5px!important;
+	}
 </style>

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
stats.html


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно