<script setup lang="ts">
  import BasicButton from '@/components/BasicButton/index.vue';
  import AppProvider from '@/components/AppProvider/inedx.vue';
  import { ref } from 'vue';
  import { router } from '@/utils/router';
  const title = ref('uni-app vue3 ts --Vite');
  console.log('感受到考虑到垮落法');
  const handleGetStarted = () => {
    router.pushTab('/pages/demo/index?d=str');
  };
</script>
<template>
  <AppProvider>
    <view class="content">
      <image class="logo" src="/static/svg/LOGO.svg" />
      <view class="text-area">
        <text class="">{{ title }}</text>
      </view>
      <BasicButton @click="handleGetStarted">Get Started → </BasicButton>
    </view>
  </AppProvider>
</template>
<style lang="scss">
  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo {
    height: 200rpx;
    width: 200rpx;
    margin: 280rpx auto 50rpx;
  }

  .text-area {
    display: flex;
    justify-content: center;
    margin-bottom: 60rpx;
  }

  .title {
    font-size: 36rpx;
    color: #8f8f94;
  }
</style>
