Browse Source

update1117

tremble 2 years ago
parent
commit
06b98c898f

BIN
packages/qjkankan-editor/src/assets/images/default/mask_bg.png


+ 119 - 119
packages/qjkankan-editor/src/lang/_en.js

@@ -527,136 +527,136 @@ module.exports = {
     },
     "material": {
         "works": {
-            "my": "我的作品",
-            "create": "创建作品",
-            "search": "搜索作品",
-            "preview": "预览",
-            "edit": "编辑",
-            "share": "分享",
-            "delete": "删除",
-            "no_works": "您还没有作品,请先创建作品~",
-            "work_link": "作品链接",
-            "work_qrCode": "作品二维码",
-            "download_qrCode": "下载二维码",
-            "copy_link": "复制链接",
-            "work_preview": "全景作品预览",
-            "new_blank": "新窗口打开",
-            "cancel": "取消",
+            "my": "My Project",
+            "create": "Create the project",
+            "search": "Search",
+            "preview": "Preview",
+            "edit": "Edit",
+            "share": "Share",
+            "delete": "Delete",
+            "no_works": "No results found; you do not yet have a project; please create one first~",
+            "work_link": "Project link",
+            "work_qrCode": "Project QR Code",
+            "download_qrCode": "Download the QR code",
+            "copy_link": "Copy link",
+            "work_preview": "Project Preview",
+            "new_blank": "Open in a new window",
+            "cancel": "Cancel",
         },
     },
     "gather": {
-        "select_material": "选择素材",
-        "no_title": "无标题",
-        "my_works": "我的作品",
-        "my_material": "我的素材",
-        "panorama": "全景图",
-        "image": "图片",
-        "audio": "音频",
-        "video": "视频",
-        "scene": "三维场景",
-        "keywords": "输入关键词",
-        "how_to_shoot": "如何拍摄三维场景",
-        "pano_size": "请上传2:1、120MB以内、jpg格式的图片",
-        "cancel": "取消",
-        "comfirm": "确定",
-        "pano_fail": "格式错误,请上传2:1、120MB以内、jpg格式的全景图片",
-        "pano_limit": "过大,请上传2:1、120MB以内、jpg格式的全景图片",
-        "edit_cover": "编辑封面",
-        "img_fail": "格式错误,请上传10MB以内、jpg/png格式的图片",
-        "img_limit": "过大,请上传10MB以内、jpg/png格式的图片",
-        "img_size": "请上传10MB以内、jpg/png格式的图片",
-        "audio_size": "请上传20MB以内、mp3格式的音频",
-        "audio_limit": "过大,请上传20MB以内、mp3格式的音频",
-        "audio_fail": "格式错误,请上传20MB以内、mp3格式的音频",
-        "upload_material": "上传素材",
-        "video_size": "请上传200MB以内、mp4格式的视频",
-        "video_limit": "过大,请上传200MB以内、mp4格式的视频",
-        "video_fail": "格式错误,请上传200MB以内、mp4格式的视频",
-        "serch_material": "搜索素材",
-        "rename": "重命名",
-        "delete": "删除",
-        "no_serch_result": "未搜索到结果",
-        "no_material_result": "暂无素材~",
-        "had_load": "已加载{msg}条",
-        "uploading": "正在上传 {msg}"
+        "select_material": "Select the material",
+        "no_title": "No title",
+        "my_works": "My Project",
+        "my_material": "My Material",
+        "panorama": "Panorama",
+        "image": "Pictures",
+        "audio": "Audio",
+        "video": "Video",
+        "scene": "3D Scene",
+        "keywords": "Enter keywords",
+        "how_to_shoot": "How to shoot a 3D scene?",
+        "pano_size": "Support 2:1 jpg files ≤ 120MB",
+        "cancel": "Cancel",
+        "comfirm": "Confirm",
+        "pano_fail": "Format error. Support 2:1 jpg files ≤ 120MB",
+        "pano_limit": "The file is too large. Support 2:1 jpg files ≤ 120MB",
+        "edit_cover": "Thumbnail Settings",
+        "img_fail": "Format error.Support jpg/png files: ≤ 10MB",
+        "img_limit": "The file is too large.Support jpg/png files: ≤ 10MB",
+        "img_size": "Support jpg/png files: ≤ 10MB",
+        "audio_size": "Support MP3 files: ≤ 20MB",
+        "audio_limit": "The file is too large. Support MP3 files: ≤ 20MB",
+        "audio_fail": "Format error. Support MP3 files: ≤ 20MB",
+        "upload_material": "Upload material",
+        "video_size": "Support MP4 files: ≤ 200MB",
+        "video_limit": "The file is too large.Support MP4 files: ≤ 200MB",
+        "video_fail": "Format error. Support MP4 files: ≤ 200MB",
+        "serch_material": "Search",
+        "rename": "Rename",
+        "delete": "Delete",
+        "no_serch_result": "No resulrs found",
+        "no_material_result": "No materials found",
+        "had_load": "{msg}pieces of data have been loaded",
+        "uploading": "Uploading {msg}"
     },
     "personal_center": {
-        "personal_center": "个人中心",
-        "logout": "退出登录",
-        "login": "登录",
-        "register": "注册",
+        "personal_center": "Personal Center",
+        "logout": "Log out",
+        "login": "Login",
+        "register": "Sign up",
     },
     "edit_page": {
-        "back_myworks": "返回我的作品",
-        "preview": "预览",
-        "settings": "基础",
-        "navigation": "导航",
-        "viewpoint": "视角",
-        "hotspot": "热点",
-        "explanation": "讲解",
-        "save": "保存",
+        "back_myworks": "Back",
+        "preview": "Preview",
+        "settings": "Basic Settings",
+        "navigation": "Navigation",
+        "viewpoint": "Starting Screen",
+        "hotspot": "Hotspots",
+        "explanation": "Voice Guide",
+        "save": "Save",
     },
     "edit_settings": {
-        "auto_pano": "自动巡游",
-        "enter_auto": "进入全景图自动巡游(3分钟完整巡游一次)",
-        "set_bgm": "设置背景音乐",
-        "add_audio": "添加音频",
-        "change_audio": "更换音频",
-        "custom_button": "自定义按钮",
-        "custom_button_tips": "自定义按钮可为作品添加联系方式或网站链接等,设置可见后即可在作品显示。",
-        "edit": "编辑",
-        "hide": "隐藏",
-        "show": "显示",
-        "button_name": "按钮名称",
-        "button_placeholder": "请输入按钮名称",
-        "please_input": "请输入",
-        "phone": "电话号码",
-        "link": "链接地址",
-        "phone_short": "电话",
-        "link_short": "链接",
-        "custom_logo": "自定义LOGO",
-        "show_logo": "显示LOGO",
-        "logo_size": "300*300px,600kb以内,支持<br>jpg/png格式",
-        "mask_setting": "遮罩设置",
-        "sky_mask": "天空遮罩",
-        "sky_tips": "天空遮罩显示在场景的顶部,地面遮罩显示在场景的底部。",
-        "mask_setting": "遮罩设置",
-        "mask_size": "建议500*500px,<br/>支持jpg/png格式",
-        "bottom_mask": "地面遮罩",
-        "opening_setting": "设置开场动画",
-        "opening_tips_setting": "提示设置",
-        "opening_tips": "开场提示仅适用于全景图。若初始场景为三维模\n型,以下开场提示不适用。",
-        "pc": "PC",
-        "mobile": "移动端",
-        "select_image": "选择图片",
-        "opening_size": "建议300*300px,600kb以内,<br/>支持jpg/png格式",
-        "show_setting": "显示设置",
-        "first_notice": "仅首次打开链接时,提示",
-        "password_setting": "设置访问密码",
-        "password_placeholder": "请输入访问密码,限20位",
-        "base_setting": "基础设置",
-        "setting_cover": "设置封面",
-        "cover_size": "512*512px,支持jpg/png格式",
-        "title": "标题",
-        "work_placeholder": "请输入作品标题",
-        "intro_placeholder": "请输入文字内容,限500字"
+        "auto_pano": "Walkthrough",
+        "enter_auto": "Enter the walkthrough panorama mode (takes 3 mins to complete per walkthrough)",
+        "set_bgm": "Set the BGM",
+        "add_audio": "Add the audio",
+        "change_audio": "Change the audio",
+        "custom_button": "Custom Button",
+        "custom_button_tips": "Custom buttons provide contact info, website URLs, etc. to a project, which can subsequently be made visible and displayed as well.",
+        "edit": "Edit",
+        "hide": "Hide",
+        "show": "Display",
+        "button_name": "Button name",
+        "button_placeholder": "Please enter the button name",
+        "please_input": "Please enter",
+        "phone": "Phone",
+        "link": "URL Address",
+        "phone_short": "Tel",
+        "link_short": "Link",
+        "custom_logo": "Custom Logo",
+        "show_logo": "Display Logo",
+        "logo_size": "300*300 pixels, within 600kb, <br>jpg/png format support",
+        "mask_setting": "Mask Settings",
+        "sky_mask": "Top mask",
+        "sky_tips": "The top mask is exhibited at the scene's top, while the bottom mask is presented at the scene's bottom.",
+        "mask_setting": "Mask Settings",
+        "mask_size": "500*500 pixels, <br>jpg/png format support",
+        "bottom_mask": "Bottom mask",
+        "opening_setting": "Set the animations",
+        "opening_tips_setting": "Notifications Settings",
+        "opening_tips": "The notifications only apply to panoramic images. The following notifications are inapplicable if the start screen is a 3D model.",
+        "pc": "PC",
+        "mobile": "Mobile",
+        "select_image": "Select pictures",
+        "opening_size": "Recommend 300*300 pixels, within 600kb, jpg/png format support",
+        "show_setting": "Display settings",
+        "first_notice": "Prompt only when the link is opened for the first time",
+        "password_setting": "Set an access code",
+        "password_placeholder": "Please enter the access password, limited to 20-character",
+        "base_setting": "Basic Settings",
+        "setting_cover": "Thumbnail Settings",
+        "cover_size": "512*512px, support jpg/png format",
+        "title": "Title",
+        "work_placeholder": "Please enter the project title",
+        "intro_placeholder": "Please input no more than 500 words of text content."
     },
 
     "zh_key": {
-        "电话": "电话",
-        "链接": "链接",
-        '小行星开场': "小行星开场",
-        '小行星巡游开场': "小行星巡游开场",
-        '小行星缩放开场': "小行星缩放开场",
-        '水平巡游开场': "水平巡游开场",
-        '水晶球开场': "水晶球开场",
-        '开场提示': "开场提示",
-        '开场动画': "开场动画",
-        '访问密码': "访问密码",
-        '自动巡游': "自动巡游",
-        '背景音乐': "背景音乐",
-        '自定义LOGO': "自定义LOGO",
-        '自定义遮罩': "自定义遮罩",
-        '自定义按钮': "自定义按钮",
+        "电话": "Tel",
+        "链接": "Link",
+        '小行星开场': "Start with asteroid",
+        '小行星巡游开场': "Start with asteroid cruise",
+        '小行星缩放开场': "Start with asteroid zoom",
+        '水平巡游开场': "Start with horizontal cruise",
+        '水晶球开场': "Start with crystal ball",
+        '开场提示': "Notifications",
+        '开场动画': "Animations",
+        '访问密码': "Access code",
+        '自动巡游': "Walkthrough",
+        '背景音乐': "BGM",
+        '自定义LOGO': "Custom Logo",
+        '自定义遮罩': "Custom Mask",
+        '自定义按钮': "Custom Button",
     }
 }

+ 8 - 1
packages/qjkankan-view/src/components/UIGather/mobile/list.vue

@@ -107,14 +107,21 @@ const loadList = () => {
     let t = setTimeout(() => {
       clearTimeout(t);
       ["#swcatalogRoot", "#swSecondary", "#swScenes"].forEach((item) => {
-        new Swiper(item, {
+        let tmp = new Swiper(item, {
           slidesPerView: "auto",
           centeredSlides: true,
           spaceBetween: 10,
           centerInsufficientSlides: true,
           centeredSlidesBounds: true,
           freeMode: true,
+          observer: true,
+          observeParents:true
         });
+        if (item == '#swScenes') {
+          setTimeout(() => {
+            tmp && tmp.slideTo(0, 100, false)
+          }, 0);
+        }
       });
     }, 100);
   });