|
@@ -6,19 +6,60 @@
|
|
class="start-up"
|
|
class="start-up"
|
|
/>
|
|
/>
|
|
</transition>
|
|
</transition>
|
|
- <img
|
|
|
|
|
|
+ <transition name="fade-in-out">
|
|
|
|
+ <img
|
|
|
|
+ v-if="hoveringEntryIdx === 1"
|
|
|
|
+ class="scene-preview"
|
|
|
|
+ src="@/assets/images/scene-1-preview.jpg"
|
|
|
|
+ alt=""
|
|
|
|
+ draggable="false"
|
|
|
|
+ >
|
|
|
|
+ </transition>
|
|
|
|
+ <transition name="fade-in-out">
|
|
|
|
+ <img
|
|
|
|
+ v-if="hoveringEntryIdx === 2"
|
|
|
|
+ class="scene-preview"
|
|
|
|
+ src="@/assets/images/scene-2-preview.jpg"
|
|
|
|
+ alt=""
|
|
|
|
+ draggable="false"
|
|
|
|
+ >
|
|
|
|
+ </transition>
|
|
|
|
+ <transition name="fade-in-out">
|
|
|
|
+ <img
|
|
|
|
+ v-if="hoveringEntryIdx === 3"
|
|
|
|
+ class="scene-preview"
|
|
|
|
+ src="@/assets/images/scene-3-preview.jpg"
|
|
|
|
+ alt=""
|
|
|
|
+ draggable="false"
|
|
|
|
+ >
|
|
|
|
+ </transition>
|
|
|
|
+ <button
|
|
class="logo"
|
|
class="logo"
|
|
- src="@/assets/images/logo.png"
|
|
|
|
- alt=""
|
|
|
|
- draggable="false"
|
|
|
|
|
|
+ @click="onClickLogo"
|
|
>
|
|
>
|
|
|
|
+ <img
|
|
|
|
+ src="@/assets/images/logo.png"
|
|
|
|
+ alt=""
|
|
|
|
+ draggable="false"
|
|
|
|
+ >
|
|
|
|
+ </button>
|
|
<img
|
|
<img
|
|
class="title"
|
|
class="title"
|
|
src="@/assets/images/home-title.png"
|
|
src="@/assets/images/home-title.png"
|
|
alt=""
|
|
alt=""
|
|
draggable="false"
|
|
draggable="false"
|
|
>
|
|
>
|
|
- <button class="scene-entry entry-1">
|
|
|
|
|
|
+ <button
|
|
|
|
+ class="scene-entry entry-1"
|
|
|
|
+ @mouseenter="hoveringEntryIdx = 1"
|
|
|
|
+ @mouseleave="hoveringEntryIdx = 0"
|
|
|
|
+ @click="router.push({
|
|
|
|
+ name: 'PanoView',
|
|
|
|
+ query: {
|
|
|
|
+ sceneIdx: 1,
|
|
|
|
+ }
|
|
|
|
+ })"
|
|
|
|
+ >
|
|
<img
|
|
<img
|
|
class=""
|
|
class=""
|
|
src="@/assets/images/scene-entry-1.png"
|
|
src="@/assets/images/scene-entry-1.png"
|
|
@@ -26,7 +67,17 @@
|
|
draggable="false"
|
|
draggable="false"
|
|
>
|
|
>
|
|
</button>
|
|
</button>
|
|
- <button class="scene-entry entry-2">
|
|
|
|
|
|
+ <button
|
|
|
|
+ class="scene-entry entry-2"
|
|
|
|
+ @mouseenter="hoveringEntryIdx = 2"
|
|
|
|
+ @mouseleave="hoveringEntryIdx = 0"
|
|
|
|
+ @click="router.push({
|
|
|
|
+ name: 'PanoView',
|
|
|
|
+ query: {
|
|
|
|
+ sceneIdx: 2,
|
|
|
|
+ }
|
|
|
|
+ })"
|
|
|
|
+ >
|
|
<img
|
|
<img
|
|
class=""
|
|
class=""
|
|
src="@/assets/images/scene-entry-2.png"
|
|
src="@/assets/images/scene-entry-2.png"
|
|
@@ -34,7 +85,17 @@
|
|
draggable="false"
|
|
draggable="false"
|
|
>
|
|
>
|
|
</button>
|
|
</button>
|
|
- <button class="scene-entry entry-3">
|
|
|
|
|
|
+ <button
|
|
|
|
+ class="scene-entry entry-3"
|
|
|
|
+ @mouseenter="hoveringEntryIdx = 3"
|
|
|
|
+ @mouseleave="hoveringEntryIdx = 0"
|
|
|
|
+ @click="router.push({
|
|
|
|
+ name: 'PanoView',
|
|
|
|
+ query: {
|
|
|
|
+ sceneIdx: 3,
|
|
|
|
+ }
|
|
|
|
+ })"
|
|
|
|
+ >
|
|
<img
|
|
<img
|
|
class=""
|
|
class=""
|
|
src="@/assets/images/scene-entry-3.png"
|
|
src="@/assets/images/scene-entry-3.png"
|
|
@@ -58,6 +119,12 @@ const store = useStore()
|
|
const canStart = computed(() => {
|
|
const canStart = computed(() => {
|
|
return store.state.canStart
|
|
return store.state.canStart
|
|
})
|
|
})
|
|
|
|
+
|
|
|
|
+const hoveringEntryIdx = ref(0)
|
|
|
|
+
|
|
|
|
+function onClickLogo() {
|
|
|
|
+ store.commit('setHaveShownStartUp', false)
|
|
|
|
+}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
@@ -70,13 +137,19 @@ const canStart = computed(() => {
|
|
>.start-up{
|
|
>.start-up{
|
|
z-index: 3;
|
|
z-index: 3;
|
|
}
|
|
}
|
|
- >img.logo{
|
|
|
|
|
|
+ >button.logo{
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 100px;
|
|
left: 100px;
|
|
top: 100px;
|
|
top: 100px;
|
|
- width: 100px;
|
|
|
|
|
|
+ width: 200px;
|
|
height: 100px;
|
|
height: 100px;
|
|
- background-color: blue;
|
|
|
|
|
|
+ >img{
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 0;
|
|
|
|
+ top: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
>img.title{
|
|
>img.title{
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -84,7 +157,6 @@ const canStart = computed(() => {
|
|
top: 300px;
|
|
top: 300px;
|
|
width: 400px;
|
|
width: 400px;
|
|
height: 400px;
|
|
height: 400px;
|
|
- background-color: blue;
|
|
|
|
}
|
|
}
|
|
>button.scene-entry{
|
|
>button.scene-entry{
|
|
position: absolute;
|
|
position: absolute;
|