rht03022103

This commit is contained in:
Rao 2025-03-02 21:03:35 +08:00
parent 37eff0e67c
commit f3d63d125d
3 changed files with 57 additions and 47 deletions

View File

@ -82,8 +82,10 @@ export default function ResourcesShower({
</Image.PreviewGroup>
</Row>
)}
<div className=" text-sm px-2">:</div>
{fileResources.length > 0 && (
<>
<div className=" text-sm px-2">:</div>
<div className="rounded-xl p-1 border border-gray-100 bg-white">
<div className="flex flex-nowrap overflow-x-auto scrollbar-hide gap-1.5">
{fileResources.map((resource) => {
@ -130,6 +132,7 @@ export default function ResourcesShower({
})}
</div>
</div>
</>
)}
</div>
);

View File

@ -69,12 +69,15 @@ export const CourseDetailDescription: React.FC = () => {
<div className="text-lg font-bold">{"课程简介:"}</div>
<div className="flex flex-col gap-2">
<div className="flex gap-2 flex-wrap items-center float-start">
{post?.subTitle && <div>{post?.subTitle}</div>}
<TermInfo terms={post.terms}></TermInfo>
</div>
<div className="flex gap-2 flex-wrap items-center float-start pl-2">
{post?.subTitle && <div>{post?.subTitle}</div>}
{/* <TermInfo terms={post.terms}></TermInfo> */}
</div>
</div>
<Paragraph
className="text-gray-600"
className="text-gray-600 pl-2"
ellipsis={{
rows: 3,
expandable: true,

View File

@ -202,7 +202,11 @@ export const SortableLecture: React.FC<SortableLectureProps> = ({
message: "请输入内容",
},
]}>
<QuillEditor />
<QuillEditor
style={{
width:"700px",
}}
></QuillEditor>
</Form.Item>
<Form.Item
name={["meta", "fileIds"]}