Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
0b33538c
提交
0b33538c
authored
10月 27, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore:帖子列表修改以及增加帖子楼层
上级
730d90e5
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
20 行增加
和
12 行删除
+20
-12
AddPostDialog.vue
src/modules/teach/posts/components/AddPostDialog.vue
+0
-1
ReplyPostItem.vue
src/modules/teach/posts/components/ReplyPostItem.vue
+9
-0
List.vue
src/modules/teach/posts/views/List.vue
+11
-11
没有找到文件。
src/modules/teach/posts/components/AddPostDialog.vue
浏览文件 @
0b33538c
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
import
AppUpload
from
'@/components/base/AppUpload.vue'
import
AppUpload
from
'@/components/base/AppUpload.vue'
import
type
{
FormInstance
,
FormRules
}
from
'element-plus'
import
type
{
FormInstance
,
FormRules
}
from
'element-plus'
import
{
ElMessage
}
from
'element-plus'
import
{
ElMessage
}
from
'element-plus'
import
{
useProjectList
}
from
'@/composables/useGetProjectList'
import
{
useProjectList
}
from
'@/composables/useGetProjectList'
import
{
createPosts
,
getConditionList
}
from
'../api'
import
{
createPosts
,
getConditionList
}
from
'../api'
import
{
useMapStore
}
from
'@/stores/map'
import
{
useMapStore
}
from
'@/stores/map'
...
...
src/modules/teach/posts/components/ReplyPostItem.vue
浏览文件 @
0b33538c
...
@@ -123,6 +123,7 @@ const getContent = (val: any) => {
...
@@ -123,6 +123,7 @@ const getContent = (val: any) => {
:src=
"props.firstFloor?.avatar || 'https://webapp-pub.ezijing.com/center_resource/avatar.png'"
:src=
"props.firstFloor?.avatar || 'https://webapp-pub.ezijing.com/center_resource/avatar.png'"
class=
"left_avatar"
class=
"left_avatar"
/>
/>
<div
class=
"left_floor"
>
{{
props
.
firstFloor
?.
floor
}}
楼
</div>
<div
class=
"left_name"
>
{{
props
.
firstFloor
?.
name
}}
</div>
<div
class=
"left_name"
>
{{
props
.
firstFloor
?.
name
}}
</div>
<div
class=
"left_remark"
v-if=
"props.firstFloor?.tag !== '老师'"
>
<div
class=
"left_remark"
v-if=
"props.firstFloor?.tag !== '老师'"
>
<img
:src=
"imgUrl"
class=
"remark_img"
/>
<img
:src=
"imgUrl"
class=
"remark_img"
/>
...
@@ -229,6 +230,14 @@ const getContent = (val: any) => {
...
@@ -229,6 +230,14 @@ const getContent = (val: any) => {
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
position
:
relative
;
.left_floor
{
position
:
absolute
;
top
:
5px
;
right
:
10px
;
font-size
:
16px
;
font-weight
:
400
;
color
:
#333333
;
}
.left_logo
{
.left_logo
{
height
:
0
;
height
:
0
;
...
...
src/modules/teach/posts/views/List.vue
浏览文件 @
0b33538c
...
@@ -74,17 +74,17 @@ const listOptions = $computed(() => {
...
@@ -74,17 +74,17 @@ const listOptions = $computed(() => {
{
type
:
'input'
,
prop
:
'name'
,
label
:
'发帖人:'
,
placeholder
:
'发帖人'
}
{
type
:
'input'
,
prop
:
'name'
,
label
:
'发帖人:'
,
placeholder
:
'发帖人'
}
],
],
columns
:
[
columns
:
[
{
label
:
'序号'
,
type
:
'index'
,
align
:
'center'
,
width
:
'100px'
},
{
label
:
'序号'
,
type
:
'index'
,
align
:
'center'
,
width
:
80
},
{
label
:
'帖子标题'
,
prop
:
'title'
,
align
:
'center'
},
{
label
:
'帖子标题'
,
prop
:
'title'
,
align
:
'center'
,
width
:
100
},
{
label
:
'帖子类型'
,
prop
:
'type_name'
,
align
:
'center'
},
{
label
:
'帖子类型'
,
prop
:
'type_name'
,
align
:
'center'
,
width
:
100
},
{
label
:
'发帖人'
,
prop
:
'sso_name'
,
align
:
'center'
},
{
label
:
'发帖人'
,
prop
:
'sso_name'
,
align
:
'center'
,
width
:
100
},
{
label
:
'所属课程'
,
prop
:
'course_name'
,
align
:
'center'
},
{
label
:
'所属课程'
,
prop
:
'course_name'
,
align
:
'center'
,
width
:
200
},
{
label
:
'所属班级'
,
prop
:
'class_name'
,
align
:
'center'
},
{
label
:
'所属班级'
,
prop
:
'class_name'
,
align
:
'center'
,
width
:
200
},
{
label
:
'所属学期'
,
prop
:
'semester_name'
,
align
:
'center'
},
{
label
:
'所属学期'
,
prop
:
'semester_name'
,
align
:
'center'
,
width
:
200
},
{
label
:
'所属机构/院校'
,
prop
:
'organ_name'
,
align
:
'center'
},
{
label
:
'所属机构/院校'
,
prop
:
'organ_name'
,
align
:
'center'
,
width
:
150
},
{
label
:
'回复数量'
,
prop
:
'reply_count'
,
align
:
'center'
},
{
label
:
'回复数量'
,
prop
:
'reply_count'
,
align
:
'center'
,
width
:
100
},
{
label
:
'更新时间'
,
prop
:
'updated_time'
,
align
:
'center'
},
{
label
:
'更新时间'
,
prop
:
'updated_time'
,
align
:
'center'
,
width
:
200
},
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
fixed
:
'right'
,
width
:
20
0
}
{
label
:
'操作'
,
slots
:
'table-operate'
,
align
:
'center'
,
fixed
:
'right'
,
width
:
16
0
}
]
]
}
}
})
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论