|
@@ -3,9 +3,8 @@
|
|
|
<div class="c_pub_button_confirm stopBtn" v-if="loading && isOutlineCancelToken" @click="cancelAjax('outline')">停止</div>
|
|
|
<div class="c_pub_button_confirm stopBtn" v-if="loading && isTeacherTaskCancelToken" @click="cancelAjax('teacherTask')">停止</div>
|
|
|
<div class="pb_content_body" style="position: relative; margin: 0;overflow: hidden;">
|
|
|
- <div class="right" :style="{width:istemplate == 1 ? 'calc(100% - 300px)' : '100%'}">
|
|
|
- <div class="courseTop">
|
|
|
- <div class="stepsNav">
|
|
|
+ <div class="courseTop">
|
|
|
+ <!-- <div class="stepsNav">
|
|
|
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
|
<el-breadcrumb-item :to="{
|
|
|
path:
|
|
@@ -22,9 +21,10 @@
|
|
|
<span style="color: rgb(15, 126, 255)">添加课程</span>
|
|
|
</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
|
- </div>
|
|
|
- <div class="r_pub_button_retrun" @click="retrunCourse">返回</div>
|
|
|
+ </div> -->
|
|
|
+ <div class="r_pub_button_retrun" style="margin-left: auto" @click="retrunCourse">返回</div>
|
|
|
</div>
|
|
|
+ <div class="right" style="height: calc(100% - 36px); margin-top: 36px;" :style="{width:istemplate == 1 ? 'calc(100% - 300px)' : '100%'}">
|
|
|
<!-- <div style="display: flex; margin-top: 20px; position: relative"> -->
|
|
|
<!-- @mouseenter="stepDisplay(true)"
|
|
|
@mouseleave="stepDisplay(false)" -->
|
|
@@ -1250,7 +1250,7 @@
|
|
|
<div class="whiteBg" style="background: #fff; margin: 0 0 10px;padding: 0 0 15px;" v-loading="textLoading" element-loading-text="小可正在努力生成中,请稍等..." v-show="(isuseT === 2)">
|
|
|
<div class="whiteBg" style="border-radius: 0; margin-top: 15px">
|
|
|
<div class="c_info_title" style="margin: 0 20px 0 20px;position:relative;">
|
|
|
- 课程概况<span class="inter_setting" @click="openInterPanSetting2"></span>
|
|
|
+ 课程概况<span class="inter_setting" @click="openInterPanSetting2" v-if="istemplate == 1"></span>
|
|
|
<div class="inter_setting_panel" v-show="interSetting">
|
|
|
<div class="panel_title">配置工作流</div>
|
|
|
<div class="panel_tips">您可在创作者中心中创建工作流后,复制工作流链接并贴入</div>
|
|
@@ -2108,7 +2108,7 @@
|
|
|
<div class="rightBox" v-if="steps == 2" :style="{
|
|
|
height:
|
|
|
!isStepDisplay && !isBtnDisplay
|
|
|
- ? istemplate == 1 ? 'auto' : 'calc(100% - 40px)'
|
|
|
+ ? istemplate == 1 ? 'auto' : 'calc(100% - 20px)'
|
|
|
: istemplate == 1 ? 'auto' : 'calc(100% - 100px)',
|
|
|
}">
|
|
|
<div class="basic_box" style="
|
|
@@ -2261,14 +2261,15 @@
|
|
|
<div class="rightBox" v-if="steps == 3 || istemplate == 1" ref="rightboxR" :style="{
|
|
|
height:
|
|
|
!isStepDisplay && !isBtnDisplay
|
|
|
- ? istemplate == 1 ? 'auto' : 'calc(100% - 40px)'
|
|
|
+ ? istemplate == 1 ? 'auto' : 'calc(100% - 20px)'
|
|
|
: istemplate == 1 ? 'auto' : 'calc(100% - 100px)',
|
|
|
}">
|
|
|
<div class="rb_c_box">
|
|
|
- <div class="rb_c_box_left" v-if="(steps == 3 || istemplate == 1) && unitJson[unitIndex].easy != 1">
|
|
|
+ <div class="rb_c_box_left" v-if="(steps == 3 || istemplate == 1) && unitJson[unitIndex].easy != 1" :style="{width: stepShow ? '270px' : '50px',minWidth: stepShow ? '270px' : '50px',height: stepShow ? '100%' : '45px'}">
|
|
|
<div class="rb_c_nav">
|
|
|
- <span :class="{ active: stepsNav == 1 }" @click="stepsNav = 1">目录</span>
|
|
|
- <span :class="{ active: stepsNav == 2 }" @click="stepsNav = 2">AI助手</span>
|
|
|
+ <span :class="{ active: stepsNav == 1 }" @click="stepsNav = 1" v-show="stepShow">目录</span>
|
|
|
+ <!-- <span :class="{ active: stepsNav == 2 }" @click="stepsNav = 2">AI助手</span> -->
|
|
|
+ <span class="button-toggle" @click="stepShow = !stepShow" style="margin-left: auto">{{ stepShow ? '收缩' : '展开' }}</span>
|
|
|
</div>
|
|
|
<div class="stepsBottom" v-if="stepsNav == 1" :style="{
|
|
|
height:istemplate == 1 ? 'calc(100vh - 300px)' : 'calc(100% - 55px)',
|
|
@@ -5576,7 +5577,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="leftBar" v-if="istemplate == 1">
|
|
|
+ <div class="leftBar" style="height: calc(100% - 36px - 20px);margin-top: 36px;" v-if="istemplate == 1">
|
|
|
<aiTips ttitle="基础资料" title="提取摘要" :detail="aiJson.aiAbstract" pan="aiAbstract" @setAiJson="setAiJson" v-if="!yiKeTemplateArray.includes(templateid)"/>
|
|
|
<aiTips ttitle="基础资料" title="提取目标" :detail="aiJson.aiTarget" pan="aiTarget" @setAiJson="setAiJson" v-if="!yiKeTemplateArray.includes(templateid)"/>
|
|
|
<aiTips ttitle="基础资料" title="智能检索资料" :detail="aiJson.aiSearchFile" pan="aiSearchFile" @setAiJson="setAiJson" v-if="!yiKeTemplateArray.includes(templateid)"/>
|
|
@@ -5606,7 +5607,7 @@
|
|
|
<aiTips ttitle="任务详情" title="任务评价优化" :detail="aiJson.aiDetail4" pan="aiDetail4" @setAiJson="setAiJson" />
|
|
|
<aiTips ttitle="任务详情" title="生成评价细则" :detail="aiJson.aiRateRule" pan="aiRateRule" @setAiJson="setAiJson"/>
|
|
|
</div>
|
|
|
- <div class="leftBar2 resizable" v-show="istemplate != 1 && isDialog == 1 && chatid && isDisplay">
|
|
|
+ <div class="leftBar2 resizable" style="height: calc(100% - 36px - 20px);margin-top: 36px;" v-show="istemplate != 1 && isDialog == 1 && chatid && isDisplay">
|
|
|
<div class="resizer"></div>
|
|
|
<aiBoxRight
|
|
|
:languageSetting="languageSetting"
|
|
@@ -7741,7 +7742,8 @@ export default {
|
|
|
recordVideoText: "",
|
|
|
recordAudioUrl: "",
|
|
|
r_agentid: "",
|
|
|
- course_info: ""
|
|
|
+ course_info: "",
|
|
|
+ stepShow: true,
|
|
|
};
|
|
|
},
|
|
|
directives: {
|
|
@@ -12758,9 +12760,11 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
- 学生个人最终要完成什么?学生小组最终要完成什么?
|
|
|
- 我们可以如何设计评价标准,既关注学习结果又关注过程?`
|
|
|
this.aiJson.recordCheckJindu = this.aiJson.recordCheckJindu ? this.aiJson.recordCheckJindu : `检查以下讨论,查看用户是否讨论了以下问题?如果讨论了,请总结其讨论结果,如果没有,请提醒用户有哪些问题还没有讨论到。
|
|
|
+
|
|
|
+问题:<议程和问题引导>中的问题
|
|
|
|
|
|
讨论:<转文本内容>`
|
|
|
- this.aiJson.recordCourseD = this.aiJson.recordCourseD ? this.aiJson.recordCourseD : `根据以下讨论,为一个<课程标题>的<学科>整合跨学科的,面向<年级>年级学生的项目式学习课程生成课程概况,驱动性问题(有且仅需要生成1个问题)和项目成果&评价标准`
|
|
|
+ this.aiJson.recordCourseD = this.aiJson.recordCourseD ? this.aiJson.recordCourseD : `根据以下<讨论>,为一个<课程标题>的<学科>整合跨学科的,面向<年级>年级学生的项目式学习课程生成课程概况,驱动性问题(有且仅需要生成1个问题)和项目成果&评价标准`
|
|
|
|
|
|
|
|
|
|
|
@@ -27330,9 +27334,12 @@ ol {
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
- width: calc(100% - 40px);
|
|
|
+ width: calc(100%);
|
|
|
margin: 0 auto;
|
|
|
- padding: 10px 0;
|
|
|
+ padding: 10px 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
}
|
|
|
|
|
|
.stepsNav {
|
|
@@ -27355,7 +27362,7 @@ ol {
|
|
|
|
|
|
.stepBox {
|
|
|
width: calc(100% - 40px);
|
|
|
- height: calc(100% - 50px);
|
|
|
+ height: calc(100%);
|
|
|
overflow: hidden;
|
|
|
border-radius: 5px;
|
|
|
margin: 0 auto;
|
|
@@ -29155,6 +29162,8 @@ ol {
|
|
|
width: calc(100% - 20px);
|
|
|
margin: 15px auto 0;
|
|
|
font-size: 18px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
|
|
|
.rb_c_nav span {
|
|
@@ -29474,4 +29483,19 @@ ol {
|
|
|
height: 20px;
|
|
|
width: 20px;
|
|
|
}
|
|
|
+
|
|
|
+.button-toggle {
|
|
|
+ color: #007bff; /* 文本颜色 */
|
|
|
+ cursor: pointer; /* 鼠标悬停时显示手型 */
|
|
|
+ transition: color 0.2s; /* 文字颜色过渡效果 */
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+
|
|
|
+.button-toggle:hover {
|
|
|
+ color: #0056b3; /* 悬停时的文字颜色 */
|
|
|
+}
|
|
|
+
|
|
|
+.button-toggle:focus {
|
|
|
+ outline: none; /* 去掉聚焦时的边框 */
|
|
|
+}
|
|
|
</style>
|