|
|
|
@ -201,35 +201,28 @@ |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="fooRight"> |
|
|
|
|
<template v-if="goods.skuList && goods.skuList.length > 0 && goods.skuList[0].stock_num == 0"> |
|
|
|
|
<view class="btn-bg"> |
|
|
|
|
暂无库存 |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
<template v-if="goods.status == 20"> |
|
|
|
|
<view class="btn-bg"> |
|
|
|
|
已下架 |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
<template v-else> |
|
|
|
|
<view class="addCar" v-if="!isPre" @click="choseSku(2)"> |
|
|
|
|
加入购物车 |
|
|
|
|
</view> |
|
|
|
|
<view class="buyNow" v-if="!isPre" @click="choseSku(3)"> |
|
|
|
|
立即购买 |
|
|
|
|
</view> |
|
|
|
|
<view class="buyNow" @click="onReservation" v-if="isPre"> |
|
|
|
|
立即预约 |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="addCar" v-if="!isPre" @click="choseSku(1)"> |
|
|
|
|
加入购物车 |
|
|
|
|
</view> |
|
|
|
|
<view class="buyNow" v-if="!isPre" @click="buyNow"> |
|
|
|
|
立即购买 |
|
|
|
|
</view> |
|
|
|
|
<view class="buyNow" @click="onReservation" v-if="isPre"> |
|
|
|
|
立即预约 |
|
|
|
|
</view> --> |
|
|
|
|
<template v-if="goods.skuList && goods.skuList.length > 0 && goods.skuList[0].stock_num == 0"> |
|
|
|
|
<view class="btn-bg"> |
|
|
|
|
暂无库存 |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
<template v-else> |
|
|
|
|
<view class="addCar" v-if="!isPre" @click="choseSku(2)"> |
|
|
|
|
加入购物车 |
|
|
|
|
</view> |
|
|
|
|
<view class="buyNow" v-if="!isPre" @click="choseSku(3)"> |
|
|
|
|
立即购买 |
|
|
|
|
</view> |
|
|
|
|
<view class="buyNow" @click="onReservation" v-if="isPre"> |
|
|
|
|
立即预约 |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
</template> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|