1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-07-27 04:20:43 +08:00

refactor: 项目整体重构与功能完善

1. 配置开发环境接口地址
2. 重构工具函数目录结构,迁移防抖节流等工具到base目录
3. 统一页面布局样式为全屏居中布局
4. 新增大量通用工具函数:深克隆、深合并、uuid、时间格式化、随机数、数组打乱、剪贴板操作等
5. 优化自定义tabbar实现,修复交互逻辑
6. 新增列表数据管理hook和请求loading封装
7. 移除无用测试文件和冗余代码
8. 完善首页内容,增加轮播图、作者卡片、金刚区等模块
This commit is contained in:
小莫唐尼
2026-06-11 23:33:54 +08:00
parent 3945ee611d
commit 862d176593
33 changed files with 1787 additions and 251 deletions
+2 -6
View File
@@ -16,7 +16,7 @@ async function doLogin() {
try {
// 调用登录接口
await tokenStore.login({
username: '菲鸽',
username: '小莫唐尼',
password: '123456',
})
uni.navigateBack()
@@ -28,7 +28,7 @@ async function doLogin() {
</script>
<template>
<view class="login">
<view class="min-h-screen w-full flex flex-col items-center justify-center gap-y-6 bg-page">
<!-- 本页面是非MP的登录页主要用于 h5 APP -->
<view class="text-center">
登录页
@@ -38,7 +38,3 @@ async function doLogin() {
</button>
</view>
</template>
<style lang="scss" scoped>
//
</style>