<route lang="json">
{ "style": { "navigationBarTitleText": "", "navigationBarBackgroundColor": "#fff" } }
</route>
<script setup lang="ts">
import { success } from '../../../../core/libs/svgs'
const data = ref<{ title: string; navTitle: string; desc: string } | undefined>()
onLoad(async (query: typeof data.value) => {
  data.value = query
  uni.setNavigationBarTitle({ title: data.value.navTitle || '' })
})
</script>
<template>
  <div class="flex-grow flex flex-col items-center justify-center">
    <wd-img width="60" height="60" :src="success" custom-class="mb-4.5"></wd-img>
    <div class="mb-10 text-black/90 text-xl font-normal font-['PingFang_SC'] leading-none">
      {{ data?.title }}
    </div>
    <div
      v-if="data?.desc"
      class="text-black/40 text-base font-normal font-['PingFang SC'] leading-none"
    >
      {{ data?.desc }}
    </div>
  </div>
</template>
