|
@@ -125,10 +125,11 @@
|
|
<text>库存{{specsInfo.num||0}}</text>
|
|
<text>库存{{specsInfo.num||0}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="btn">
|
|
<view class="btn">
|
|
- <text @click="toBuy(type)" :class="{ 'button': specsInfo._id&&specsInfo.can_group=='0'}">
|
|
|
|
|
|
+ <text @click="toBuy(type)" :class="{ 'button': specsInfo._id&&specsInfo.can_group=='0'&&type=='1'}">
|
|
{{type=='0'?'加入购物车':'立即购买'}}
|
|
{{type=='0'?'加入购物车':'立即购买'}}
|
|
</text>
|
|
</text>
|
|
- <text v-if="specsInfo._id&&specsInfo.can_group=='0'" @click="toGroup" class="button2">参团</text>
|
|
|
|
|
|
+ <text v-if="specsInfo._id&&specsInfo.can_group=='0'&&type=='1'" @click="toGroup"
|
|
|
|
+ class="button2">参团</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</uni-popup>
|
|
</uni-popup>
|