fix(PointsList): 更新微信运动积分规则和样式调整
更新微信运动积分获取步骤和奖励显示格式 调整部分样式细节和间距
Showing
2 changed files
with
18 additions
and
22 deletions
| ... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
| 31 | background: transparent; | 31 | background: transparent; |
| 32 | border: none; | 32 | border: none; |
| 33 | outline: none; | 33 | outline: none; |
| 34 | - | 34 | + |
| 35 | &::placeholder { | 35 | &::placeholder { |
| 36 | color: #999; | 36 | color: #999; |
| 37 | } | 37 | } |
| ... | @@ -63,11 +63,11 @@ | ... | @@ -63,11 +63,11 @@ |
| 63 | border-radius: 32rpx; | 63 | border-radius: 32rpx; |
| 64 | border: 2rpx solid transparent; | 64 | border: 2rpx solid transparent; |
| 65 | transition: all 0.3s ease; | 65 | transition: all 0.3s ease; |
| 66 | - | 66 | + |
| 67 | &.active { | 67 | &.active { |
| 68 | background-color: #e6f7ff; | 68 | background-color: #e6f7ff; |
| 69 | border-color: #1890ff; | 69 | border-color: #1890ff; |
| 70 | - | 70 | + |
| 71 | .category-name { | 71 | .category-name { |
| 72 | color: #1890ff; | 72 | color: #1890ff; |
| 73 | font-weight: bold; | 73 | font-weight: bold; |
| ... | @@ -101,11 +101,11 @@ | ... | @@ -101,11 +101,11 @@ |
| 101 | padding: 32rpx 0; | 101 | padding: 32rpx 0; |
| 102 | border-bottom: 1rpx solid #f0f0f0; | 102 | border-bottom: 1rpx solid #f0f0f0; |
| 103 | transition: background-color 0.3s ease; | 103 | transition: background-color 0.3s ease; |
| 104 | - | 104 | + |
| 105 | &:active { | 105 | &:active { |
| 106 | background-color: #f8f9fa; | 106 | background-color: #f8f9fa; |
| 107 | } | 107 | } |
| 108 | - | 108 | + |
| 109 | &:last-child { | 109 | &:last-child { |
| 110 | border-bottom: none; | 110 | border-bottom: none; |
| 111 | } | 111 | } |
| ... | @@ -130,7 +130,7 @@ | ... | @@ -130,7 +130,7 @@ |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | .points-desc { | 132 | .points-desc { |
| 133 | - font-size: 26rpx; | 133 | + font-size: 27rpx; |
| 134 | color: #666; | 134 | color: #666; |
| 135 | line-height: 1.5; | 135 | line-height: 1.5; |
| 136 | } | 136 | } |
| ... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
| 208 | background-color: #f0f0f0; | 208 | background-color: #f0f0f0; |
| 209 | border-radius: 24rpx; | 209 | border-radius: 24rpx; |
| 210 | transition: background-color 0.3s ease; | 210 | transition: background-color 0.3s ease; |
| 211 | - | 211 | + |
| 212 | &:active { | 212 | &:active { |
| 213 | background-color: #e0e0e0; | 213 | background-color: #e0e0e0; |
| 214 | } | 214 | } |
| ... | @@ -229,7 +229,7 @@ | ... | @@ -229,7 +229,7 @@ |
| 229 | 229 | ||
| 230 | .detail-section { | 230 | .detail-section { |
| 231 | margin-bottom: 48rpx; | 231 | margin-bottom: 48rpx; |
| 232 | - | 232 | + |
| 233 | &:last-child { | 233 | &:last-child { |
| 234 | margin-bottom: 0; | 234 | margin-bottom: 0; |
| 235 | } | 235 | } |
| ... | @@ -241,7 +241,7 @@ | ... | @@ -241,7 +241,7 @@ |
| 241 | color: #333; | 241 | color: #333; |
| 242 | margin-bottom: 24rpx; | 242 | margin-bottom: 24rpx; |
| 243 | position: relative; | 243 | position: relative; |
| 244 | - | 244 | + |
| 245 | &::before { | 245 | &::before { |
| 246 | content: ''; | 246 | content: ''; |
| 247 | position: absolute; | 247 | position: absolute; |
| ... | @@ -322,7 +322,7 @@ | ... | @@ -322,7 +322,7 @@ |
| 322 | font-size: 32rpx; | 322 | font-size: 32rpx; |
| 323 | color: #52c41a; | 323 | color: #52c41a; |
| 324 | font-weight: bold; | 324 | font-weight: bold; |
| 325 | - | 325 | + |
| 326 | &.bonus { | 326 | &.bonus { |
| 327 | color: #fa8c16; | 327 | color: #fa8c16; |
| 328 | } | 328 | } |
| ... | @@ -353,20 +353,20 @@ | ... | @@ -353,20 +353,20 @@ |
| 353 | .category-grid { | 353 | .category-grid { |
| 354 | gap: 12rpx; | 354 | gap: 12rpx; |
| 355 | } | 355 | } |
| 356 | - | 356 | + |
| 357 | .category-item { | 357 | .category-item { |
| 358 | padding: 12rpx 24rpx; | 358 | padding: 12rpx 24rpx; |
| 359 | } | 359 | } |
| 360 | - | 360 | + |
| 361 | .category-name { | 361 | .category-name { |
| 362 | font-size: 24rpx; | 362 | font-size: 24rpx; |
| 363 | } | 363 | } |
| 364 | - | 364 | + |
| 365 | .points-title { | 365 | .points-title { |
| 366 | font-size: 30rpx; | 366 | font-size: 30rpx; |
| 367 | } | 367 | } |
| 368 | - | 368 | + |
| 369 | .points-desc { | 369 | .points-desc { |
| 370 | font-size: 24rpx; | 370 | font-size: 24rpx; |
| 371 | } | 371 | } |
| 372 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 372 | +} | ... | ... |
| ... | @@ -213,17 +213,13 @@ const pointsItems = ref([ | ... | @@ -213,17 +213,13 @@ const pointsItems = ref([ |
| 213 | category: 'daily', | 213 | category: 'daily', |
| 214 | title: '日常步数积分攻略', | 214 | title: '日常步数积分攻略', |
| 215 | description: '通过日常走路获得积分,简单易行的积分获取方式', | 215 | description: '通过日常走路获得积分,简单易行的积分获取方式', |
| 216 | - reward: '1分/100步', | 216 | + reward: '100步=1', |
| 217 | steps: [ | 217 | steps: [ |
| 218 | - '打开微信运动,确保步数同步正常', | 218 | + '在微信里,我-设置-通用-辅助功能,启用“微信运功”功能', |
| 219 | '每日保持运动,记录步数', | 219 | '每日保持运动,记录步数', |
| 220 | - '在老来赛APP中同步当日步数', | 220 | + '打开“老来赛”小程序,就可以同步微信步数', |
| 221 | - '系统按100步=1分自动计算积分', | ||
| 222 | - '普通人走1km约3000步,可获得30积分' | ||
| 223 | ], | 221 | ], |
| 224 | notes: [ | 222 | notes: [ |
| 225 | - '100步=1分的固定比例', | ||
| 226 | - '步数需在当日同步', | ||
| 227 | '家庭成员步数同样按此规则计算' | 223 | '家庭成员步数同样按此规则计算' |
| 228 | ] | 224 | ] |
| 229 | }, | 225 | }, | ... | ... |
-
Please register or login to post a comment