Просмотр исходного кода

Ai应用消息支持图片、选择题预览高度

SanHQin 2 недель назад
Родитель
Сommit
8f7673c54b

+ 1 - 0
src/views/Student/components/ChoiceWorkModal.vue

@@ -537,6 +537,7 @@ const onDragEnd = () => {
 .wp_tool45 {
   width: 100%;
   height: 100%;
+  max-height: 90vh;
   display: flex;
   align-items: center;
   /* justify-content: center; */

+ 10 - 0
src/views/Student/components/choiceQuestionDetailDialog.vue

@@ -181,6 +181,16 @@
                         </div>
                       </div>
                     </template>
+                    <template v-for="(item3,index3) in item.imageUrls" :key="`${index}-${index3}`">
+                      <div class="na_m_item">
+                        <div class="na_m_i_name">
+                          {{ item.type }}
+                        </div>
+                        <div class="na_m_i_content">
+                          <img style="height: 100px;width: auto;" :src="item3" />
+                        </div>
+                      </div>
+                    </template>
                   </div>
                 </div>
               </div>