|
@@ -1,6 +1,15 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="view-setting" app-border dir-left>
|
|
|
|
|
- <div class="ui-title">初始场景</div>
|
|
|
|
|
|
|
+ <div class="initial-scene-settings" app-border dir-left>
|
|
|
|
|
+ <div class="initial-scene-settings__title">
|
|
|
|
|
+ 初始场景
|
|
|
|
|
+ <i class="iconfont icon-material_prompt tool-tip-for-editor" v-tool-tip-wrapper>
|
|
|
|
|
+ <TooltipInEditor
|
|
|
|
|
+ :text="'初始场景为查看链接时进入的第一个场景,未设\n置时,不固定从某一场景打开。'"
|
|
|
|
|
+ :frameCenterPos="'-100px'"
|
|
|
|
|
+ :arrowCenterPos="'240px'"
|
|
|
|
|
+ ></TooltipInEditor>
|
|
|
|
|
+ </i>
|
|
|
|
|
+ </div>
|
|
|
<div class="preview">
|
|
<div class="preview">
|
|
|
<img v-if="info.firstScene" :src="info.firstScene.icon" alt="">
|
|
<img v-if="info.firstScene" :src="info.firstScene.icon" alt="">
|
|
|
<div class="tips" v-else>
|
|
<div class="tips" v-else>
|
|
@@ -38,9 +47,13 @@
|
|
|
<script>
|
|
<script>
|
|
|
import { mapGetters } from "vuex";
|
|
import { mapGetters } from "vuex";
|
|
|
import Select from "@/components/select";
|
|
import Select from "@/components/select";
|
|
|
|
|
+import TooltipInEditor from '@/components/TooltipInEditor.vue'
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
- components:{Select},
|
|
|
|
|
|
|
+ components:{
|
|
|
|
|
+ Select,
|
|
|
|
|
+ TooltipInEditor,
|
|
|
|
|
+ },
|
|
|
data(){
|
|
data(){
|
|
|
return {
|
|
return {
|
|
|
showInitScene:false
|
|
showInitScene:false
|
|
@@ -78,9 +91,17 @@ export default {
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
|
-.view-setting {
|
|
|
|
|
- padding: 10px;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+.initial-scene-settings {
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+ > .initial-scene-settings__title {
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ > i {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ top: -2px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
.preview {
|
|
.preview {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
height: 102px;
|
|
height: 102px;
|