Explorar el Código

编辑器-热点界面 进行中

任一存 hace 2 años
padre
commit
1bad8859ab

+ 0 - 6
packages/qjkankan-editor/src/views/hotspot/EditPanel.vue

@@ -97,12 +97,6 @@
         </div>
         
         <div class="effect-setting">
-          <div class="effect-setting-title">{{$i18n.t('hotspot.effect_settings')}}</div>
-          <combox
-            class="combox"
-            :data="hotspotTypeList"
-            :selected-id="hotspot.hotspotType"
-            :bottomSpace="comboxBottomSpace"
             @change="onHotSpotTypeChange"
           />
           <component

+ 4 - 4
packages/qjkankan-editor/src/views/hotspot/HotSpotList.vue

@@ -241,8 +241,8 @@ export default {
           type: '',
           img: '',
           link: '',
-          titleDisplayMode: 'always',
-          titlePosition: 'top',
+          titleDisplayMode: 'always', // 'always' | 'never' | 'hover' 标题显示方式
+          titlePosition: 'top', // 'top' | 'bottom' | 'left' | 'right' | 'custom' 标题相对图标位置
           ath: '',
           atv: '',
           size: 1,
@@ -261,13 +261,13 @@ export default {
         if (!hotspotData.hotspotIconType) {
           hotspotData.hotspotIconType = 'system'
         }
-        // v1.3把visible: Boolean换成了titleDisplayMode: 'always' | 'never' | 'hover'
+        // v1.3把visible: Boolean换成了titleDisplayMode
         if (hotspotData.visible) {
           hotspotData.titleDisplayMode = 'always'
         } else if (hotspotData.visible === false) {
           hotspotData.titleDisplayMode = 'never'
         }
-        // v1.3新增了titlePosition: 'top' | 'bottom' | 'left' | 'right' | 'custom'
+        // v1.3新增了titlePosition
         if (!hotspotData.titlePosition) {
           hotspotData.titlePosition = 'top'
         }