fix(detailedReport): 基础指标刻度条补充当前值标记圆圈
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
090b33d0b3
commit
cdef8e6513
@@ -245,6 +245,7 @@
|
||||
width: 100%;
|
||||
|
||||
.basicIndicatorsTrack {
|
||||
position: relative;
|
||||
display: flex;
|
||||
gap: 6rpx;
|
||||
flex-wrap: nowrap;
|
||||
@@ -257,6 +258,20 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.basicIndicatorsCircle {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 38.9%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #FFFFFF;
|
||||
border: 6rpx solid #1385FA;
|
||||
box-shadow: 0 3rpx 6rpx 0 rgba(0, 0, 0, 0.2);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.basicIndicatorsBlock--low {
|
||||
background-color: #1385FA;
|
||||
}
|
||||
|
||||
@@ -86,6 +86,7 @@
|
||||
<view class="basicIndicatorsBlock basicIndicatorsBlock--normal"></view>
|
||||
<view class="basicIndicatorsBlock basicIndicatorsBlock--over"></view>
|
||||
<view class="basicIndicatorsBlock basicIndicatorsBlock--obese"></view>
|
||||
<view class="basicIndicatorsCircle"></view>
|
||||
</view>
|
||||
<view class="basicIndicatorsScaleRow">
|
||||
<view>消瘦</view>
|
||||
|
||||
Reference in New Issue
Block a user