|
@@ -104,8 +104,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="rightBox" v-if="this.steps == 1">
|
|
|
+ <!-- $(".rightBox").scrollHeight -->
|
|
|
+ <div
|
|
|
+ class="updateMask"
|
|
|
+ :style="{ height: rightBoxHeight + 'px' }"
|
|
|
+ v-if="cid && userid != courseUserid"
|
|
|
+ ></div>
|
|
|
<div class="whiteBg">
|
|
|
- <div class="right_title">项目基本信息</div>
|
|
|
+ <div
|
|
|
+ class="right_title"
|
|
|
+ :class="{ updateTips: cid && userid != courseUserid }"
|
|
|
+ >
|
|
|
+ 项目基本信息
|
|
|
+ </div>
|
|
|
<div class="basic_box">
|
|
|
<div class="big_box">
|
|
|
<div class="left_first">
|
|
@@ -3380,6 +3391,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
+ rightBoxHeight: function () {
|
|
|
+ return $(".rightBox")[0] ? $(".rightBox")[0].scrollHeight : 100;
|
|
|
+ },
|
|
|
offsetLetfPx: function () {
|
|
|
//addnum可以直接在模板语法里面用,相当于data内的值
|
|
|
return (
|
|
@@ -4154,7 +4168,7 @@ export default {
|
|
|
_this.unitJson[unitIndex].chapterInfo[0].taskJson[
|
|
|
itemTaskIndex
|
|
|
].proVisible = false;
|
|
|
- this.$forceUpdate();
|
|
|
+ _this.$forceUpdate();
|
|
|
}, 1000);
|
|
|
_this.inputShow = true;
|
|
|
if (err) {
|
|
@@ -7724,6 +7738,7 @@ ol {
|
|
|
overflow: auto;
|
|
|
height: calc(100% - 255px);
|
|
|
margin: 0 auto;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.e_add_top {
|
|
@@ -8292,4 +8307,19 @@ ol {
|
|
|
.stepsNav >>> .el-breadcrumb__inner.is-link:hover {
|
|
|
color: #5c549f;
|
|
|
}
|
|
|
+
|
|
|
+.updateTips::after {
|
|
|
+ content: "协同编辑课程暂不支持修改基本信息,只支持修改阶段内容。";
|
|
|
+ font-size: 14px;
|
|
|
+ margin-left: 20px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ff3a3a;
|
|
|
+}
|
|
|
+
|
|
|
+.updateMask {
|
|
|
+ width: 100%;
|
|
|
+ z-index: 3;
|
|
|
+ top: 0;
|
|
|
+ position: absolute;
|
|
|
+}
|
|
|
</style>
|