Files
fitness-coach/miniprogram/pages/feedback/feedback.wxss
wm 4dba91a16e fix: 首页我的计划点击跳转错页 + feat: 新增留言反馈功能
fix:
- 首页'我的计划'卡片误绑 onExercise(跳动作详情),改为 onPlanTap 正确跳训练计划详情页
- 修复后点击计划可正常打开 plan-detail

feat(留言反馈):
- 后端新增 feedback 模块:POST /api/feedback(AuthGuard,content 必填/contact 选填),JsonStore 持久化
- 前端新增 pages/feedback 页面(留言内容 textarea + 联系方式选填 + 提交),profile 菜单新增'意见反馈'入口
- icon-svg 新增 message-circle 图标(反馈页用)
2026-07-22 23:21:18 +08:00

82 lines
1.3 KiB
Plaintext

.page {
min-height: 100vh;
background: var(--page);
color: var(--text);
}
.intro {
display: flex;
align-items: center;
gap: 16rpx;
padding: 32rpx 32rpx 8rpx;
}
.intro__txt {
flex: 1;
font-size: 26rpx;
line-height: 1.6;
color: var(--text-2);
}
.card {
margin: 24rpx 32rpx;
background: var(--surface);
border: 1rpx solid var(--hairline);
border-radius: 24rpx;
padding: 8rpx 28rpx;
}
.field {
padding: 24rpx 0;
position: relative;
}
.field + .field {
border-top: 1rpx solid var(--hairline);
}
.field__label {
font-size: 26rpx;
font-weight: 600;
color: var(--text);
margin-bottom: 16rpx;
}
.field__opt {
font-weight: 400;
color: var(--text-3);
}
.field__textarea {
width: 100%;
height: 220rpx;
font-size: 28rpx;
line-height: 1.6;
color: var(--text);
}
.field__count {
text-align: right;
font-size: 22rpx;
color: var(--text-3);
margin-top: 8rpx;
}
.field__input {
font-size: 28rpx;
color: var(--text);
padding: 8rpx 0;
}
.ph {
color: var(--text-3);
}
.submit {
margin: 40rpx 32rpx;
height: 92rpx;
display: flex;
align-items: center;
justify-content: center;
background: var(--accent);
color: var(--accent-on);
font-size: 30rpx;
font-weight: 700;
border-radius: 999rpx;
}
.submit:active {
background: var(--accent-hover);
}