|
@@ -5,6 +5,8 @@
|
|
|
top="20vh"
|
|
top="20vh"
|
|
|
:show-close="false"
|
|
:show-close="false"
|
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
|
|
|
+ :modal-append-to-body="true"
|
|
|
|
|
+ :append-to-body="true"
|
|
|
@close="dialogClose"
|
|
@close="dialogClose"
|
|
|
>
|
|
>
|
|
|
<div ref="toolbarMenu" class="toolbar">
|
|
<div ref="toolbarMenu" class="toolbar">
|
|
@@ -56,6 +58,7 @@
|
|
|
import { addTone, handleToneValue } from '@/utils/common';
|
|
import { addTone, handleToneValue } from '@/utils/common';
|
|
|
import RichText from '@/components/RichText.vue';
|
|
import RichText from '@/components/RichText.vue';
|
|
|
import _ from 'lodash';
|
|
import _ from 'lodash';
|
|
|
|
|
+import { fontFamilyList } from '@/views/book/courseware/data/table.js';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'CorrectPinyin',
|
|
name: 'CorrectPinyin',
|
|
@@ -80,24 +83,7 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
numberPinyin: '',
|
|
numberPinyin: '',
|
|
|
- fontFamilyOptions: [
|
|
|
|
|
- {
|
|
|
|
|
- value: '楷体',
|
|
|
|
|
- label: '中文',
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value: 'Sans-GBNPC',
|
|
|
|
|
- label: '拼音',
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value: 'robot',
|
|
|
|
|
- label: '英文',
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value: 'Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif, alabo',
|
|
|
|
|
- label: '系统字体',
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ fontFamilyOptions: fontFamilyList,
|
|
|
fontSizeOptions: [
|
|
fontSizeOptions: [
|
|
|
'8pt',
|
|
'8pt',
|
|
|
'10pt',
|
|
'10pt',
|