|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <view class="item-cmd_bx">
|
|
|
+ <view class="item-cmd_bx" @click="customNum">
|
|
|
<view class="img_bx">
|
|
|
<app-img :src="info.cover" alt="商品图" mode="aspectFit" :height="160" />
|
|
|
</view>
|
|
|
@@ -15,14 +15,14 @@
|
|
|
<text class="unit">库存:{{ info.stock }}</text>
|
|
|
</view>
|
|
|
<view class="open-bx">
|
|
|
- <i class="iconfont iconjian" :class="delAnimationData?'animation':''" @click="delEvent" v-if="bigCount > 0 || smallCount > 0"></i>
|
|
|
- <text class="num" @click="customNum" >
|
|
|
+ <i class="iconfont iconjian" :class="delAnimationData?'animation':''" @click.stop="delEvent" v-if="bigCount > 0 || smallCount > 0"></i>
|
|
|
+ <text class="num" @click.stop="customNum" >
|
|
|
<!-- <text class="num" @click="customNum" v-if="bigCount > 0 || smallCount > 0">-->
|
|
|
<text v-if="bigCount > 0 || smallCount > 0">{{ `${bigCount}` }}</text>
|
|
|
<text v-if="smallCount > 0">/</text>
|
|
|
<text v-if="smallCount > 0">{{ `${smallCount}` }}</text>
|
|
|
</text>
|
|
|
- <i class="iconfont iconzeng" :class="addAnimationData?'animation':''" @click="customNum"></i>
|
|
|
+ <i class="iconfont iconzeng" :class="addAnimationData?'animation':''" @click.stop="customNum"></i>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|