@@ -1,6 +1,6 @@
{
"name": "my-app",
- "version": "0.0.0",
+ "version": "0.0.2",
"private": true,
"scripts": {
"serve": "vue-cli-service serve --mode dev",
@@ -375,10 +375,9 @@ html, body {
position: fixed;
left: 0;
width: 100%;
- height: rgba(210, 189, 132, 0.7);
height: v-bind('navBarHeight');
border-radius: 5px 5px 0 0;
- border-top: solid 1px #D2BD84;
+ border-top: rgba(210, 189, 132, 0.7);
box-shadow: inset 0px 2px 2px 0px rgba(210,189,132,0.45), 0px -9px 24px 0px rgba(183,162,109,0.25);
display: flex;
justify-content: center;
@@ -427,7 +426,7 @@ html, body {
>button.show-hide {
right: 82px;
- bottom: 34px;
+ bottom: 28px;
width: 36px;
height: 36px;
background-size: cover;
@@ -42,6 +42,9 @@ import {
export default {
name: 'MetaverseView',
+ beforeRouteLeave() {
+ gUnityInst.SendMessage('MainPanel', 'ResetCamera')
+ },
setup () {
const rawData = reactive({ value: null })
onMounted(async () => {
@@ -62,7 +65,7 @@ export default {
}
window.handleClickPlanet = function(id) {
console.log('click planet', id)
- onClickStar(id)
+ onClickStar(id - 1)
window.handleMovedPlanet = function(id) {
console.log('moved planet', id)