diff --git a/src/components/FileTypeImg.vue b/src/components/FileTypeImg.vue index 15ad1c4..6b7f252 100644 --- a/src/components/FileTypeImg.vue +++ b/src/components/FileTypeImg.vue @@ -1,7 +1,6 @@ \ No newline at end of file diff --git a/src/views/faceteach/FaceTeach.vue b/src/views/faceteach/FaceTeach.vue index afee35f..035429e 100644 --- a/src/views/faceteach/FaceTeach.vue +++ b/src/views/faceteach/FaceTeach.vue @@ -24,7 +24,9 @@
- {{ dayjs(data.planDto?.beginTime).format('YYYY-MM-DD HH:MM') + " 至 " + dayjs(data.planDto?.endTime).format('YYYY-MM-DD HH:MM') }} + {{ dayjs(data.planDto?.beginTime).format('YYYY-MM-DD HH:MM') + " 至 " + + dayjs(data.planDto?.endTime).format('YYYY-MM-DD HH:MM') + }}
@@ -39,12 +41,12 @@ background: data.signFlag ? '#999' : 'rgb(57, 146, 249)', }" @click="signClick">{{ data.signFlag ? "已签到" : "签到" }} - + 评估 {{data.isSurvery ? "已评估" : "评估"}} + }" class="btn" @click="toSurvery" v-else>{{ data.isSurvery ? "已评估" : "评估" }}
@@ -65,33 +67,34 @@ - +
- + -
+
此课程无附件
-
- -
{{ el.name }}
+
{{ el.slice(el.indexOf('-') + 1) }}
-
+
下载
-
+
下载
@@ -99,8 +102,8 @@
- -
+ +
{{ data.workDto?.workName }}
@@ -109,19 +112,23 @@
-
已结束
-
未开始
+
已结束
+
未开始
+ :style="{ background: new Date(data.planDto.beginTime).getTime() > new Date().getTime() ? '#999' : '' }" + class="submit" @click="toWork" v-else> 交作业
-
+
此课程无作业
- - + +
@@ -134,15 +141,18 @@
考试
-
已结束
-
未开始
+
已结束
+
未开始
去考试
-
+
此课程无考试
@@ -207,7 +217,7 @@ const state = reactive({ }); const { activeName, enclosure, isAllowSign } = toRefs(state); const handleClick = (tab, event) => { - console.log("附件",tab, event); + console.log("附件", tab, event); }; const download = (url) => { window.open(url); @@ -215,6 +225,13 @@ const download = (url) => { const downloads = (url) => { ElMessage.warning("未到开始时间,请耐心等待!"); }; + +function formateArr(strs) { + let arrs = strs.split(',') + console.log('112233', arrs) + return arrs +} + let timer = null; //判断能否签到 function isSignClick() { @@ -491,11 +508,13 @@ onUnmounted(() => { background: #ffffff; border-radius: 8px; margin-top: 20px; - .wenxintishi{ + + .wenxintishi { display: flex; justify-content: stretch; padding: 72px; } + .el-tabs__item { height: 69px; padding: 25px 7px 0px 52px; @@ -609,7 +628,7 @@ onUnmounted(() => { padding: 25px 0px; display: flex; position: relative; - + // align-items: center; } @@ -620,40 +639,40 @@ onUnmounted(() => { } .teacheritem { - .nameSpan{ + .nameSpan { width: 190px; display: flex; align-items: center; justify-content: center; - + .teacherName { - font-size: 14px; - font-weight: bold; - color: #394145; - display: flex; - align-items: center; + font-size: 14px; + font-weight: bold; + color: #394145; + display: flex; + align-items: center; } } - - + + } - + .teacheritem { - .nameSpan{ + .nameSpan { width: 190px; display: flex; align-items: center; justify-content: center; - + .teacherName { - font-size: 14px; - font-weight: bold; - color: #394145; - display: flex; - align-items: center; + font-size: 14px; + font-weight: bold; + color: #394145; + display: flex; + align-items: center; } } - + } .teacheritem .introduce { diff --git a/src/views/faceteach/FaceTeachSignUp.vue b/src/views/faceteach/FaceTeachSignUp.vue new file mode 100644 index 0000000..a32d6be --- /dev/null +++ b/src/views/faceteach/FaceTeachSignUp.vue @@ -0,0 +1,496 @@ + + + + + +