|
@@ -9,7 +9,7 @@
|
|
|
<img :src="info.icon || require('@/assets/images/default/img_cover_default_2.png')" alt="" />
|
|
<img :src="info.icon || require('@/assets/images/default/img_cover_default_2.png')" alt="" />
|
|
|
<button class="ui-button submit setting-cover-btn" @click="onClickSettingCover">设置封面</button>
|
|
<button class="ui-button submit setting-cover-btn" @click="onClickSettingCover">设置封面</button>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="upload-btn">
|
|
|
|
|
|
|
+ <!-- <div class="upload-btn">
|
|
|
<button class="ui-button submit" @click="selectHandle('image')">选择图片</button>
|
|
<button class="ui-button submit" @click="selectHandle('image')">选择图片</button>
|
|
|
<button class="ui-button submit" @click="addScene">全景封面
|
|
<button class="ui-button submit" @click="addScene">全景封面
|
|
|
<div>
|
|
<div>
|
|
@@ -18,7 +18,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</button>
|
|
</button>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
<div class="ui-remark">512*512px,支持jpg/png格式</div>
|
|
<div class="ui-remark">512*512px,支持jpg/png格式</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="uc-r">
|
|
<div class="uc-r">
|
|
@@ -48,13 +48,25 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="ui-title-big">全局设置</div>
|
|
|
|
|
<ul class="setting-con">
|
|
<ul class="setting-con">
|
|
|
<li @click="activeSetting=item" v-for="(item,i) in settings" :key="i">
|
|
<li @click="activeSetting=item" v-for="(item,i) in settings" :key="i">
|
|
|
<button class="ui-button" :class="{submit:activeSetting.id==item.id}">{{item.name}}</button>
|
|
<button class="ui-button" :class="{submit:activeSetting.id==item.id}">{{item.name}}</button>
|
|
|
</li>
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
</ul>
|
|
|
|
|
+ <menu>
|
|
|
|
|
+ <li
|
|
|
|
|
+ v-for="(item) in tabs"
|
|
|
|
|
+ :key="item"
|
|
|
|
|
+ :class="{active: activeTab === item}"
|
|
|
|
|
+ @click="activeTab = item"
|
|
|
|
|
+ >
|
|
|
|
|
+ {{item}}
|
|
|
|
|
+ </li>
|
|
|
|
|
+ </menu>
|
|
|
|
|
+ <div class="settings-view-wrapper">
|
|
|
|
|
+ <OpeningTipSettings v-show="activeTab === '开场提示'"></OpeningTipSettings>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<eidt-panel
|
|
<eidt-panel
|
|
|
:select="select"
|
|
:select="select"
|
|
@@ -100,19 +112,21 @@
|
|
|
<script>
|
|
<script>
|
|
|
import { getMaterialList} from "@/api";
|
|
import { getMaterialList} from "@/api";
|
|
|
import EidtPanel from "./EditPanel";
|
|
import EidtPanel from "./EditPanel";
|
|
|
|
|
+import OpeningTipSettings from '@/views/base/openingTipSettings.vue'
|
|
|
import Table from "@/components/tableSelect";
|
|
import Table from "@/components/tableSelect";
|
|
|
import Table2 from "@/components/tableSelect2";
|
|
import Table2 from "@/components/tableSelect2";
|
|
|
|
|
+import Select from "@/components/select";
|
|
|
import { changeByteUnit } from '@/utils/file'
|
|
import { changeByteUnit } from '@/utils/file'
|
|
|
|
|
|
|
|
import { mapGetters } from "vuex";
|
|
import { mapGetters } from "vuex";
|
|
|
-import Select from "@/components/select";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
EidtPanel,
|
|
EidtPanel,
|
|
|
Table,
|
|
Table,
|
|
|
Table2,
|
|
Table2,
|
|
|
- Select
|
|
|
|
|
|
|
+ Select,
|
|
|
|
|
+ OpeningTipSettings,
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -146,6 +160,18 @@ export default {
|
|
|
current: 1
|
|
current: 1
|
|
|
},
|
|
},
|
|
|
select:'',
|
|
select:'',
|
|
|
|
|
+
|
|
|
|
|
+ tabs: [
|
|
|
|
|
+ '开场提示',
|
|
|
|
|
+ '开场动画',
|
|
|
|
|
+ '访问密码',
|
|
|
|
|
+ '自动巡游',
|
|
|
|
|
+ '背景音乐',
|
|
|
|
|
+ '自定义LOGO',
|
|
|
|
|
+ '自定义遮罩',
|
|
|
|
|
+ '自定义按钮',
|
|
|
|
|
+ ],
|
|
|
|
|
+ activeTab: '开场提示',
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -244,15 +270,11 @@ export default {
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
|
|
|
|
|
|
-.ui-title-big{
|
|
|
|
|
- margin-top: 20px;
|
|
|
|
|
-}
|
|
|
|
|
.main {
|
|
.main {
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
width: 930px;
|
|
width: 930px;
|
|
|
top: 15%;
|
|
top: 15%;
|
|
|
- left: 50%;
|
|
|
|
|
- transform: translateX(-50%);
|
|
|
|
|
|
|
+ left: calc(50% - (930px) / 2);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.upload-con {
|
|
.upload-con {
|
|
@@ -440,4 +462,49 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+menu {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ width: 133px;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: rgba(255, 255, 255, 0.5);
|
|
|
|
|
+ padding-left: 0;
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ vertical-align: top;
|
|
|
|
|
+ li {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ height: 47px;
|
|
|
|
|
+ padding-left: 16px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ &::after {
|
|
|
|
|
+ content: "";
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ }
|
|
|
|
|
+ &.active {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
+ background: #252526;
|
|
|
|
|
+ &::before {
|
|
|
|
|
+ content: "";
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ width: 2px;
|
|
|
|
|
+ height: 10px;
|
|
|
|
|
+ border-radius: 1px;
|
|
|
|
|
+ background: #0076F6;
|
|
|
|
|
+ margin-right: 4px;
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.settings-view-wrapper {
|
|
|
|
|
+ vertical-align: top;
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ width: 797px;
|
|
|
|
|
+
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|