refactor(about): 移除未使用的导航代码并简化页面结构
This commit is contained in:
parent
1efb68cb9b
commit
e2c319079a
@ -9,19 +9,12 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<view
|
<view class="text-center text-3xl mt-8">
|
||||||
class="bg-white overflow-hidden pt-2 px-4"
|
鸽友们好,我是
|
||||||
:style="{ marginTop: safeAreaInsets?.top + 'px' }"
|
<text class="text-red-500">菲鸽</text>
|
||||||
>
|
|
||||||
<view class="text-center text-3xl mt-8">
|
|
||||||
鸽友们好,我是
|
|
||||||
<text class="text-red-500">菲鸽</text>
|
|
||||||
</view>
|
|
||||||
<!-- <button @click="toSubPage()">去分包</button> -->
|
|
||||||
<view class="test-css">测试 scss 样式</view>
|
|
||||||
<RequestComp />
|
|
||||||
<UploadComp />
|
|
||||||
</view>
|
</view>
|
||||||
|
<RequestComp />
|
||||||
|
<UploadComp />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -31,11 +24,6 @@ import UploadComp from './components/upload.vue'
|
|||||||
|
|
||||||
// 获取屏幕边界到安全区域距离
|
// 获取屏幕边界到安全区域距离
|
||||||
const { safeAreaInsets } = uni.getSystemInfoSync()
|
const { safeAreaInsets } = uni.getSystemInfoSync()
|
||||||
const toSubPage = () => {
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages-sub/demo/index',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 奇怪:同样的代码放在 vue 里面不会校验到错误,放在 .ts 文件里面会校验到错误
|
// 奇怪:同样的代码放在 vue 里面不会校验到错误,放在 .ts 文件里面会校验到错误
|
||||||
// const testOxlint = (name: string) => {
|
// const testOxlint = (name: string) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user