Browse Source

解决生词预览提出的问题

liuhaidi123 1 week ago
parent
commit
2accf2a3f3

+ 2 - 1
src/views/book/courseware/preview/components/new_word/NewWordPreview.vue

@@ -927,6 +927,7 @@
                                     ? data.unified_attrib.topic_color
                                     : '#f44444',
                               }"
+                              v-if="itemh.hzDetail.hz_json"
                             />
                           </div>
                         </div>
@@ -1605,7 +1606,7 @@ export default {
     box-sizing: border-box;
 
     // width: 48px;
-    width: 60px;
+    // width: 60px;
     font-family: 'robot', 'alabo';
     text-align: left;
     word-break: break-word;

+ 1 - 0
src/views/book/courseware/preview/components/new_word/components/writeTableZoom.vue

@@ -139,6 +139,7 @@
                   :class="[indexh !== 0 ? 'writeTop-item-noLeft' : '']"
                   class="writeTop-item"
                   :style="{ borderColor: attrib && attrib.topic_color ? attrib.topic_color : '#f44444' }"
+                  v-if="itemh.hzDetail.hz_json"
                 />
               </div>
             </div>