You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
3.7 KiB
Plaintext
65 lines
3.7 KiB
Plaintext
<view>
|
|
<view class="weui-search-bar weui-search-bar_focusing" id="searchBar" style="line-height: 1;background-color: #fff;">
|
|
<form class="weui-search-bar__form flex-1">
|
|
<view class="weui-search-bar__box" catchtap="goSearch" style="background-color: #f5f5f5;border-radius: 17px;">
|
|
<i class="iconfont icon-sousuo"></i>
|
|
<!-- <input type="text" class="weui-search-bar__input" placeholder-style="color:#999;" placeholder="搜索我的项目" value="{{inputVal}}" focus="{{inputShowed}}" bindinput="inputTyping" bindconfirm="searchKey" confirm-type="search" style="width: 140px;" />
|
|
<view class="iconfont icon-qingchu" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></view> -->
|
|
<view class="weui-search-bar__input {{!chaShowed ? 'c9' : 'c3'}}" style="width: 160px;">{{inputVal}}</view>
|
|
<view class="iconfont icon-qingchu" wx:if="{{chaShowed}}" catchtap="clearInput"></view>
|
|
<view class="search" catchtap="searchKey">搜索</view>
|
|
</view>
|
|
</form>
|
|
|
|
</view>
|
|
<view class="fullPage" catchtap="hideSmall" wx:if="{{smallShow}}"></view>
|
|
<block>
|
|
<!-- wx:if="{{recordList != null && recordList.length > 0 || !hasMoreData}}" -->
|
|
|
|
<scroll-view scroll-y enable-back-to-top="true" bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" class="jobCenterActive main bgf" scroll-with-animation="true" scroll-into-view="{{siv}}" style="height:calc(100vh - 64px);margin-top: 1px;">
|
|
<!-- <view class=""> -->
|
|
<view class="mainlist" wx:for="{{recordList}}" wx:key="index" mark:id="{{item.id}}" mark:index="{{index}}" hover-class="hcb" style="padding: 0 12px;" bindtap='toDetail'>
|
|
<view class="subset">
|
|
<!-- <view wx:for="{{billList}}" wx:key="index" class="subset" hover-class="hcb" hover-stop-propagation="false" mark:id="{{item.id}}" mark:index="{{index}}" bindtap='toDetail'> -->
|
|
<view class="userinfo flex-1">
|
|
<!-- <view class="icon pr" catchtap='makePhoneCall' hover-stop-propagation hover-class="hcb" data-tel='{{item.tel}}'>
|
|
<view class="iconfont icon-shouji" style="color:var(--color-ysd)"></view>
|
|
</view> -->
|
|
<view class="user flex-1">
|
|
<view class="username">
|
|
|
|
<i class="t-icon t-icon-ziying3 pr" wx:if="{{item.signType == 1}}" style="width: 30px;height: 16px;top: 1px;"></i>
|
|
<i class="t-icon t-icon-sanfang2 pr" wx:if="{{item.signType == 2}}" style="width: 30px;height: 16px;top: 1px;"></i>
|
|
|
|
{{item.projectName}}
|
|
</view>
|
|
|
|
<view class="fr c9 f14">{{item.supplierName}}</view>
|
|
<view class="clb"></view>
|
|
<view class="usertype fl" wx:if="{{item.detailPosition != ''}}">{{item.detailPosition}}</view>
|
|
<view class="fr c3 f14 mt8">{{item.storeJobNum1}}/{{item.storeJobNum}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- {{!hasMoreData}} {{!isLoading}} -->
|
|
<view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
|
|
<view wx:else class="f12 c9 tc p20">上滑加载更多</view>
|
|
<!--
|
|
<block wx:if="{{(recordList == null || recordList.length == 0) && !isLoading}}">
|
|
<view style="margin-top:128rpx;">
|
|
<view class="center">
|
|
<icon class='t-icon cccc t-icon-zanwu' style='width:86px;height:86px;margin-bottom:20px;margin-top:30px'></icon>
|
|
<view class="f16 cccc">暂无记录</view>
|
|
</view>
|
|
</view>
|
|
</block> -->
|
|
|
|
</scroll-view>
|
|
<!-- </view> -->
|
|
<!-- <view wx:if="{{hasMoreData}}" bindtap="loadMoreData" class="loadMore" hover-class="hcb">
|
|
<view class="" hover-class="none" hover-stop-propagation="false">查看更多</view>
|
|
</view> -->
|
|
</block>
|
|
|
|
</view> |