Ver código fonte

显示车牌号

李书文 1 ano atrás
pai
commit
d4f190bba8
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      pages/market/two/list.vue

+ 2 - 1
pages/market/two/list.vue

@@ -22,6 +22,7 @@
 				<view class="con">
 					<view class="productName omit">{{ item.goodsName }}</view>
 					<view class="price">¥ {{ item.resalePrice }}</view>
+					<view class="desc">车牌号:{{ item.veNo }}</view>
 					<view class="icon btn" v-if="user.userType == 3" @click.stop="addCar(item)">&#xe600;</view>
 					<view class="btn" v-if="user.userType == 3" @click.stop="buy(item)">购买</view>
 				</view>
@@ -30,7 +31,7 @@
 			<u-empty v-if="!loadMore && list.length == 0"></u-empty>
 		</view>
 		<productType v-model="show"></productType>
-		<button class="addBtn" @click="goCar()">
+		<button class="addBtn" @click="goCar()" v-if="user.userType == 3">
 			<text class="icon">&#xe600;</text>
 			<view class="bag animated" :class="{ bounce: add }" v-if="cars > 0">{{ cars }}</view>
 		</button>