|
@@ -48,7 +48,7 @@
|
|
<span class="hanzi content-con">{{itemCon.chs}}</span>
|
|
<span class="hanzi content-con">{{itemCon.chs}}</span>
|
|
</div>
|
|
</div>
|
|
<div style="text-align: left">
|
|
<div style="text-align: left">
|
|
- <span class="pinyin">{{items.detail.wordsList[indexCon + 1].pinyin}}</span>
|
|
|
|
|
|
+ <span class="pinyin" :class="[noFont.indexOf(items.detail.wordsList[indexCon + 1].pinyin)>-1?'noFont':'']">{{items.detail.wordsList[indexCon + 1].pinyin}}</span>
|
|
<span class="hanzi content-con">{{items.detail.wordsList[indexCon + 1].chs}}</span>
|
|
<span class="hanzi content-con">{{items.detail.wordsList[indexCon + 1].chs}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -91,7 +91,7 @@
|
|
<span class="hanzi content-con">{{itemCon.chs}}</span>
|
|
<span class="hanzi content-con">{{itemCon.chs}}</span>
|
|
</div>
|
|
</div>
|
|
<div style="text-align: left">
|
|
<div style="text-align: left">
|
|
- <span class="pinyin">{{items.detail.wordsList[indexCon + 1].pinyin}}</span>
|
|
|
|
|
|
+ <span class="pinyin" :class="[noFont.indexOf(items.detail.wordsList[indexCon + 1].pinyin)>-1?'noFont':'']">{{items.detail.wordsList[indexCon + 1].pinyin}}</span>
|
|
<span class="hanzi content-con">{{items.detail.wordsList[indexCon + 1].chs}}</span>
|
|
<span class="hanzi content-con">{{items.detail.wordsList[indexCon + 1].chs}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -127,6 +127,7 @@ export default {
|
|
wordShow: ["1"],
|
|
wordShow: ["1"],
|
|
textareaCon: '', // 输入框
|
|
textareaCon: '', // 输入框
|
|
chsFhList: [",", "。", "“", ":", "》", "《", "?", "!", ";"],
|
|
chsFhList: [",", "。", "“", ":", "》", "《", "?", "!", ";"],
|
|
|
|
+ noFont: ['~','!','@','#','$','%','^','&','*','(',')'], // 对应不要拼音字体
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
@@ -268,6 +269,9 @@ export default {
|
|
line-height: 16px;
|
|
line-height: 16px;
|
|
color: #000000;
|
|
color: #000000;
|
|
height: 16px;
|
|
height: 16px;
|
|
|
|
+ &.noFont{
|
|
|
|
+ font-family: initial;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.synthesis-box{
|
|
.synthesis-box{
|
|
display: flex;
|
|
display: flex;
|