YZM 2 anos atrás
pai
commit
71bef5ddf3

+ 8 - 2
tm-vuetify/components/tm-cartCellListFood/tm-cartCellListFood.vue

@@ -34,8 +34,8 @@
 				</view>
 				<view class="tm-cartCellListFood-price flex-between">
 					<view>
-						<text class="text-size-xs text-red" v-if="typeclick!=3 && typeclick!=6">¥</text>
-						<text v-if="typeclick!=3 && typeclick!=6"
+						<text class="text-size-xs text-red" v-if="typeclick!=3 && typeclick!=6  && typeclick!=8">¥</text>
+						<text v-if="typeclick!=3 && typeclick!=6  && typeclick!=8"
 							class="text-size-n text-red text-weight-b px-5">{{mdata[keyMap['price']]}}</text>
 						<text v-if="mdata[keyMap['unit']]"
 							class="text-size-xs text-grey pr-10">/{{mdata[keyMap['unit']]}}</text>
@@ -89,6 +89,12 @@
 						<view class="genghuan mr-10" @click="genghuan(mdata,1)">更换</view>
 						<view class="genghuan" @click="genghuan(mdata,2)">出库</view>
 					</view>
+					<view style="position: absolute;right: 20px;" v-if="typeclick==7">
+						<view class="genghuan mr-10" @click="genghuan(mdata,1)">更换</view>
+					</view>
+					<view style="position: absolute;right: 20px;" v-if="typeclick==8">
+						
+					</view>
 				</view>
 			</view>
 		</view>