|
@@ -8,7 +8,7 @@
|
|
|
class="dialog_diy fullStyle"
|
|
|
>
|
|
|
<div class="engUpBox">
|
|
|
- <div class="engUpTop">
|
|
|
+ <div class="engUpTop2">
|
|
|
<div class="engTitle">
|
|
|
<div>作文题目:</div>
|
|
|
<div>{{ evaEngJson.teacherJson.engTitle }}</div>
|
|
@@ -287,17 +287,17 @@ export default {
|
|
|
watch: {
|
|
|
engEvaDialogVisible: {
|
|
|
handler(newVal) {
|
|
|
- if (newVal == true) {
|
|
|
+ if (newVal) {
|
|
|
this.aiList.engText = this.evaEngJson.message.aiCode;
|
|
|
this.teacherList.engText = this.evaEngJson.message.teacherCode;
|
|
|
this.$forceUpdate();
|
|
|
this.timer = setInterval(() => {
|
|
|
this.topHeight =
|
|
|
- document.querySelectorAll(".engUpTop")[0].offsetHeight;
|
|
|
- }, 1000);
|
|
|
+ document.querySelectorAll(".engUpTop2")[0].offsetHeight ? document.querySelectorAll(".engUpTop2")[0].offsetHeight : 0 - 50;
|
|
|
+ }, 500);
|
|
|
// setTimeout(() => {
|
|
|
// this.topHeight =
|
|
|
- // document.querySelectorAll(".engUpTop")[0].offsetHeight;
|
|
|
+ // document.querySelectorAll(".engUpTop2")[0].offsetHeight;
|
|
|
// }, 500);
|
|
|
}else{
|
|
|
clearInterval(this.timer);
|