|
@@ -1,12 +1,5 @@
|
|
|
<template>
|
|
|
- <div
|
|
|
- v-if="height"
|
|
|
- class="wordDetailModule wordDetailChs"
|
|
|
- :style="{
|
|
|
- height: height,
|
|
|
- maxHeight: height,
|
|
|
- }"
|
|
|
- >
|
|
|
+ <div class="wordDetailModule wordDetailChs">
|
|
|
<div class="module-inner">
|
|
|
<div class="top" v-if="data">
|
|
|
<div class="operation">
|
|
@@ -373,14 +366,14 @@ export default {
|
|
|
initData() {
|
|
|
console.log(this.data);
|
|
|
this.viewIntp();
|
|
|
- let Fathernode = document.getElementsByClassName(
|
|
|
- "NPC-Big-Book-preview"
|
|
|
- )[0];
|
|
|
- if (Fathernode) {
|
|
|
- // this.height = Fathernode.clientHeight + "px";
|
|
|
- this.height = window.innerHeight + "px";
|
|
|
- this.margintop = "-" + window.innerHeight / 2 + "px";
|
|
|
- }
|
|
|
+ // let Fathernode = document.getElementsByClassName(
|
|
|
+ // "NPC-Big-Book-preview"
|
|
|
+ // )[0];
|
|
|
+ // if (Fathernode) {
|
|
|
+ // // this.height = Fathernode.clientHeight + "px";
|
|
|
+ // this.height = window.innerHeight + "px";
|
|
|
+ // this.margintop = "-" + window.innerHeight / 2 + "px";
|
|
|
+ // }
|
|
|
},
|
|
|
handleChangeTab(flag) {
|
|
|
this[flag] = !this[flag];
|