feat: 实现微博签到小程序功能
- 实现签到主页面,包含签到按钮、连续天数、今日状态展示 - 实现签到记录页面,包含日历视图和签到历史列表 - 实现个人中心页面,包含用户信息和签到统计 - 后端实现签到、查询状态、查询历史三个接口 - 使用 Supabase 存储签到记录数据 - 采用星空主题设计,深蓝紫渐变背景 + 金色星光强调色 - 完成所有接口测试和前后端匹配验证 - 通过 ESLint 检查和编译验证
This commit is contained in:
19
.cozeproj/scripts/deploy_build.sh
Normal file
19
.cozeproj/scripts/deploy_build.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
cd "${COZE_WORKSPACE_PATH}"
|
||||
if [ -f "./.cozeproj/scripts/init_env.sh" ]; then
|
||||
echo "⚙️ Initializing environment..."
|
||||
# 使用 bash 执行,确保即使没有 x 权限也能跑
|
||||
bash ./.cozeproj/scripts/init_env.sh
|
||||
else
|
||||
echo "⚠️ Warning: init_env.sh not found, skipping environment init."
|
||||
fi
|
||||
echo "Installing dependencies..."
|
||||
# 安装所有依赖(包含 Taro 核心和 React)
|
||||
pnpm install
|
||||
|
||||
echo "Building the Taro project..."
|
||||
pnpm build
|
||||
|
||||
echo "Build completed successfully! Assets are in /dist"
|
||||
Reference in New Issue
Block a user