|
@@ -160,7 +160,10 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="whiteBg" style="border-radius: 0; margin-top: 15px">
|
|
<div class="whiteBg" style="border-radius: 0; margin-top: 15px">
|
|
- <div class="right_title">上传课程内容</div>
|
|
|
|
|
|
+ <div class="right_title">
|
|
|
|
+ <span>上传课程内容</span>
|
|
|
|
+ <el-button type="primary" @click="pasteTask" size="small">智能粘贴</el-button>
|
|
|
|
+ </div>
|
|
<div style=" padding: 0 0 50px 20px;display: flex;">
|
|
<div style=" padding: 0 0 50px 20px;display: flex;">
|
|
<div class="course_left">
|
|
<div class="course_left">
|
|
<div class="stepsBottom2">
|
|
<div class="stepsBottom2">
|
|
@@ -230,6 +233,24 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div style="padding: 25px 0 10px 30px;">
|
|
|
|
+ <!-- <editor-bar style="width: 90% !important; margin: 0" placeholder="请输入任务描述" v-model="unitJson[unitIndex].chapterInfo[0].taskJson[
|
|
|
|
+ itemTaskIndex
|
|
|
|
+ ].taskDetail
|
|
|
|
+ " @change="change"></editor-bar> -->
|
|
|
|
+ <textarea
|
|
|
|
+ rows="2"
|
|
|
|
+ class="binfo_input"
|
|
|
|
+ placeholder="请输入任务描述"
|
|
|
|
+ cols
|
|
|
|
+ style="width: 90% !important; resize:none"
|
|
|
|
+ v-model="
|
|
|
|
+ unitJson[unitIndex].chapterInfo[0].taskJson[
|
|
|
|
+ itemTaskIndex
|
|
|
|
+ ].taskDetail
|
|
|
|
+ "
|
|
|
|
+ ></textarea>
|
|
|
|
+ </div>
|
|
<div class="basic_box" style="
|
|
<div class="basic_box" style="
|
|
margin: 0;
|
|
margin: 0;
|
|
min-height: 0;
|
|
min-height: 0;
|
|
@@ -3468,12 +3489,12 @@ export default {
|
|
// document.querySelector('.stepsBottom2').scrollHeight
|
|
// document.querySelector('.stepsBottom2').scrollHeight
|
|
|
|
|
|
let stepsBottom2 = $(".stepsBottom2")[0].clientHeight
|
|
let stepsBottom2 = $(".stepsBottom2")[0].clientHeight
|
|
|
|
+ // let client = $(".course_left")[0].clientHeight - stepsBottom2
|
|
let client = $(".course_left")[0].clientHeight - stepsBottom2
|
|
let client = $(".course_left")[0].clientHeight - stepsBottom2
|
|
- let top = $(".rightBox")[0].scrollTop - 400
|
|
|
|
- // if (top > client) {
|
|
|
|
- // let top = $(".rightBox")[0].offsetTop
|
|
|
|
- // $('.stepsBottom2')[0].style.position = 'fixed'
|
|
|
|
- // $('.stepsBottom2')[0].style.top = top + 'px'
|
|
|
|
|
|
+ let top = $(".rightBox")[0].scrollTop - 300 - stepsBottom2
|
|
|
|
+ // if (top < client) {
|
|
|
|
+ // $('.stepsBottom2')[0].style.position = 'absolute'
|
|
|
|
+ // $('.stepsBottom2')[0].style.top = 0 + 'px'
|
|
// // $('.stepsBottom2')[0].style.top = client + 'px'
|
|
// // $('.stepsBottom2')[0].style.top = client + 'px'
|
|
// } else
|
|
// } else
|
|
if (top > 0) {
|
|
if (top > 0) {
|
|
@@ -7991,12 +8012,14 @@ export default {
|
|
|
|
|
|
.right_title {
|
|
.right_title {
|
|
height: 30px;
|
|
height: 30px;
|
|
- padding: 15px 0 15px 20px;
|
|
|
|
|
|
+ padding: 15px 20px 15px 20px;
|
|
border-bottom: 1px solid #f2f2f2;
|
|
border-bottom: 1px solid #f2f2f2;
|
|
font-size: 1.5em;
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
color: #0f7eff;
|
|
color: #0f7eff;
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
|
|
.people {
|
|
.people {
|