fix
This commit is contained in:
parent
faf6725a99
commit
cfb58ca82c
@ -168,7 +168,7 @@ onMounted(() => {
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 5px 0 15px 0;
|
padding: 5px 10px 15px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.center-message {
|
.center-message {
|
||||||
|
|||||||
@ -26,6 +26,9 @@ async function letsgo(place: string) {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<div class="main">
|
||||||
|
<div class="message-cloud-3"></div>
|
||||||
|
<div class="message-cloud-2"></div>
|
||||||
<div class="message-cloud">
|
<div class="message-cloud">
|
||||||
<div class="message-header">
|
<div class="message-header">
|
||||||
{{ props.action.place }}: {{ props.action.name }}
|
{{ props.action.place }}: {{ props.action.name }}
|
||||||
@ -42,8 +45,8 @@ async function letsgo(place: string) {
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="index == count - 1">
|
<div v-if="index == count - 1">
|
||||||
<hr class="hr" v-if="props.action.buttons?.length" />
|
<hr class="hr" v-if="props.action.buttons?.length" />
|
||||||
<div v-for="door in props.action.buttons" :key="door.code" class="button-dialog" v-on:click="letsgo(door.code)"
|
<div v-for="door in props.action.buttons" :key="door.code" class="button-dialog"
|
||||||
:disabled="gameState !== 'RUN' || !door.show">
|
v-on:click="letsgo(door.code)" :disabled="gameState !== 'RUN' || !door.show">
|
||||||
<div class="button-dialog-text">
|
<div class="button-dialog-text">
|
||||||
{{ door.name }}
|
{{ door.name }}
|
||||||
</div>
|
</div>
|
||||||
@ -56,9 +59,14 @@ async function letsgo(place: string) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.main {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.hr {
|
.hr {
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
border: dashed 1px;
|
border: dashed 1px;
|
||||||
@ -66,17 +74,45 @@ async function letsgo(place: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.message-cloud {
|
.message-cloud {
|
||||||
/* border-radius: 15px; */
|
margin: 15px 0;
|
||||||
margin: 12px 10px;
|
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
display: flow-root;
|
|
||||||
background-image: url("@/assets/paper.jpg");
|
|
||||||
background-size: cover;
|
|
||||||
font-family: main;
|
font-family: main;
|
||||||
color: black;
|
color: black;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-cloud,
|
||||||
|
.message-cloud-2,
|
||||||
|
.message-cloud-3 {
|
||||||
|
border-radius: 5px;
|
||||||
|
background-image: url("@/assets/paper.jpg");
|
||||||
|
background-size: cover;
|
||||||
|
display: flow-root;
|
||||||
|
box-shadow: 0px 0 5px black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-cloud-2,
|
||||||
|
.message-cloud-3 {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-cloud-2 {
|
||||||
|
transform: rotate(-3deg);
|
||||||
|
filter: brightness(50%);
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-cloud-3 {
|
||||||
|
transform: rotate(2deg);
|
||||||
|
filter: brightness(80%);
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-header {
|
.message-header {
|
||||||
@ -115,6 +151,7 @@ async function letsgo(place: string) {
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
background-image: url("@/assets/belt.png");
|
background-image: url("@/assets/belt.png");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
color: #bfa07d;
|
color: #bfa07d;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user