|
@@ -1,5 +1,4 @@
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
-import { LOGIN_PAGE } from '@/router/config'
|
|
|
|
|
import { useThemeStore } from '@/store'
|
|
import { useThemeStore } from '@/store'
|
|
|
import { safeAreaInsets } from '@/utils/systemInfo'
|
|
import { safeAreaInsets } from '@/utils/systemInfo'
|
|
|
|
|
|
|
@@ -18,7 +17,6 @@ definePage({
|
|
|
|
|
|
|
|
const themeStore = useThemeStore()
|
|
const themeStore = useThemeStore()
|
|
|
|
|
|
|
|
-const author = ref('菲鸽')
|
|
|
|
|
const description = ref(
|
|
const description = ref(
|
|
|
'unibest 是一个集成了多种工具和技术的 uniapp 开发模板,由 uniapp + Vue3 + Ts + Vite5 + UnoCss + VSCode 构建,模板具有代码提示、自动格式化、统一配置、代码片段等功能,并内置了许多常用的基本组件和基本功能,让你编写 uniapp 拥有 best 体验。',
|
|
'unibest 是一个集成了多种工具和技术的 uniapp 开发模板,由 uniapp + Vue3 + Ts + Vite5 + UnoCss + VSCode 构建,模板具有代码提示、自动格式化、统一配置、代码片段等功能,并内置了许多常用的基本组件和基本功能,让你编写 uniapp 拥有 best 体验。',
|
|
|
)
|
|
)
|
|
@@ -27,12 +25,6 @@ console.log('index/index 首页打印了')
|
|
|
onLoad(() => {
|
|
onLoad(() => {
|
|
|
console.log('测试 uni API 自动引入: onLoad')
|
|
console.log('测试 uni API 自动引入: onLoad')
|
|
|
})
|
|
})
|
|
|
-
|
|
|
|
|
-function toLogin() {
|
|
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url: LOGIN_PAGE,
|
|
|
|
|
- })
|
|
|
|
|
-}
|
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
<template>
|
|
@@ -104,9 +96,6 @@ function toLogin() {
|
|
|
https://wot-design-uni.cn
|
|
https://wot-design-uni.cn
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <button class="mt-4 w-40 text-center" @click="toLogin">
|
|
|
|
|
- 点击去登录页
|
|
|
|
|
- </button>
|
|
|
|
|
<view class="h-6" />
|
|
<view class="h-6" />
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|