+
@@ -11,8 +11,9 @@ import {getSetting} from "@/api";
import {onMounted} from "vue";
const iframeSrc = ref('')
+// const iframeSrc = ref('https://www.baidu.com')
// const iframeSrc = ref('https://chatlink.mstatik.com/widget/standalone.html?eid=329d34187acc7ebda66a12a0671e3d70')
-
+const navBarHeight = ref(50)
const _getSetting = () => {
getSetting().then(res => {
@@ -22,6 +23,10 @@ const _getSetting = () => {
}
onMounted(() => {
+ const elementsByClassName = document.getElementById('van-tabbar');
+ if (elementsByClassName) {
+ navBarHeight.value = elementsByClassName.offsetHeight + 1
+ }
_getSetting()
})