mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-07-27 04:20:43 +08:00
862d176593
1. 配置开发环境接口地址 2. 重构工具函数目录结构,迁移防抖节流等工具到base目录 3. 统一页面布局样式为全屏居中布局 4. 新增大量通用工具函数:深克隆、深合并、uuid、时间格式化、随机数、数组打乱、剪贴板操作等 5. 优化自定义tabbar实现,修复交互逻辑 6. 新增列表数据管理hook和请求loading封装 7. 移除无用测试文件和冗余代码 8. 完善首页内容,增加轮播图、作者卡片、金刚区等模块
31 lines
602 B
Vue
31 lines
602 B
Vue
<script lang="ts" setup>
|
|
import { LOGIN_PAGE } from '@/router/config'
|
|
|
|
definePage({
|
|
style: {
|
|
navigationBarTitleText: '注册',
|
|
},
|
|
})
|
|
|
|
function doRegister() {
|
|
uni.showToast({
|
|
title: '注册成功',
|
|
})
|
|
// 注册成功后跳转到登录页
|
|
uni.navigateTo({
|
|
url: LOGIN_PAGE,
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<view class="min-h-screen w-full flex flex-col items-center justify-center gap-y-6 bg-page">
|
|
<view class="text-center">
|
|
注册页
|
|
</view>
|
|
<button class="mt-4 w-40 text-center" @click="doRegister">
|
|
点击模拟注册
|
|
</button>
|
|
</view>
|
|
</template>
|