+
课程简介:
-
+
{{ courseDetails.description }}
@@ -87,9 +92,16 @@ onMounted(() => {
// display: block;
padding-top: 20px;
text-align: center;
- font-size: 24px;
+ font-size: 26px;
font-weight: 700;
color: #333333ff;
+
+ span {
+ margin-left: 40px;
+ font-size: 18px;
+ line-height: 30px;
+ color: #8a8b99;
+ }
}
.box {
@@ -136,12 +148,7 @@ onMounted(() => {
font-family: Inter, Inter;
color: #333333ff;
- span {
- margin-left: 40px;
- font-size: 18px;
- line-height: 30px;
- color: #8a8b99;
- }
+
}
h3 {
@@ -161,23 +168,27 @@ onMounted(() => {
.brief {
border-radius: 4px;
width: 100%;
- height: 50%;
+ height: 80%;
.ull {
display: flex;
flex-wrap: wrap;
margin-top: 10px;
+ align-content: space-around;
+ justify-content: space-between;
}
li {
// margin-top: 10px;
+ // padding-left: 10px;
+
margin-right: 80px;
font-size: 14px;
text-align: center;
- margin-bottom: 15px;
+ margin-bottom: 10px;
p {
- margin-top: 10px;
+ margin-top: 6px;
font-size: 16px;
}
diff --git a/src/views/course/components/course-object.vue b/src/views/course/components/course-object.vue
index 28375a8..8511e65 100644
--- a/src/views/course/components/course-object.vue
+++ b/src/views/course/components/course-object.vue
@@ -10,15 +10,15 @@ import {
getObjectContent,
} from '@/api/user/object'
import { useRoute } from 'vue-router'
-import { ITEM_RENDER_EVT } from 'element-plus/es/components/virtual-list/src/defaults.mjs'
+// import { ITEM_RENDER_EVT } from 'element-plus/es/components/virtual-list/src/defaults.mjs'
const route = useRoute()
// const router = useRouter()
-const courseId = ref(0)
+const courseId = ref()
// 各项目标
const data = ref({})
// 总目标
const params = ref({
- content: '',
+ content: '请添加整体目标',
id: '',
objectiveId: '',
})
diff --git a/src/views/course/components/courseEdit.vue b/src/views/course/components/courseEdit.vue
index 71b25d7..64f26b8 100644
--- a/src/views/course/components/courseEdit.vue
+++ b/src/views/course/components/courseEdit.vue
@@ -127,6 +127,13 @@ const rules = {
trigger: 'change',
},
],
+ description: [
+ {
+ required: true,
+ message: '请输入课程简介',
+ trigger: 'blur',
+ },
+ ]
}
// 按钮禁用
@@ -243,20 +250,11 @@ const upload = async (option: any) => {
-
+
-
+
@@ -295,12 +293,8 @@ const upload = async (option: any) => {
-->
-
+
@@ -316,25 +310,18 @@ const upload = async (option: any) => {
-
+
-
+
考试
- 考察
+ 考查
@@ -344,14 +331,15 @@ const upload = async (option: any) => {
其他
-
+
-
+
+
@@ -367,6 +355,17 @@ const upload = async (option: any) => {
课程简介:
-
+
{{ courseDetails.description }}
@@ -87,9 +92,16 @@ onMounted(() => {
// display: block;
padding-top: 20px;
text-align: center;
- font-size: 24px;
+ font-size: 26px;
font-weight: 700;
color: #333333ff;
+
+ span {
+ margin-left: 40px;
+ font-size: 18px;
+ line-height: 30px;
+ color: #8a8b99;
+ }
}
.box {
@@ -136,12 +148,7 @@ onMounted(() => {
font-family: Inter, Inter;
color: #333333ff;
- span {
- margin-left: 40px;
- font-size: 18px;
- line-height: 30px;
- color: #8a8b99;
- }
+
}
h3 {
@@ -161,23 +168,27 @@ onMounted(() => {
.brief {
border-radius: 4px;
width: 100%;
- height: 50%;
+ height: 80%;
.ull {
display: flex;
flex-wrap: wrap;
margin-top: 10px;
+ align-content: space-around;
+ justify-content: space-between;
}
li {
// margin-top: 10px;
+ // padding-left: 10px;
+
margin-right: 80px;
font-size: 14px;
text-align: center;
- margin-bottom: 15px;
+ margin-bottom: 10px;
p {
- margin-top: 10px;
+ margin-top: 6px;
font-size: 16px;
}
diff --git a/src/views/course/components/course-object.vue b/src/views/course/components/course-object.vue
index 28375a8..8511e65 100644
--- a/src/views/course/components/course-object.vue
+++ b/src/views/course/components/course-object.vue
@@ -10,15 +10,15 @@ import {
getObjectContent,
} from '@/api/user/object'
import { useRoute } from 'vue-router'
-import { ITEM_RENDER_EVT } from 'element-plus/es/components/virtual-list/src/defaults.mjs'
+// import { ITEM_RENDER_EVT } from 'element-plus/es/components/virtual-list/src/defaults.mjs'
const route = useRoute()
// const router = useRouter()
-const courseId = ref(0)
+const courseId = ref()
// 各项目标
const data = ref({})
// 总目标
const params = ref({
- content: '',
+ content: '请添加整体目标',
id: '',
objectiveId: '',
})
diff --git a/src/views/course/components/courseEdit.vue b/src/views/course/components/courseEdit.vue
index 71b25d7..64f26b8 100644
--- a/src/views/course/components/courseEdit.vue
+++ b/src/views/course/components/courseEdit.vue
@@ -127,6 +127,13 @@ const rules = {
trigger: 'change',
},
],
+ description: [
+ {
+ required: true,
+ message: '请输入课程简介',
+ trigger: 'blur',
+ },
+ ]
}
// 按钮禁用
@@ -243,20 +250,11 @@ const upload = async (option: any) => {
-
+
-
+
@@ -295,12 +293,8 @@ const upload = async (option: any) => {
-->
-
+
@@ -316,25 +310,18 @@ const upload = async (option: any) => {
-
+
-
+
考试
- 考察
+ 考查
@@ -344,14 +331,15 @@ const upload = async (option: any) => {
其他
-
+
-
+
+
@@ -367,6 +355,17 @@ const upload = async (option: any) => {
{{ courseDetails.description }}