Browse Source

编辑器-自测bug修复

任一存 2 years ago
parent
commit
90a5da5891

+ 4 - 1
packages/qjkankan-editor/src/components/materialSelector.vue

@@ -277,7 +277,7 @@
 
       :currentMaterialType="currentMaterialType"
       :materialType="'video'"
-      :materialItemCustomProcess="(item) => {item.icon = process.env.VUE_APP_ORIGIN == 'aws' ? item.icon : (item.ossPath + '?x-oss-process=video/snapshot,t_0,f_jpg,w_89,h_50,m_fast,ar_auto');}"
+      :materialItemCustomProcess="videoMaterialItemCustomProcess"
 
       :tableHeaderKeyList="['icon', 'name']"
       
@@ -500,6 +500,9 @@ export default {
         );
       }
     },
+    videoMaterialItemCustomProcess(item) {
+      item.icon = process.env.VUE_APP_ORIGIN == 'aws' ? item.icon : (item.ossPath + '?x-oss-process=video/snapshot,t_0,f_jpg,w_89,h_50,m_fast,ar_auto')
+    },
     onClickComfirm: debounce(function () {
       this.$emit('submit', this.select)
     }, 250),

+ 1 - 0
packages/qjkankan-editor/src/views/hotspot/hotspotType/scene.vue

@@ -151,6 +151,7 @@ export default {
       }
       .scene-title {
         margin-top: 10px;
+        opacity: 0.6;
         display: -webkit-box;
         -webkit-box-orient: vertical;
         -webkit-line-clamp: 2;