| | |
| | | <div style="display: flex; flex-direction: column; align-items: center;"> |
| | | <div style="display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 20px"> |
| | | <div class=roomwrap v-for="(value, key) in bedMap" :key="key"> |
| | | <RoomBedSelect :title="key" :bedList="value" :curBed="curSel" @haveSeat="haveSeat" @leaveSeat="leaveSeat"/> |
| | | <RoomBedSelect :title="key" :bedList="value" :curBed="curSel" @event-haveseat="haveSeat" @event-leaveseat="leaveSeat"/> |
| | | </div> |
| | | </div> |
| | | <el-button @click="confirmCurSel">确认</el-button> |
| | |
| | | }); |
| | | return |
| | | } |
| | | |
| | | |
| | | userStore.setRoomInfoAction(curSel.value) |
| | | if (isStringEmpty(route.redirectedFrom?.fullPath)) |
| | | push({ path: "/"}) |
| | | else if(route.redirectedFrom?.fullPath === "/roomselect" ) |