|
@@ -63,6 +63,11 @@ import checkImg from '../../../assets/icon/sourceFile/check.png'
|
|
|
import checkIsImg from '../../../assets/icon/sourceFile/check_is.png'
|
|
|
|
|
|
export default {
|
|
|
+ props: {
|
|
|
+ unitJson: {
|
|
|
+ type: Array,
|
|
|
+ },
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
array: [
|
|
@@ -84,6 +89,15 @@ export default {
|
|
|
loading: false
|
|
|
}
|
|
|
},
|
|
|
+ watch: {
|
|
|
+ unitJson: {
|
|
|
+ immediate: true,
|
|
|
+ deep: true,
|
|
|
+ handler(newValue, oldValue) {
|
|
|
+ this.course = this.unitJson[0].chapterInfo[0].taskJson
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
methods: {
|
|
|
addContent() {
|
|
|
if (this.courseText) {
|
|
@@ -129,7 +143,7 @@ export default {
|
|
|
答案:
|
|
|
1.保温杯通常使用不锈钢或陶瓷作为内胆材料,因为这些材料是热的不良导体,可以有效减缓热量的散失。
|
|
|
2.一个创新的保温杯设计方案可能是采用多层结构,内层为不锈钢,中间层为真空隔热层,外层为塑料保护层。这种设计可以有效隔绝外界温度对热水温度的影响。
|
|
|
-在设计保温杯时,需要考虑的环境因素包括材料的可回收性、生产过程中的能源消耗和废弃物处理等。`, role: 2
|
|
|
+在设计保温杯时,需要考虑的环境因素包括材料的可回收性、生产过程中的能源消耗和废弃物处理等。`, role: 1
|
|
|
})
|
|
|
}else if(this.courseText == '请你重新设计该任务,我没有感温粉末。'){
|
|
|
this.array.push({text:`任务一:探究热的传递方式
|