Commit 143047b3 authored by liujiangnan's avatar liujiangnan

feat

parent 8d4f9e94
...@@ -94,6 +94,7 @@ body { ...@@ -94,6 +94,7 @@ body {
font-size: 16px; font-size: 16px;
color: #666; color: #666;
margin-bottom: 10px; margin-bottom: 10px;
text-align: center;
} }
.word-card-content .text-cn { .word-card-content .text-cn {
......
...@@ -46,7 +46,9 @@ ...@@ -46,7 +46,9 @@
<i v-if="item.audio_url" class="el-icon-headset audio-icon" @click.stop="playAudio(item.audio_url)"></i> <i v-if="item.audio_url" class="el-icon-headset audio-icon" @click.stop="playAudio(item.audio_url)"></i>
<div v-show="showEnglish"> <div v-show="showEnglish">
<div class="text-en">{{ item.text_en }}</div> <div class="text-en">{{ item.text_en }}</div>
<div v-if="item.phonetic" class="phonetic">[{{ item.phonetic }}]</div> <div v-if="item.phonetic" class="phonetic">
{{ item.phonetic.indexOf('[')>-1?item.phonetic:`[${item.phonetic}]` }}
</div>
</div> </div>
<div class="text-cn" v-show="showChinese">{{ item.text_cn }}</div> <div class="text-cn" v-show="showChinese">{{ item.text_cn }}</div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment