shish 3 лет назад
Родитель
Сommit
cb7415bee8
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      mallApp/src/pages/item/components/subItem.vue

+ 3 - 0
mallApp/src/pages/item/components/subItem.vue

@@ -13,6 +13,9 @@
 						</view>
 						<text style="text-decoration:line-through;color:#A9A9A9;position:absolute;display:block;top:16upx;left:90upx;">¥{{parseFloat(info.prePrice)}}</text>
 					</view>
+					<view class="flex-space" style="color:#CCCCCC;position:absolute;top:13upx;" v-else>
+						{{info.ratio}}{{info.smallUnit}}/{{info.bigUnit}}
+					</view>
 					<view class="price" >¥{{ parseFloat(info.price) }}</view>
 				</view>
 				<view class="price" v-else></view>