diff --git a/TUICallKit-Vue3/components/dev-training-entry/index.vue b/TUICallKit-Vue3/components/dev-training-entry/index.vue index b24ef9e4..b0e23666 100644 --- a/TUICallKit-Vue3/components/dev-training-entry/index.vue +++ b/TUICallKit-Vue3/components/dev-training-entry/index.vue @@ -14,6 +14,46 @@ --> + + + + + + + + + + 哑铃 + 力量塑形 + + + + + + + + + + + + + 脚蹬器 + 下肢有氧 + + + + + + + + + + 瑜伽环 + 核心塑形 + + + + @@ -262,6 +302,18 @@ $brand-light: #34d399; &--train { background: linear-gradient(140deg, $brand-light, $brand-deep); } + &--dumbbell { + background: linear-gradient(140deg, #93c5fd, #3b82f6); + box-shadow: 0 2rpx 8rpx rgba(59, 130, 246, 0.36); + } + &--pedal { + background: linear-gradient(140deg, #fdba74, #f97316); + box-shadow: 0 2rpx 8rpx rgba(249, 115, 22, 0.36); + } + &--pilates { + background: linear-gradient(140deg, #c4b5fd, #8b5cf6); + box-shadow: 0 2rpx 8rpx rgba(139, 92, 246, 0.36); + } &--grip { background: linear-gradient(140deg, #5eead4, #14b8a6); box-shadow: 0 2rpx 8rpx rgba(20, 184, 166, 0.36); @@ -278,6 +330,83 @@ $brand-light: #34d399; line-height: 1; } +/* 哑铃小 icon */ +.dumbbell-shape { + width: 40rpx; + height: 20rpx; + display: flex; + align-items: center; + justify-content: center; +} + +.dumbbell-plate { + width: 10rpx; + height: 18rpx; + background: #fff; + border-radius: 3rpx; + box-shadow: 0 1rpx 2rpx rgba(0, 0, 0, 0.18); +} + +.dumbbell-bar { + width: 16rpx; + height: 5rpx; + background: #fff; + border-radius: 2rpx; + margin: 0 2rpx; + box-shadow: 0 1rpx 2rpx rgba(0, 0, 0, 0.18); +} + +/* 脚蹬器小 icon: 左右踏板 */ +.foot-pedal-shape { + width: 40rpx; + height: 28rpx; + display: flex; + align-items: flex-end; + justify-content: center; + gap: 6rpx; +} + +.pedal-bar { + width: 14rpx; + background: #fff; + border-radius: 4rpx 4rpx 2rpx 2rpx; + box-shadow: 0 1rpx 2rpx rgba(0, 0, 0, 0.18); +} + +.pedal-bar-left { + height: 18rpx; + transform: rotate(-12deg); +} + +.pedal-bar-right { + height: 22rpx; + transform: rotate(12deg); +} + +/* 瑜伽环小 icon: 双弧阻力环 */ +.pilates-ring-shape { + width: 36rpx; + height: 36rpx; + border-radius: 50%; + border: 5rpx solid #fff; + position: relative; + box-shadow: + 0 1rpx 2rpx rgba(0, 0, 0, 0.18), + inset 0 1rpx 2rpx rgba(255, 255, 255, 0.6); + + &::after { + content: ''; + position: absolute; + top: 50%; + left: 50%; + width: 18rpx; + height: 18rpx; + transform: translate(-50%, -50%); + border-radius: 50%; + border: 3rpx solid rgba(255, 255, 255, 0.85); + } +} + /* 握力环小 icon: 白色描边的环(甜甜圈) */ .grip-ring-shape { width: 32rpx; diff --git a/TUICallKit-Vue3/pages.json b/TUICallKit-Vue3/pages.json index d9f3fe15..a605b43a 100644 --- a/TUICallKit-Vue3/pages.json +++ b/TUICallKit-Vue3/pages.json @@ -124,8 +124,35 @@ "backgroundColor": "#f8fafc" } }, - { - "path": "pages/metronome", + { + "path": "pages/pilates-ring", + "style": { + "navigationBarTitleText": "瑜伽环训练", + "navigationBarBackgroundColor": "#f8fafc", + "navigationBarTextStyle": "black", + "backgroundColor": "#f8fafc" + } + }, + { + "path": "pages/foot-pedal", + "style": { + "navigationBarTitleText": "脚蹬器训练", + "navigationBarBackgroundColor": "#f8fafc", + "navigationBarTextStyle": "black", + "backgroundColor": "#f8fafc" + } + }, + { + "path": "pages/dumbbell", + "style": { + "navigationBarTitleText": "哑铃训练", + "navigationBarBackgroundColor": "#f8fafc", + "navigationBarTextStyle": "black", + "backgroundColor": "#f8fafc" + } + }, + { + "path": "pages/metronome", "style": { "navigationBarTitleText": "耗糖节拍器", "navigationBarBackgroundColor": "#f8fafc", diff --git a/TUICallKit-Vue3/training/pages/dumbbell.vue b/TUICallKit-Vue3/training/pages/dumbbell.vue new file mode 100644 index 00000000..5c4b0087 --- /dev/null +++ b/TUICallKit-Vue3/training/pages/dumbbell.vue @@ -0,0 +1,1895 @@ + + + + + diff --git a/TUICallKit-Vue3/training/pages/foot-pedal.vue b/TUICallKit-Vue3/training/pages/foot-pedal.vue new file mode 100644 index 00000000..fefc7691 --- /dev/null +++ b/TUICallKit-Vue3/training/pages/foot-pedal.vue @@ -0,0 +1,1895 @@ + + + + + diff --git a/TUICallKit-Vue3/training/pages/grip-ring.vue b/TUICallKit-Vue3/training/pages/grip-ring.vue index fa9aa76e..50735d5a 100644 --- a/TUICallKit-Vue3/training/pages/grip-ring.vue +++ b/TUICallKit-Vue3/training/pages/grip-ring.vue @@ -112,6 +112,11 @@ {{ p.desc }} + + + 🔥 + {{ estimateText }} + @@ -134,10 +139,38 @@ - - - 已暂停 · 点击握力环继续 - 结束训练 › + + + + + + 训练功效 + {{ benefitExpanded ? '收起 ▲' : '展开 ▼' }} + + + + 主要锻炼 + + {{ m }} + + + + 训练效果 + {{ TRAINING_BENEFIT.effect }} + + + + + + + + @@ -218,7 +251,7 @@