38 lines
890 B
Vue
38 lines
890 B
Vue
|
<route lang="json5">
|
|||
|
{
|
|||
|
layout: 'default',
|
|||
|
style: {
|
|||
|
navigationBarTitleText: '关于',
|
|||
|
},
|
|||
|
}
|
|||
|
</route>
|
|||
|
|
|||
|
<template>
|
|||
|
<view
|
|||
|
class="bg-white overflow-hidden pt-2 px-4"
|
|||
|
:style="{ marginTop: safeAreaInsets?.top + 'px' }"
|
|||
|
>
|
|||
|
<view class="text-center text-3xl mt-4">关于页面</view>
|
|||
|
<view class="text-center text-3xl mt-8">
|
|||
|
鸽友们好,我是
|
|||
|
<text class="text-red-500">菲鸽</text>
|
|||
|
</view>
|
|||
|
<view class="text-center mt-8">
|
|||
|
<wd-button type="primary">wot 组件库测试</wd-button>
|
|||
|
</view>
|
|||
|
<view class="desc">测试设计稿样式</view>
|
|||
|
<view class="desc">设计稿是750px,css里面全部写rpx 即可</view>
|
|||
|
</view>
|
|||
|
</template>
|
|||
|
|
|||
|
<script lang="ts" setup>
|
|||
|
// 获取屏幕边界到安全区域距离
|
|||
|
const { safeAreaInsets } = uni.getSystemInfoSync()
|
|||
|
</script>
|
|||
|
|
|||
|
<style lang="scss" scoped>
|
|||
|
.desc {
|
|||
|
width: 700rpx;
|
|||
|
}
|
|||
|
</style>
|