@@ -71,7 +71,7 @@
</view>
<view class="position" v-if="home.deviceNumbers" >
- <view id="talkbubble" >共{{home.deviceNumbers}}桩{{home.gunNumbers?home.gunNumbers+'枪':''}}</view>
+ <view id="talkbubble" :style="home.deviceNumbers>=100?'padding: 8rpx 16rpx;':''" >{{home.deviceNumbers}}桩{{home.gunNumbers?home.gunNumbers+'枪':''}}</view>
@@ -555,7 +555,7 @@
}
.item{
- width: 25%;
+ min-width: 25%;
margin-top: 20px;
margin-bottom: 11px;
display: flex;
@@ -591,9 +591,10 @@
position: absolute;
top: 0;
left: 0;
- padding: 0 10px;
- line-height: 20px;
- font-size: 12px;
+ padding: 8rpx 20rpx;
+
+ line-height: 40rpx;
+ font-size: 24rpx;
color: #fff;
background: red;
position: relative;