|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="pb_content" style="background: #F0F2F5;" v-loading.fullscreen.lock="uploadWorkLoading">
|
|
|
+ <div class="pb_content loadingColor" style="background: #F0F2F5;" v-loading.fullscreen.lock="uploadWorkLoading">
|
|
|
<confirm-dialog
|
|
|
:visible.sync="confirmVisible"
|
|
|
:title="confirmTitle"
|
|
|
@@ -446,7 +446,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="image-grid" v-loading="imageloading">
|
|
|
+ <div class="image-grid loadingColor" v-loading="imageloading">
|
|
|
<div class="picNone" v-if="!imageList.length && !imageloading">
|
|
|
{{ lang.ssEnterKeywordSearch }}
|
|
|
</div>
|
|
|
@@ -682,7 +682,7 @@
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<el-dialog :title="lang.ssAddH5" :visible.sync="dialogVisible7" :append-to-body="true" width="500px"
|
|
|
- :before-close="handleClose" class="dialog_diy lineCss" v-loading="isAddOrUpdateLineLoading">
|
|
|
+ :before-close="handleClose" class="dialog_diy lineCss loadingColor" v-loading="isAddOrUpdateLineLoading">
|
|
|
<el-form>
|
|
|
<el-form-item :label="lang.ssTitle" :label-width="formLabelWidth" v-show="false">
|
|
|
<span>
|
|
|
@@ -833,7 +833,7 @@
|
|
|
</div>
|
|
|
<GradeClassSelector
|
|
|
v-model="checkboxList2"
|
|
|
- :grade-options="gradeOptions"
|
|
|
+ :grade-options="gradeOptions2"
|
|
|
:class-options="classOptions"
|
|
|
:lang="lang"
|
|
|
@gradeChange="onGradeChange"
|
|
|
@@ -878,7 +878,7 @@
|
|
|
<div class="form-row">
|
|
|
<div class="form-item" style="flex: 1;">
|
|
|
<label class="form-label">{{ lang.ssCourseCover }}</label>
|
|
|
- <div class="cover-upload-area" v-loading="avatar_loading">
|
|
|
+ <div class="cover-upload-area loadingColor" v-loading="avatar_loading">
|
|
|
<div class="cover-placeholder" v-if="!cover.length">
|
|
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<g id="Component 2">
|
|
|
@@ -1186,6 +1186,7 @@ export default {
|
|
|
selectedGrade: [],
|
|
|
subjectOptions: [],
|
|
|
gradeOptions: [],
|
|
|
+ gradeOptions2: [],
|
|
|
avatar_loading: false,
|
|
|
isAddOrUpdateLineLoading: false,
|
|
|
};
|
|
|
@@ -1352,8 +1353,8 @@ export default {
|
|
|
}));
|
|
|
|
|
|
// 初始化年级选项,添加全部班级选项
|
|
|
- this.gradeOptions = [
|
|
|
- { id: '', name: '全部班级' }
|
|
|
+ this.gradeOptions2 = [
|
|
|
+ { id: '', name: this.lang.allGrades }
|
|
|
].concat(this.gradeArray.map(item => ({
|
|
|
id: item.id,
|
|
|
name: item.name
|
|
|
@@ -1634,7 +1635,8 @@ export default {
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "copyCourse2", params)
|
|
|
.then((res) => {
|
|
|
- this.$message.success(this.lang.Successfullycopy)
|
|
|
+ // this.$message.success(this.lang.Successfullycopy)
|
|
|
+ // this.showToast(this.lang.Successfullycopy);
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
console.error(err);
|
|
|
@@ -3547,6 +3549,7 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+
|
|
|
.dialog_diy>>>.el-dialog__header {
|
|
|
background: #3c3c3c !important;
|
|
|
padding: 15px 20px;
|
|
|
@@ -5106,6 +5109,16 @@ export default {
|
|
|
cursor: pointer;
|
|
|
transition: color 0.3s;
|
|
|
font-size: 18px;
|
|
|
+ background-color: #fff8f0;
|
|
|
+ border: 1px solid #f89a3d;
|
|
|
+ width: fit-content;
|
|
|
+ margin: 0 auto;
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ outline: 0;
|
|
|
+ padding: 0 15px;
|
|
|
+ border-radius: 4px;
|
|
|
+ box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.course-name-text:hover {
|