|
@@ -218,11 +218,11 @@
|
|
|
item1.type == 12 ||
|
|
|
item1.type == 13 ||
|
|
|
item1.type == 7
|
|
|
- " :placeholder="item1.name" @change="
|
|
|
+ " v-model="item1.name" :placeholder="item1.name" @change="
|
|
|
updataVideoT(
|
|
|
$event,
|
|
|
unitIndex,
|
|
|
- chapterIndex,
|
|
|
+ 0,
|
|
|
index1
|
|
|
)
|
|
|
" style="
|
|
@@ -243,7 +243,7 @@
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
- " readonly="true" @click="selectAttText(itemTaskIndex, index1)" />
|
|
|
+ " readonly="true" @click="selectAttText(0, index1)" />
|
|
|
<input :placeholder="item1.title ? item1.title : '链接'
|
|
|
" v-if="item1.type == 8" style="
|
|
|
border: none;
|
|
@@ -252,27 +252,27 @@
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
- " readonly="true" @click="selectLine(itemTaskIndex, index1)" />
|
|
|
+ " readonly="true" @click="selectLine(0, index1)" />
|
|
|
</div>
|
|
|
<div class="chapter_upload_ic">
|
|
|
<div class="chapter_upload_noSee" v-if="item1.type == 12">
|
|
|
</div>
|
|
|
<div class="chapter_upload_ud" style="z-index: 99">
|
|
|
- <div class="chapter_upload_up" @click="
|
|
|
+ <div class="chapter_upload_up" @click.stop="
|
|
|
upCd(
|
|
|
$event,
|
|
|
- unitIndex,
|
|
|
- index,
|
|
|
- itemTaskIndex,
|
|
|
- index1
|
|
|
+ unitIndex,
|
|
|
+ index,
|
|
|
+ 0,
|
|
|
+ index1
|
|
|
)
|
|
|
"></div>
|
|
|
- <div class="chapter_upload_down" @click="
|
|
|
+ <div class="chapter_upload_down" @click.stop="
|
|
|
downCd(
|
|
|
$event,
|
|
|
unitIndex,
|
|
|
index,
|
|
|
- itemTaskIndex,
|
|
|
+ 0,
|
|
|
index1
|
|
|
)
|
|
|
"></div>
|
|
@@ -280,10 +280,10 @@
|
|
|
<div class="chapter_upload_ic_r" @click.stop="
|
|
|
deleteChapterData(
|
|
|
$event,
|
|
|
- unitIndex,
|
|
|
- index,
|
|
|
- index1,
|
|
|
- itemTaskIndex
|
|
|
+ unitIndex,
|
|
|
+ index,
|
|
|
+ index1,
|
|
|
+ 0
|
|
|
)
|
|
|
">
|
|
|
<div></div>
|
|
@@ -5790,9 +5790,10 @@ export default {
|
|
|
},
|
|
|
updataVideoT(e, i, j, ic) {
|
|
|
e.stopPropagation();
|
|
|
- this.unitJson[i].chapterInfo[j].taskJson[this.taskCount].chapterData[
|
|
|
+ this.unitJson[i].chapterInfo[0].taskJson[0].chapterData[
|
|
|
ic
|
|
|
- ].name = e.target.value;
|
|
|
+ ].name = JSON.parse(JSON.stringify(e.target.value));
|
|
|
+ this.$forceUpdate();
|
|
|
},
|
|
|
upCd(e, i, j, taskCount, ic) {
|
|
|
e.stopPropagation();
|
|
@@ -5800,9 +5801,9 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
var a =
|
|
|
- this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic - 1];
|
|
|
+ JSON.parse(JSON.stringify(this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic - 1]));
|
|
|
this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic - 1] =
|
|
|
- this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic];
|
|
|
+ JSON.parse(JSON.stringify(this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic]));
|
|
|
this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic] = a;
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
@@ -5811,14 +5812,14 @@ export default {
|
|
|
if (
|
|
|
ic ==
|
|
|
this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData.length -
|
|
|
- 1
|
|
|
+ 1
|
|
|
) {
|
|
|
return;
|
|
|
}
|
|
|
var a =
|
|
|
- this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic + 1];
|
|
|
+ JSON.parse(JSON.stringify(this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic + 1]));
|
|
|
this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic + 1] =
|
|
|
- this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic];
|
|
|
+ JSON.parse(JSON.stringify(this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic]));
|
|
|
this.unitJson[i].chapterInfo[0].taskJson[taskCount].chapterData[ic] = a;
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
@@ -8332,8 +8333,8 @@ export default {
|
|
|
},
|
|
|
goToTask(i) {
|
|
|
$(".rightBox")[0].scrollTop =
|
|
|
- $(".taskBorder")[i].offsetTop +
|
|
|
- $(".taskBorder")[i].parentElement.parentElement.offsetTop;
|
|
|
+ $(".taskBorder")[i+1].offsetTop +
|
|
|
+ $(".taskBorder")[i+1].parentElement.parentElement.offsetTop;
|
|
|
this.isClickColor = i + 1;
|
|
|
},
|
|
|
taskMove(type, index) {
|
|
@@ -10265,7 +10266,7 @@ ol {
|
|
|
}
|
|
|
|
|
|
.leftTools+.leftTools{
|
|
|
- border-top: 2px solid #CAD1DC;
|
|
|
+ border-top: 1px solid #dbdbdb;
|
|
|
padding-top: 30px;
|
|
|
}
|
|
|
.rightTools {
|
|
@@ -10904,7 +10905,7 @@ ol {
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
font-size: 14px;
|
|
|
- color: #ccc;
|
|
|
+ color: #6e6e6e;
|
|
|
}
|
|
|
|
|
|
.uploadFm>img {
|
|
@@ -11370,9 +11371,18 @@ ol {
|
|
|
|
|
|
|
|
|
.isNavTask {
|
|
|
- /* background: #7e9ebd; */
|
|
|
+ background: #3681FC;
|
|
|
}
|
|
|
|
|
|
+.isNavTask .nt_taskName {
|
|
|
+ color: #fff !important;
|
|
|
+}
|
|
|
+
|
|
|
+.isNavTask .nt_taskTitle {
|
|
|
+ color: #AECCFE !important;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
.navTask .nt_taskBox {
|
|
|
width: calc(100% - 40px);
|
|
|
padding: 0 10px 0 20px;
|