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