Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-27
@@ -11,9 +11,7 @@
|
||||
백엔드에 연결하지 못했습니다. (서버 실행 여부를 확인하세요)
|
||||
</q-banner>
|
||||
|
||||
<!-- 체크인 + 채팅 -->
|
||||
<div class="row q-col-gutter-sm">
|
||||
<div class="col">
|
||||
<!-- 체크인 -->
|
||||
<q-btn
|
||||
color="primary"
|
||||
class="full-width q-py-sm"
|
||||
@@ -24,27 +22,6 @@
|
||||
:label="checkedIn ? '체크인 완료' : '나 지금 여기 도착!'"
|
||||
@click="onCheckIn"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<q-btn
|
||||
color="accent"
|
||||
class="full-height q-px-md"
|
||||
outline
|
||||
:disable="!currentSpot"
|
||||
icon="chat"
|
||||
label="채팅"
|
||||
@click="chatOpen = true"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 스팟 채팅 -->
|
||||
<ChatDialog
|
||||
v-if="currentSpot"
|
||||
v-model="chatOpen"
|
||||
:spot-id="currentSpot.id"
|
||||
:spot-name="currentSpot.name"
|
||||
/>
|
||||
|
||||
<!-- AI 궁합 추천 (체크인 후, 이 스팟의 강아지 중 사이좋게 지낼 만한 목록) -->
|
||||
<div v-if="aiLoading || aiTried" class="q-mt-lg">
|
||||
@@ -141,15 +118,12 @@ import { useAuthStore } from '@/stores/auth'
|
||||
import { useDogsStore } from '@/stores/dogs'
|
||||
import { useMatchingStore } from '@/stores/matching'
|
||||
import KakaoMap from '@/components/KakaoMap.vue'
|
||||
import ChatDialog from '@/components/ChatDialog.vue'
|
||||
|
||||
const $q = useQuasar()
|
||||
const auth = useAuthStore()
|
||||
const dogs = useDogsStore()
|
||||
const matching = useMatchingStore()
|
||||
|
||||
const chatOpen = ref(false)
|
||||
|
||||
// 체크인/매칭 주체: 로그인 회원 + 대표 강아지
|
||||
const currentUserId = () => auth.member?.id ?? 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user