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-05-02 12:14:02 +08:00
|
|
|
|
<view class="text-center text-3xl mt-4 test-css">关于页面</view>
|
2024-03-03 15:21:26 +08:00
|
|
|
|
<view class="text-center text-3xl mt-8">
|
|
|
|
|
鸽友们好,我是
|
|
|
|
|
<text class="text-red-500">菲鸽</text>
|
|
|
|
|
</view>
|
2024-04-17 15:32:15 +08:00
|
|
|
|
<view class="text-center mt-8 text-#fff">
|
2024-04-06 22:21:32 +08:00
|
|
|
|
<wd-button type="primary" @click="gotoPage('request')">去请求页</wd-button>
|
2024-04-17 15:32:15 +08:00
|
|
|
|
<wd-button type="primary" @click="gotoPage('request2')" class="ml-2">
|
2024-05-12 16:55:31 +08:00
|
|
|
|
去请求页2 (状态一体)
|
2024-04-17 15:32:15 +08:00
|
|
|
|
</wd-button>
|
2024-03-25 21:01:26 +08:00
|
|
|
|
</view>
|
2024-05-12 10:27:36 +08:00
|
|
|
|
|
2024-05-03 13:45:25 +08:00
|
|
|
|
<view class="text-center mt-8 text-#fff">
|
|
|
|
|
<wd-button type="primary" @click="gotoPage('upload')">上传demo</wd-button>
|
2024-05-12 16:55:31 +08:00
|
|
|
|
<wd-button type="primary" @click="gotoPage('upload2')" class="ml-2">
|
|
|
|
|
上传demo2(状态一体)
|
|
|
|
|
</wd-button>
|
2024-05-03 13:45:25 +08:00
|
|
|
|
</view>
|
2024-05-12 16:45:04 +08:00
|
|
|
|
<view class="text-center mt-8">
|
|
|
|
|
<text mr-2>iconfont:</text>
|
|
|
|
|
<text class="gap-2 text-red">
|
|
|
|
|
<i class="iconfont icon-my" />
|
|
|
|
|
<i class="iconfont icon-chat" />
|
|
|
|
|
<i class="iconfont icon-package" />
|
|
|
|
|
</text>
|
|
|
|
|
</view>
|
2024-03-01 17:32:03 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
// 获取屏幕边界到安全区域距离
|
|
|
|
|
const { safeAreaInsets } = uni.getSystemInfoSync()
|
2024-03-28 19:13:09 +08:00
|
|
|
|
|
2024-04-06 22:21:32 +08:00
|
|
|
|
const gotoPage = (page: string) => {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: `/pages/index/${page}`,
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-03-01 17:32:03 +08:00
|
|
|
|
</script>
|
2024-03-25 21:07:24 +08:00
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2024-05-02 12:14:02 +08:00
|
|
|
|
.test-css {
|
|
|
|
|
// mt-4=>1rem=>16px;
|
|
|
|
|
margin-top: 16px;
|
2024-03-25 21:07:24 +08:00
|
|
|
|
}
|
|
|
|
|
</style>
|