|
@@ -1,97 +1,70 @@
|
|
|
+import { i18n } from "@/lang"
|
|
|
+
|
|
|
export default [
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '切换场景',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/scene.png'),
|
|
|
+ name: i18n.t('hotspot.scene'),
|
|
|
id: 'scene',
|
|
|
isExperience: false,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '图片',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/image.png'),
|
|
|
+ name: i18n.t('hotspot.image'),
|
|
|
id: 'image',
|
|
|
isExperience: false,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '视频',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/video.png'),
|
|
|
+ name: i18n.t('hotspot.video'),
|
|
|
id: 'video',
|
|
|
isExperience: false,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '音频',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/audio.png'),
|
|
|
+ name: i18n.t('hotspot.audio'),
|
|
|
id: 'audio',
|
|
|
isExperience: false,
|
|
|
},
|
|
|
{
|
|
|
icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '链接',
|
|
|
+ name: i18n.t('hotspot.link'),
|
|
|
id: 'link',
|
|
|
isExperience: false,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '文本',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/textarea.png'),
|
|
|
+ name: i18n.t('hotspot.textarea'),
|
|
|
id: 'textarea',
|
|
|
isExperience: false,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '标签',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/tag.png'),
|
|
|
+ name: i18n.t('hotspot.tag'),
|
|
|
id: 'tag',
|
|
|
isExperience: true,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '图文',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/image-text.png'),
|
|
|
+ name: i18n.t('hotspot.image_text'),
|
|
|
id: 'imgText',
|
|
|
isExperience: true,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '文章',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/article.png'),
|
|
|
+ name: i18n.t('hotspot.article'),
|
|
|
id: 'article',
|
|
|
isExperience: true,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: 'PDF',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/pdf.png'),
|
|
|
+ name: i18n.t('hotspot.pdf'),
|
|
|
id: 'pdf',
|
|
|
isExperience: true,
|
|
|
},
|
|
|
{
|
|
|
- icon: require('@/assets/images/icons/hotspot-type/link.png'),
|
|
|
- name: '电话',
|
|
|
+ icon: require('@/assets/images/icons/hotspot-type/phone.png'),
|
|
|
+ name: i18n.t('hotspot.phone'),
|
|
|
id: 'phone',
|
|
|
isExperience: true,
|
|
|
},
|
|
|
-]
|
|
|
-
|
|
|
-/*
|
|
|
- hotSpotTypeList: [
|
|
|
- {
|
|
|
- id: 'scene',
|
|
|
- name: this.$i18n.t('hotspot.secne')
|
|
|
- },
|
|
|
- {
|
|
|
- id: 'link',
|
|
|
- name: this.$i18n.t('hotspot.link')
|
|
|
- },
|
|
|
- {
|
|
|
- id: 'textarea',
|
|
|
- name: this.$i18n.t('hotspot.textarea')
|
|
|
- },
|
|
|
- {
|
|
|
- id: 'image',
|
|
|
- name: this.$i18n.t('hotspot.image')
|
|
|
- },
|
|
|
- {
|
|
|
- id: 'audio',
|
|
|
- name: this.$i18n.t('hotspot.audio')
|
|
|
- },
|
|
|
- {
|
|
|
- id: 'video',
|
|
|
- name: this.$i18n.t('hotspot.video')
|
|
|
- }
|
|
|
- ],
|
|
|
-*/
|
|
|
+]
|