瀏覽代碼

Merge branch 'hotfix/v4.7.8.5' of http://192.168.3.207:8080/qmx/jy into hotfix/v4.7.8.5

wangshan 3 年之前
父節點
當前提交
aeebd3e3f1
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/web/staticres/frontRouter/pc/coupon/js/coupon-item-template.js

+ 1 - 3
src/web/staticres/frontRouter/pc/coupon/js/coupon-item-template.js

@@ -14,8 +14,6 @@ var couponItemString = `
                 </span>
                 <span class="info-condition">满{{ full }}可用</span>
             </div>
-            <div class="info-content c-i-h-p-voucher" key="content" v-else-if="attribute.indexOf('实物') != -1">实物券</div>
-            <div class="info-content c-i-h-others" key="content" v-else>优惠券</div>
         </div>
         <div class="c-i-h-date">
             <span class="c-i-h-date-l">{{ useDate }}</span>
@@ -27,7 +25,7 @@ var couponItemString = `
             <span class="ch-label">适用产品:</span>
             <span class="ch-text ellipsis">{{ productionsListStr }}</span>
             <el-popover
-                v-if="productionsListStr.length >= 15"
+                v-if="productionsListStr && productionsListStr.length >= 15"
                 class="ch-icon"
                 :placement="popoverConf.placement"
                 :width="popoverConf.width"