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