|
@@ -9,7 +9,12 @@
|
|
|
<span>协同建构</span>
|
|
|
</div>
|
|
|
<div class="student_button">
|
|
|
- <el-button type="primary" class="bgColor" @click="goToCourse3()">创建协同建构</el-button>
|
|
|
+ <button class="r_pub_button_course" @mouseenter="btnDisplay = true" @mouseleave="btnDisplay = false">
|
|
|
+ <span @click="goToCourse3()">创建协同建构</span>
|
|
|
+ <!-- <div v-show="btnDisplay" class="buttonBox">
|
|
|
+ <div type="primary" @click="goToCourseSimple()">极速创建</div>
|
|
|
+ </div> -->
|
|
|
+ </button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="reBox">
|
|
@@ -505,6 +510,47 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
},
|
|
|
+ goToCourseSimple(){
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ uid: this.userid,
|
|
|
+ //title: top.US.userInfo.username,
|
|
|
+ title: "黄明浩的创建",
|
|
|
+ brief: "",
|
|
|
+ cover:
|
|
|
+ JSON.stringify([
|
|
|
+ {
|
|
|
+ name: "noBanner.jpg",
|
|
|
+ url: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png",
|
|
|
+ uid: 1656409780264,
|
|
|
+ status: "success",
|
|
|
+ },
|
|
|
+ ]),
|
|
|
+ evaId: "",
|
|
|
+ astudent:"",
|
|
|
+ see: 1,
|
|
|
+ chapters: "",
|
|
|
+ template: "undefined" ,
|
|
|
+ courseType: JSON.stringify(this.courseTypeId),
|
|
|
+ ateacher:"",
|
|
|
+ inviteCode: "",
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ this.ajax
|
|
|
+ .post(this.$store.state.api + "addSynergyCourse", params)
|
|
|
+ .then((res) => {
|
|
|
+ // if (this.steps != 1 && this.steps != 2 && this.steps != 3) {
|
|
|
+ this.$message({
|
|
|
+ message: "新增成功",
|
|
|
+ type: "success",
|
|
|
+ });
|
|
|
+ // }
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ this.$message.error("网络不佳");
|
|
|
+ console.error(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
tableRowClassName({ row, rowIndex }) {
|
|
|
if ((rowIndex + 1) % 2 === 0) {
|
|
|
return "even_row";
|
|
@@ -1279,6 +1325,7 @@ export default {
|
|
|
display: flex;
|
|
|
/* overflow: hidden; */
|
|
|
height: 40px;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.upload-demo {
|
|
@@ -1936,6 +1983,7 @@ export default {
|
|
|
border-radius: 5px;
|
|
|
box-shadow: 0 0 3px 1px #e3e3e3;
|
|
|
width: 100%;
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.buttonBox>div {
|