<view class="page">
  <scroll-view scroll-y="true" class="contenBox" lower-threshold="100" bindscrolltolower="scrollToLower"
    wx:if="{{myOrderList.length>0}}">
    <view class="detailbox" bindtap="navDetail"
      data-id="{{item.serviceId}}" wx:for="{{myOrderList}}" wx:key='index'>
      <view>
        <view style="padding: 4%;">
          <view class="titleC" style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;font-size:12pt;">
            {{item.serviceName}}
          </view>
          <view class="detailTextC" style="margin-bottom:10rpx;width:70%;">
            <text>{{item.serviceDesc? item.serviceDesc:''}}</text></view>
          <view>
            <text class="iconfont iconprice" style="color:#E64F54 !important;"></text>
            <text style="color:#E64F54;" wx:if="{{item.price&&item.price!=0}}">{{item.price}}{{item.priceUnit}}</text>
            <text style="color:#E64F54;" wx:else>免费</text>
          </view>
          <view style="position:absolute;top:48rpx;right:36rpx;text-align:center;width:144rpx;">
            <image src="{{item.supplierImg? IMG_NAME+item.supplierImg:'/images/t.jpg'}}"
              style="width:90rpx;height:90rpx;oberflow:hidden;border-radius:20rpx;" mode="widthFix"></image>
            <view style="width:100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">
              {{item.supplierName}}
            </view>
          </view>
          <view class="detailTextC" style="margin-top:60rpx;text-align:center;">申请时间：{{item.createTime}}</view>
        </view>
      </view>
    </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>
  <view wx:else style="text-align:center;margin-top:50%;font-size:30rpx;">暂无服务</view>
</view>