zhangdan %!s(int64=4) %!d(string=hai) anos
pai
achega
7a2bf0d768
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      pages/index/index.vue

+ 5 - 5
pages/index/index.vue

@@ -53,31 +53,31 @@
 					<view class="cont-item">
 						<u-image src="/static/huishou.png" width="90" height="90"></u-image>
 						<text class="item-title">可回收物</text>
-						<text>{{item.gatherRecycling? (item.gatherRecycling/1000).toFixed(3)/1 :0}}kg</text>
+						<text>{{item.gatherRecycling? (item.gatherRecycling/1000).toFixed(3)/1 :0}}KG</text>
 					</view>
 					<!-- 有害垃圾 -->
 					<view class="cont-item">
 						<u-image src="/static/youhai.png"></u-image>
 						<text class="item-title">有害垃圾</text>
-						<text>{{item.gatherHarm? (item.gatherHarm/1000).toFixed(3)/1 :0}}kg</text>
+						<text>{{item.gatherHarm? (item.gatherHarm/1000).toFixed(3)/1 :0}}KG</text>
 					</view>
 					<!-- 厨余垃圾 -->
 					<view class="cont-item">
 						<u-image src="/static/chuyu.png"></u-image>
 						<text class="item-title">厨余垃圾</text>
-						<text>{{item.gatherKitchen ? (item.gatherKitchen/1000).toFixed(3)/1 :0}}l</text>
+						<text>{{item.gatherKitchen ? (item.gatherKitchen/1000).toFixed(3)/1 :0}}L</text>
 					</view>
 					<!-- 其他垃圾 -->
 					<view class="cont-item">
 						<u-image src="/static/qita.png"></u-image>
 						<text class="item-title">其他垃圾</text>
-						<text>{{item.gatherOther? (item.gatherOther/1000).toFixed(3)/1 :0}}l</text>
+						<text>{{item.gatherOther? (item.gatherOther/1000).toFixed(3)/1 :0}}L</text>
 					</view>
 					<!-- 建筑垃圾 -->
 					<view class="cont-item">
 						<u-image src="/static/jianzhu.png"></u-image>
 						<text class="item-title">建筑垃圾</text>
-						<text>{{item.gatherBuilding ? (item.gatherBuilding/1000).toFixed(3)/1 :0}}kg</text>
+						<text>{{item.gatherBuilding ? (item.gatherBuilding/1000).toFixed(3)/1 :0}}KG</text>
 					</view>
 				</view>
 			</view>