Explorar o código

电池电量显示

xhj %!s(int64=3) %!d(string=hai) anos
pai
achega
0a72d2638a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/cell/index.vue

+ 1 - 1
components/cell/index.vue

@@ -8,7 +8,7 @@
 						<view :class="'cell-qs'+(soc>50?' full':'')" :style="'height:'+ soc+'%'"></view>
 					</view>
 				</view>
-				<view class="soc-label">
+				<view class="soc-label" v-if="showsoc">
 					{{soc}}%
 				</view>
 			</view>