<!--components/div_floatingBox/div_floatingBox.wxml-->
<view class="floatingBox" style="{{loaction_index==1 ? 'right: 0;padding-right:2rpx' :'left: 0;padding-left:2rpx;'}}">
  <block wx:for="{{farr}}">
    <!--悬浮窗口-->
    <block wx:if="{{item.ename=='floatingWindow'}}" >
      <view wx:for="{{item.content.data}}" wx:for-item="ite" style="margin: 10rpx 0;">
        <floatingWindow  object="{{ite}}"></floatingWindow>
      </view>
    </block>
    <!--在线上客服-->
    <view wx:if="{{item.ename=='onlineService'}}" style="margin: 10rpx 0;">
      <service object="{{item.content}}"></service>
    </view>
    <!--扫一扫-->
    <view wx:if="{{item.ename=='scan'}}" style="margin: 10rpx 0;">
      <scan object="{{item.content}}"></scan>
    </view>
    <!--返回顶部-->
    <view wx:if="{{item.ename=='backTop' && is_show_top==1}}" catchtap="scrollfn" class="backTop" style="margin: 10rpx 0;">
      <!-- <scan object="{{item.content}}"></scan> -->
      <image src="{{item.content.img}}" style="width: 50rpx;height: 50rpx;"></image>
    </view>
  </block>
</view>