Commit 46bcf1f3 by Lin

feat(HomeFrame, ActivityTime): 更新预学习数据获取逻辑和样式调整

- 在 HomeFrame 组件中添加对预学习数据的异步获取,确保数据更新及时。
- 调整 ActivityTime 组件的样式,修正边框半径以提升视觉效果。
1 parent 313d9e80
...@@ -427,7 +427,7 @@ export default { ...@@ -427,7 +427,7 @@ export default {
top: 0; top: 0;
z-index: 2; z-index: 2;
padding: 2px 10px; padding: 2px 10px;
border-radius: 0 0 8px 0; border-radius: 8px 0 8px 0;
background: linear-gradient(270deg, #FF6748 0%, #F24724 100%); background: linear-gradient(270deg, #FF6748 0%, #F24724 100%);
font-size: 12px; font-size: 12px;
line-height: normal; line-height: normal;
......
...@@ -833,6 +833,7 @@ export default { ...@@ -833,6 +833,7 @@ export default {
if (res.remainingSkipCount != null) { if (res.remainingSkipCount != null) {
this.prelearnData = { ...this.prelearnData, remainingSkipCount: res.remainingSkipCount } this.prelearnData = { ...this.prelearnData, remainingSkipCount: res.remainingSkipCount }
} }
await this.getPrelearnHome()
} catch (e) { } catch (e) {
// uni.$logger?.local?.info('预学习扣减跳过次数失败', e) // uni.$logger?.local?.info('预学习扣减跳过次数失败', e)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!