YM
2024-11-20 ea48465dfc539cbc8b77c6b11ab30a636e5496a2
src/views/readerPages/webHome.vue
@@ -12,6 +12,9 @@
        <div v-else>
          <div class="layout hover" @click="goLogin">登录</div>
        </div>
        <!-- <div>
          <div class="layout hover" @click="openFormulaDialog">公式</div>
        </div> -->
      </div>
    </div>
    <div class="contentBox">
@@ -1277,6 +1280,16 @@
      <wrongQuestion />
    </div>
  </el-dialog>
  <el-dialog
    title="公式编辑"
    align-center
    v-model="formulaDialog"
    class="myDialogs"
  >
    <div class="wendabox">
      <formula />
    </div>
  </el-dialog>
  <!-- 答题器 -->
  <examination
    ref="examinationRef"
@@ -1287,7 +1300,8 @@
  />
  <!-- 计算器 -->
  <el-dialog title="计算器" align-center v-model="calculatorVisble" width="850" class="myDialogs">
    <calculatorNew></calculatorNew>
    <!-- <calculatorNew></calculatorNew> -->
    <iframe src="https://www.geogebra.org/scientific" frameborder="0" class="iframe-box"></iframe>
  </el-dialog>
</template>
<script setup lang="ts">
@@ -1306,6 +1320,7 @@
import moment from 'moment'
import dictionary from '@/views/components/dictionary.vue'
import newWord from '@/views/components/newWord.vue'
import formula from '@/views/components/formula.vue'
import wrongQuestion from '@/views/components/wrongQuestion.vue'
import voiceReader from '@/views/components/voiceReader.vue'
import logo from '@/assets/images/header/logo.png'
@@ -4118,6 +4133,11 @@
    })
  }
}
const formulaDialog = ref(false)
const openFormulaDialog = () => {
  formulaDialog.value = true
}
</script>
<style lang="less">
@@ -5391,4 +5411,8 @@
  bottom: 30px;
  left: 50px;
}
.iframe-box {
  width:100%;
  height: 800px;
}
</style>