Commit d9a3e1cd by 陈羽

update: 删除卡券图片展示

parent ae498c68
......@@ -3,7 +3,6 @@
<img v-if="item.status === 0" :src="require('../assets/img/delete_icon.png')" draggable="false" class="flag" />
<img v-else-if="item.couponStock <= 0" :src="require('../assets/img/stock_icon.png')" draggable="false" class="flag" />
<div class="dm-card__item" :style="{ background: item.cardColor }">
<img class="dm-card__item__avatar" :src="item.brandLogo || loadErrorImg" alt="" />
<div class="inline-block">
<el-tooltip open-delay="200" effect="dark" :content="item.coupCardId" placement="top-start">
<p class="dm-card__item__title">{{ item.cardName }}</p>
......@@ -25,9 +24,7 @@ export default {
name: 'item-card',
data() {
return {
formatDateTimeByType,
// eslint-disable-next-line
loadErrorImg: require('../assets/img/loaderror.png')
formatDateTimeByType
};
},
props: {
......
......@@ -28,7 +28,7 @@
</el-table-column>
<el-table-column :show-overflow-tooltip="true" align="left" prop="storeSignName" label="签到计划名称"></el-table-column>
<el-table-column :show-overflow-tooltip="true" align="left" label="福利类型">
<template slot-scope="scope"> {{ scope.prizeType === 1 ? '积分' : '卡券' }}</template>
<template slot-scope="scope"> {{ scope.row.prizeType === 1 ? '积分' : '卡券' }}</template>
</el-table-column>
<el-table-column :show-overflow-tooltip="true" align="left" prop="prizeTxt" label="签到福利"></el-table-column>
</el-table>
......
......@@ -236,7 +236,7 @@ export default {
this.prizeItem.integralCount = this.form.prizeValue;
this.itemCom = 'item-integral';
} else {
this.prizeItem = { ...this.form.coupon, brandLogo: this.brandLogo };
this.prizeItem = { ...this.form.coupon };
this.itemCom = 'item-card';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment