fix: 修复关注按钮相关问题
- 食谱详情页: 修复 applyDefaultData 中未定义变量 id 的问题 - 帖子详情页: 优化 toggleFollow 方法,提前校验 author.id,兼容多种后端字段 - 为帖子详情页已关注状态添加灰色样式
This commit is contained in:
@@ -489,19 +489,19 @@ export default {
|
||||
gap: 16rpx;
|
||||
transition: all 0.2s ease;
|
||||
box-sizing: border-box;
|
||||
/* 未激活:明显变灰,无下划线 */
|
||||
/* 未激活:明显变灰,无下划线(BUG-002) */
|
||||
color: #9ca3af;
|
||||
font-weight: 400;
|
||||
border-bottom: none;
|
||||
border-bottom: 3rpx solid transparent;
|
||||
.tab-icon {
|
||||
font-size: 28rpx;
|
||||
color: #9ca3af;
|
||||
font-weight: 400;
|
||||
color: inherit;
|
||||
font-weight: inherit;
|
||||
}
|
||||
.tab-text {
|
||||
font-size: 28rpx;
|
||||
color: #9ca3af;
|
||||
font-weight: 400;
|
||||
color: inherit;
|
||||
font-weight: inherit;
|
||||
}
|
||||
/* 激活:加粗、主色、橙色底部下划线(BUG-002) */
|
||||
&.active {
|
||||
|
||||
Reference in New Issue
Block a user