feat: 整合UnoCSS和添加Tabbar

This commit is contained in:
ray
2024-09-20 22:52:20 +08:00
parent 0b7fe814d1
commit f106f84646
21 changed files with 959 additions and 163 deletions

View File

@@ -1,25 +1,18 @@
<template>
<view class="content">
<view class="flex-center flex-col">
<image class="logo" src="/static/logo.png" />
<view class="text-area">
<text class="title">{{ title }}</text>
<view>
<text class="text-red font-bold text-lg">{{ title }}</text>
</view>
</view>
</template>
<script setup lang="ts">
import { ref } from "vue";
const title = ref("Hello");
const title = ref("Hello YouLai APP");
</script>
<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.logo {
width: 200rpx;
height: 200rpx;
@@ -28,14 +21,4 @@ const title = ref("Hello");
margin-bottom: 50rpx;
margin-left: auto;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
</style>

5
src/pages/my/index.vue Normal file
View File

@@ -0,0 +1,5 @@
<template>
<view class="flex-center flex-col">
<text class="text-blue font-bold text-lg">我的</text>
</view>
</template>

View File

@@ -0,0 +1,5 @@
<template>
<view class="flex-center flex-col">
<text class="text-cyan font-bold text-lg">工作台</text>
</view>
</template>