Commit 7701baa10ab10724b2e0a7f83f64bfc0f0249be2
1 parent
f896ec4c
1. 在线客服显示图标的问题的修复
2. 再购买时,优惠券选择不使用的时候,没有反应的bug修复
Showing
2 changed files
with
2 additions
and
2 deletions
components/diy_service/diy_service.wxml
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 | |
11 | 11 | <button wx:else class="custom-service" open-type="contact" session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}"> |
12 | 12 | <view style="text-align: center;"> |
13 | - <image class="cs-img" src="{{iurl}}/miniapp/images/custom-service.png"></image> | |
13 | + <image class="cs-img" src="{{object.img}}"></image> | |
14 | 14 | <view class="s_title" wx:if="{{object.title!=''}}">{{object.title}}</view> |
15 | 15 | </view> |
16 | 16 | </button> | ... | ... |
pages/cart/cart2/cart2.js
... | ... | @@ -2144,7 +2144,7 @@ Page({ |
2144 | 2144 | var quan_item=this.data.selected_quan_list[ind]; |
2145 | 2145 | var pickid=this.data.selected_quan_pick; //现在选择的是哪一个门店 |
2146 | 2146 | //--如果券是单品使用的时候-- |
2147 | - if(quan_item.UseObjectType=="20"){ | |
2147 | + if( quan_item && quan_item.UseObjectType && quan_item.UseObjectType=="20"){ | |
2148 | 2148 | //---只有多件购买的时候才要计算,//购物车购买和搭配勾的时候--- |
2149 | 2149 | var gg=getApp().get_b_now(); |
2150 | 2150 | if(this.data.is_b_now==0 || gg.prom_type==5){ | ... | ... |