Commit f44e560b authored by spc's avatar spc

321

parent 624dcb91
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
<view class="bottle-graphic"> <view class="bottle-graphic">
<!-- 左侧喂奶量显示 --> <!-- 左侧喂奶量显示 -->
<view class="amount-bubble"> <view class="amount-bubble">
<image class="bubble-bg" :src="feedingIndexRes.icon_left_arrow_tip" mode="aspectFit" />
<text class="bubble-label">喂奶量</text> <text class="bubble-label">喂奶量</text>
<text class="bubble-value">{{ feedingData[selectedType].amount }}ml</text> <text class="bubble-value">{{ feedingData[selectedType].amount }}ml</text>
</view> </view>
...@@ -2693,17 +2694,12 @@ function loadDefaultFoodsData() { ...@@ -2693,17 +2694,12 @@ function loadDefaultFoodsData() {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
&::before { .bubble-bg {
content: '';
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url(feedingIndexRes.icon_left_arrow_tip);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
z-index: -1; z-index: -1;
} }
...@@ -2922,8 +2918,8 @@ function loadDefaultFoodsData() { ...@@ -2922,8 +2918,8 @@ function loadDefaultFoodsData() {
position: absolute; position: absolute;
right: -5rpx; right: -5rpx;
top: -5rpx; top: -5rpx;
width: 20rpx; width: 28rpx;
height: 20rpx; height: 28rpx;
cursor: pointer; cursor: pointer;
z-index: 1; z-index: 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment