| | |
| | | <template v-if="list.length > 0"> |
| | | <view class="list-item" v-for="(item, index) in list" :key="index" @click="jumpDetails(item)"> |
| | | <view class="left" v-if="edit" @click.stop="select(index)"> |
| | | <image src="/static/icon/ic_agree@2x.png" mode="widthFix" v-if="!item.active"></image> |
| | | <image src="/static/icon/cart_ic_sel@2x.png" mode="widthFix" v-else></image> |
| | | <image :src="!item.active ? '/static/icon/ic_agree@2x.png' : '/static/icon/cart_ic_sel@2x.png'" mode="widthFix"></image> |
| | | <!-- <image src="/static/icon/cart_ic_sel@2x.png" mode="widthFix" v-else></image> --> |
| | | </view> |
| | | <view class="right"> |
| | | <view class="list-item-image"> |
| | |
| | | <view class="list-item-info"> |
| | | <view class="list-item-info-top">{{item.name}}</view> |
| | | <view class="list-item-info-bottom"> |
| | | <text>¥{{item.price}}</text> |
| | | <text>¥{{item.minPrice}}</text> |
| | | <text>¥{{item.linePrice}}</text> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="list-item" v-for="(item, index) in list" :key="index" @click="jumpWZ(item)"> |
| | | <view class="info"> |
| | | <view class="check" v-if="edit" @click.stop="select(index)"> |
| | | <image src="/static/icon/ic_agree@2x.png" mode="widthFix" v-if="!item.active"></image> |
| | | <image src="/static/icon/cart_ic_sel@2x.png" mode="widthFix" v-else></image> |
| | | <image :src="!item.active ? '/static/icon/ic_agree@2x.png' : '/static/icon/cart_ic_sel@2x.png'" mode="widthFix"></image> |
| | | <!-- <image src="/static/icon/cart_ic_sel@2x.png" mode="widthFix" v-else></image> --> |
| | | </view> |
| | | <view class="info-right"> |
| | | <view class="info-title">{{item.name}}</view> |