<scroll-view style="height:100%;background:white;" scroll-y="true" lower-threshold="100" bindscrolltolower="scrollToLower">
  <view wx:if="{{homelist.length>0}}">
    <view wx:for='{{homelist}}' wx:key="index" bindtap="navDetail" data-id="{{item.id}}">
      <view class="detailbox">
        <view class="{{item.border? '':'borderBottom'}}" style="margin-left:22%;padding: 3% 0;">
          <view class="titleC"
            style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;font-size:12pt;margin:0;">
            {{item.name}}
          </view>
          <view class="detailTextC">{{item.scope}}</view>
          <view class="detailTextC">{{item.remark? item.remark:'暂无简介'}}</view>
          <image src="{{item.headImg? DOMAIN_NAME+item.headImg:'/images/tou.jpg'}}"
            style="width:100rpx;height:100rpx;overflow:hidden;border-radius:50%;position:absolute;top:38rpx;left:36rpx;"
            mode="widthFix"></image>
        </view>
      </view>
    </view>
  </view>
  <view wx:else style="text-align:center;margin-top:50%;font-size:30rpx;">暂无企业数据</view>
  <view style="text-align: center;margin: 10px;">
    <view wx:if="{{loading}}">加载中...</view>
    <view wx:if="{{noMore}}">没有更多了</view>
    <view wx:if="{{loadingFailed}}">数据加载失败,请重试</view>
  </view>
</scroll-view>