Przeglądaj źródła

课文气泡默认14pt 字体跟随

natasha 2 tygodni temu
rodzic
commit
a9ce81cad0

+ 1 - 1
src/views/book/courseware/create/components/question/article/Notes.vue

@@ -28,7 +28,7 @@
             v-model="scope.row.con"
             :inline="true"
             :item-index="scope.$index"
-            :font-size="unifiedAttrib?.font_size"
+            :font-size="'14pt'"
             :font-family="unifiedAttrib?.font"
             :font-color="unifiedAttrib?.text_color"
             toolbar="fontselect fontsizeselect forecolor backcolor | underline | bold italic strikethrough alignleft aligncenter alignright image media link"

+ 14 - 7
src/views/book/courseware/preview/components/article/NormalModelChs.vue

@@ -171,7 +171,8 @@
                               slot="content"
                               :style="{
                                 color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                fontSize: '14pt',
+                                fontFamily: attrib && attrib.font ? attrib.font : '',
                               }"
                               v-html="item.wordsList[pIndex - 2].matchNotesObj.con"
                             ></div>
@@ -408,7 +409,8 @@
                               slot="content"
                               :style="{
                                 color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                fontSize: '14pt',
+                                fontFamily: attrib && attrib.font ? attrib.font : '',
                               }"
                               v-html="item.wordsList[pIndex - 1].matchNotesObj.con"
                             ></div>
@@ -642,7 +644,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="pItem.matchNotesObj.con"
                               ></div>
@@ -890,7 +893,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex + 1].matchNotesObj.con"
                               ></div>
@@ -1146,7 +1150,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex + 2].matchNotesObj.con"
                               ></div>
@@ -1406,7 +1411,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex + 3].matchNotesObj.con"
                               ></div>
@@ -1653,7 +1659,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="pItem.matchNotesObj.con"
                               ></div>

+ 14 - 7
src/views/book/courseware/preview/components/article/PhraseModelChs.vue

@@ -157,7 +157,8 @@
                               slot="content"
                               :style="{
                                 color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                fontSize: '14pt',
+                                fontFamily: attrib && attrib.font ? attrib.font : '',
                               }"
                               v-html="item.wordsList[pIndex - 2].matchNotesObj.con"
                             ></div>
@@ -315,7 +316,8 @@
                               slot="content"
                               :style="{
                                 color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                fontSize: '14pt',
+                                fontFamily: attrib && attrib.font ? attrib.font : '',
                               }"
                               v-html="item.wordsList[pIndex - 1].matchNotesObj.con"
                             ></div>
@@ -468,7 +470,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="pItem.matchNotesObj.con"
                               ></div>
@@ -646,7 +649,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex + 1].matchNotesObj.con"
                               ></div>
@@ -816,7 +820,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex + 2].matchNotesObj.con"
                               ></div>
@@ -989,7 +994,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex + 3].matchNotesObj.con"
                               ></div>
@@ -1147,7 +1153,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="pItem.matchNotesObj.con"
                               ></div>

+ 12 - 6
src/views/book/courseware/preview/components/dialogue_article/NormalModelChs.vue

@@ -233,7 +233,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex - 2].matchNotesObj.con"
                               ></div>
@@ -438,7 +439,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex - 1].matchNotesObj.con"
                               ></div>
@@ -640,7 +642,8 @@
                                   slot="content"
                                   :style="{
                                     color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                    fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                    fontSize: '14pt',
+                                    fontFamily: attrib && attrib.font ? attrib.font : '',
                                   }"
                                   v-html="pItem.matchNotesObj.con"
                                 ></div>
@@ -858,7 +861,8 @@
                                   slot="content"
                                   :style="{
                                     color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                    fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                    fontSize: '14pt',
+                                    fontFamily: attrib && attrib.font ? attrib.font : '',
                                   }"
                                   v-html="item.wordsList[pIndex + 1].matchNotesObj.con"
                                 ></div>
@@ -1062,7 +1066,8 @@
                                   slot="content"
                                   :style="{
                                     color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                    fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                    fontSize: '14pt',
+                                    fontFamily: attrib && attrib.font ? attrib.font : '',
                                   }"
                                   v-html="item.wordsList[pIndex + 2].matchNotesObj.con"
                                 ></div>
@@ -1259,7 +1264,8 @@
                                   slot="content"
                                   :style="{
                                     color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                    fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                    fontSize: '14pt',
+                                    fontFamily: attrib && attrib.font ? attrib.font : '',
                                   }"
                                   v-html="pItem.matchNotesObj.con"
                                 ></div>

+ 12 - 6
src/views/book/courseware/preview/components/dialogue_article/PhraseModelChs.vue

@@ -222,7 +222,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex - 2].matchNotesObj.con"
                               ></div>
@@ -399,7 +400,8 @@
                                 slot="content"
                                 :style="{
                                   color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                  fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                  fontSize: '14pt',
+                                  fontFamily: attrib && attrib.font ? attrib.font : '',
                                 }"
                                 v-html="item.wordsList[pIndex - 1].matchNotesObj.con"
                               ></div>
@@ -571,7 +573,8 @@
                                   slot="content"
                                   :style="{
                                     color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                    fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                    fontSize: '14pt',
+                                    fontFamily: attrib && attrib.font ? attrib.font : '',
                                   }"
                                   v-html="pItem.matchNotesObj.con"
                                 ></div>
@@ -695,7 +698,8 @@
                                   slot="content"
                                   :style="{
                                     color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                    fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                    fontSize: '14pt',
+                                    fontFamily: attrib && attrib.font ? attrib.font : '',
                                   }"
                                   v-html="item.wordsList[pIndex + 1].matchNotesObj.con"
                                 ></div>
@@ -857,7 +861,8 @@
                                   slot="content"
                                   :style="{
                                     color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                    fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                    fontSize: '14pt',
+                                    fontFamily: attrib && attrib.font ? attrib.font : '',
                                   }"
                                   v-html="item.wordsList[pIndex + 2].matchNotesObj.con"
                                 ></div>
@@ -1024,7 +1029,8 @@
                                   slot="content"
                                   :style="{
                                     color: attrib && attrib.text_color ? attrib.text_color : '#de4444',
-                                    fontSize: attrib && attrib.font_size ? attrib.font_size : '',
+                                    fontSize: '14pt',
+                                    fontFamily: attrib && attrib.font ? attrib.font : '',
                                   }"
                                   v-html="pItem.matchNotesObj.con"
                                 ></div>