<!--有在线客户 和 打电话-->
<block wx:if="{{sys_switch.weapp_customertype==1}}">
   <!-- 判断是不是有登录  -->
   <view  wx:if="{{userInfo}}" class="custom-service" bindtap="go_user" >
	    <view style="text-align: center;">
		  <image class="cs-img" src="{{object.img}}"></image>
		  <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}">{{object.title}}</view>
		</view>
   </view>

   <button wx:else  class="custom-service" bindtap="click_contact"  open-type="contact"  session-from="wechat|{{userInfo.user_id}}|{{userInfo.nickname}}|{{userInfo.head_pic}}">
	   <view style="text-align: center;">
         <image class="cs-img" src="{{object.img}}"></image>
         <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}">{{object.title}}</view>
	   </view>	 
    </button>	
</block>

<block wx:elif="{{sys_switch.weapp_customertype==2}}">
	<view class="custom-service cart-ico new_split" bindtap="con_weixin">
		<view style="text-align: center;">
			<image class="cs-img" src="{{object.img}}"></image>
			<view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}">{{object.title}}</view>
		</view>
	</view>
</block>

<block wx:else>	
	<view class="custom-service cart-ico new_split" bindtap="contactService">
		 <view style="text-align: center;">
		    <image class="cs-img" src="{{object.img}}"></image>
		    <view class="s_title" style="line-height: 14rpx;" wx:if="{{object.title!=''}}">{{object.title}}</view>
		 </view>	
	</view>
</block>	