unibest/src/pages/about/about.vue

41 lines
851 B
Vue
Raw Normal View History

2024-03-01 17:32:03 +08:00
<route lang="json5">
{
style: {
navigationBarTitleText: '关于',
},
}
</route>
<template>
<view
2024-03-03 15:21:26 +08:00
class="bg-white overflow-hidden pt-2 px-4"
2024-03-01 17:32:03 +08:00
:style="{ marginTop: safeAreaInsets?.top + 'px' }"
>
2024-03-03 15:21:26 +08:00
<view class="text-center text-3xl mt-8">
鸽友们好我是
<text class="text-red-500">菲鸽</text>
</view>
2025-05-19 17:13:53 +08:00
<view class="test-css">测试 scss 样式</view>
2024-05-15 10:06:51 +08:00
<RequestComp />
<UploadComp />
2024-03-01 17:32:03 +08:00
</view>
</template>
<script lang="ts" setup>
2024-05-15 10:06:51 +08:00
import RequestComp from './components/request.vue'
import UploadComp from './components/upload.vue'
2024-03-01 17:32:03 +08:00
// 获取屏幕边界到安全区域距离
const { safeAreaInsets } = uni.getSystemInfoSync()
</script>
<style lang="scss" scoped>
2024-05-02 12:14:02 +08:00
.test-css {
2025-05-19 17:13:53 +08:00
// 16rpx=>0.5rem
padding-bottom: 16rpx;
2024-05-02 12:14:02 +08:00
// mt-4=>1rem=>16px;
margin-top: 16px;
2025-05-19 17:13:53 +08:00
text-align: center;
}
</style>