|
@@ -142,7 +142,7 @@
|
|
|
class="definition-box"
|
|
class="definition-box"
|
|
|
:style="{
|
|
:style="{
|
|
|
flex: '1',
|
|
flex: '1',
|
|
|
- marginTop: data.mp3_list ? '104px' : '36px',
|
|
|
|
|
|
|
+ marginTop: data.mp3_list || data.bg || data.ed ? '104px' : '36px',
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
<div v-if="data.cixing">
|
|
<div v-if="data.cixing">
|
|
@@ -160,7 +160,11 @@
|
|
|
class="definition-box"
|
|
class="definition-box"
|
|
|
:style="{
|
|
:style="{
|
|
|
width:
|
|
width:
|
|
|
- !(data.collocation || data.liju_list) && data.new_word.length < 4 ? data.hz_info.length * 98 + 'px' : '',
|
|
|
|
|
|
|
+ !(data.collocation || data.liju_list) && data.new_word.length < 4
|
|
|
|
|
+ ? data.new_word.length > 2
|
|
|
|
|
+ ? data.hz_info.length * 150 + 'px'
|
|
|
|
|
+ : '290px'
|
|
|
|
|
+ : '',
|
|
|
margin: !(data.collocation || data.liju_list) && data.new_word.length < 4 ? '16px auto 0 auto' : '',
|
|
margin: !(data.collocation || data.liju_list) && data.new_word.length < 4 ? '16px auto 0 auto' : '',
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|