unibest/src/pages/index/index.vue

29 lines
1.1 KiB
Vue
Raw Normal View History

<!-- 使用 type="home" 属性设置首页其他页面不需要设置默认为page推荐使用json5更强大且允许注释 -->
<route lang="json5" type="home">
{
2024-01-09 08:27:40 +08:00
style: { navigationBarTitleText: '首页' },
}
</route>
2023-12-21 15:52:49 +08:00
<template>
2024-01-23 19:47:31 +08:00
<view class="bg-white h-full overflow-hidden pt-2 px-4">
<view class="mt-8">
2024-01-23 19:47:31 +08:00
<image src="/static/logo.svg" alt="" class="w-40 h-40 block mx-auto" />
2023-12-22 15:12:44 +08:00
</view>
2024-01-23 19:47:31 +08:00
<view class="text-center text-4xl main-title-color mt-4">unibest</view>
<view class="text-center text-2xl mt-4 mb-8">最好用的 uniapp 开发模板</view>
<view class="text-center text-xl"
>unibest 是由 uniapp + Vue3 + Ts + Vite4 + UnoCss + UniUI 驱动的跨端快速启动模板使用 VS Code
开发具有代码提示自动格式化统一配置代码片段等功能同时内置了大量平时开发常用的基本组件开箱即用让你编写
uniapp 拥有 best 体验</view
>
2023-12-21 15:52:49 +08:00
</view>
</template>
<script lang="ts" setup></script>
2024-01-23 19:47:31 +08:00
<style>
.main-title-color {
color: #d14328;
}
</style>