Sfoglia il codice sorgente

赠品图标字段修改

zhengjinyi 3 anni fa
parent
commit
dfee428d08

+ 1 - 1
src/main/resources/static/js/shopping/confirm.js

@@ -721,7 +721,7 @@ var shoppingConfirm = new Vue({
                         productId:item.productId,
                         productNum:item.number,
                         presentNum:0,
-                        productType:item.productType
+                        productType:item.giftType
                     })
                 })
                 return {shopId:el.shopId,note:el.note?el.note:'',productInfo:productInfo}

+ 1 - 1
src/main/resources/templates/shopping/confirm.html

@@ -137,7 +137,7 @@
                 <div class="cartItem clear"  v-for="cart in supplier.cartList" >
                     <div class="c1"><a :href="'/product-'+cart.productId+'.html'" target="_blank">
                         <img class="image" :src="cart.image">
-                        <span v-if="cart.productType==2" class="tip">赠品</span>
+                        <span v-if="cart.giftType==2" class="tip">赠品</span>
                     </a></div>
                     <div class="c2">
                         <a class="name" :href="'/product-'+cart.productId+'.html'" target="_blank">