<!--packageE/signin/signin.wxml-->

<!--客服静态-->
<view class="customer_service" style="background-color: {{datas.preview_color.color}};background-image: url({{datas.preview_color.isColor == 2? datas.preview_color.image: ''}}); background-size: 100% auto; bakcground-position: center;">
  <view class="service-item" wx:for="{{datas.list}}"  wx:key="index" data-item="{{item}}" catchtap="toService">
    <view class="avatar">
      <image class="img" src="{{item.avatar || emptyImage}}" mode='aspectFill' alt="" />
    </view>
    <view class="name" style="font-size: {{datas.font_size}}px; color: {{datas.font_color}};">{{item.nickname}}</view>
    <view class="btn-session" style="font-size: {{datas.button_size}}px; color: {{datas.button_color}};background-color: {{datas.button_bg_color}};border: solid {{datas.show_border? '1' : '0'}}px {{datas.button_border_color}};" data-item="{{item}}" catchtap="toChat">
				<text class="button-item">{{datas.button_title}}</text>
			</view>
  </view>

  <view style="font-size: 20px;font-weight: bold;margin: 15px auto;text-align: center;" wx:if="{{!datas.list || datas.list.length <= 0}}">
    暂无添加客服
  </view>
</view>
