feat: 添加编辑家庭页面功能
- 新增 EditFamily 页面组件,包含家庭信息编辑表单 - 在 app.config.js 中注册新页面路由 - 修改 Dashboard 页面跳转逻辑至新页面 - 调整 CreateFamily 页面按钮样式
Showing
4 changed files
with
4 additions
and
3 deletions
| ... | @@ -25,6 +25,7 @@ export default { | ... | @@ -25,6 +25,7 @@ export default { |
| 25 | 'pages/UserAgreement/index', | 25 | 'pages/UserAgreement/index', |
| 26 | 'pages/CouponDetail/index', | 26 | 'pages/CouponDetail/index', |
| 27 | 'pages/EditProfile/index', | 27 | 'pages/EditProfile/index', |
| 28 | + 'pages/EditFamily/index', | ||
| 28 | ], | 29 | ], |
| 29 | window: { | 30 | window: { |
| 30 | backgroundTextStyle: 'light', | 31 | backgroundTextStyle: 'light', | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-08-27 17:44:53 | 2 | * @Date: 2025-08-27 17:44:53 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-08-27 20:51:19 | 4 | + * @LastEditTime: 2025-08-28 12:55:42 |
| 5 | * @FilePath: /lls_program/src/pages/CreateFamily/index.vue | 5 | * @FilePath: /lls_program/src/pages/CreateFamily/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -140,7 +140,7 @@ | ... | @@ -140,7 +140,7 @@ |
| 140 | <!-- Submit Button --> | 140 | <!-- Submit Button --> |
| 141 | <view | 141 | <view |
| 142 | @click="handleCreateFamily" | 142 | @click="handleCreateFamily" |
| 143 | - class="w-full py-4 bg-blue-500 text-white text-lg font-medium rounded-lg flex items-center justify-center" | 143 | + class="w-full py-3 bg-blue-500 text-white text-lg font-medium rounded-lg flex items-center justify-center" |
| 144 | > | 144 | > |
| 145 | 创建家庭 | 145 | 创建家庭 |
| 146 | </view> | 146 | </view> | ... | ... |
| ... | @@ -143,7 +143,7 @@ const handleSyncSteps = () => { | ... | @@ -143,7 +143,7 @@ const handleSyncSteps = () => { |
| 143 | }; | 143 | }; |
| 144 | 144 | ||
| 145 | const goToProfile = () => { | 145 | const goToProfile = () => { |
| 146 | - Taro.navigateTo({ url: '/pages/Profile/index' }); | 146 | + Taro.navigateTo({ url: '/pages/EditFamily/index' }); |
| 147 | }; | 147 | }; |
| 148 | 148 | ||
| 149 | const goToActivities = () => { | 149 | const goToActivities = () => { | ... | ... |
src/pages/EditFamily/index.vue
0 → 100644
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment