update:优化新版个人训练
This commit is contained in:
@@ -30,6 +30,8 @@ const trainingModeIconMap = {
|
||||
};
|
||||
// 训练项目卡片标题图,按接口 id 映射 CDN 资源。
|
||||
const trainingModeTitleImageMap = {
|
||||
base:
|
||||
"https://static.shelingxingqiu.com/shootmini/static/training-home/jichuxunlian.png",
|
||||
endurance:
|
||||
"https://static.shelingxingqiu.com/shootmini/static/training-home/nailixunlian.png",
|
||||
precision:
|
||||
@@ -515,7 +517,6 @@ onShow(async () => {
|
||||
/>
|
||||
<view class="featured-card-mask"></view>
|
||||
<view class="featured-card-copy">
|
||||
<text class="featured-card-title">常规训练</text>
|
||||
<text class="featured-card-subtitle">12箭练习</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -857,13 +858,12 @@ onShow(async () => {
|
||||
top: 0;
|
||||
width: 278rpx;
|
||||
height: 150rpx;
|
||||
background: linear-gradient(90deg, #ffdaa0 0%, #f5c580 74%, rgba(245, 197, 128, 0) 100%);
|
||||
}
|
||||
|
||||
.featured-card-copy {
|
||||
position: absolute;
|
||||
left: 30rpx;
|
||||
top: 34rpx;
|
||||
left: 174rpx;
|
||||
top: 58rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -883,7 +883,6 @@ onShow(async () => {
|
||||
color: #895409;
|
||||
font-size: 22rpx;
|
||||
line-height: 32rpx;
|
||||
opacity: 0.72;
|
||||
}
|
||||
|
||||
.mode-grid {
|
||||
|
||||
Reference in New Issue
Block a user