详情页修改

version/0412
syt 9 months ago
parent 4e0b7946da
commit 0483f38591
  1. 43
      pages/goods/detail.vue
  2. BIN
      static/.DS_Store
  3. BIN
      static/detail/buy.png
  4. BIN
      static/detail/priceback.png
  5. BIN
      static/detail/pro.png
  6. BIN
      static/weixiu.png

@ -200,36 +200,29 @@
</view> </view>
</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>

BIN
static/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Loading…
Cancel
Save