Merge branch 'main' of http://113.45.157.195:3003/insiinc/re-mooc
This commit is contained in:
commit
49e34eeeaa
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -202,7 +202,11 @@ export const SortableLecture: React.FC<SortableLectureProps> = ({
|
|||
message: "请输入内容",
|
||||
},
|
||||
]}>
|
||||
<QuillEditor />
|
||||
<QuillEditor
|
||||
style={{
|
||||
width:"700px",
|
||||
}}
|
||||
></QuillEditor>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
name={["meta", "fileIds"]}
|
||||
|
|
Loading…
Reference in New Issue