<route lang="json5" type="page">
{
  style: {
    navigationBarTitleText: '公司简介',
  },
}
</route>

<script setup lang="ts">
import { getCompanyInfoAPI } from '@/service'

const { data: companyInfo } = useRequest(() => getCompanyInfoAPI())
</script>

<template>
  <view class="pt-15 pb-50 min-h-screen">
    <view class="text-center text-16 font-bold">{{ companyInfo.title }}</view>
    <image
      class="w-345 h-170 rounded-10 mt-15 mx-auto block"
      :src="companyInfo.cover_image"
      mode="aspectFill"
    />
    <view class="text-gray-500 mx-16 text-14 mt-15">
      {{ companyInfo.description }}
    </view>
  </view>
</template>
