1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <van-search
- value="{{ key }}"
- placeholder="请输入搜索关键词"
- use-action-slot
- bind:search="onSearch"
- bind:change="onChange"
- class="search"
- >
- <view slot="action" class="search-right">
- <view bind:tap="onSearch">搜索</view>
- </view>
- </van-search>
- <view class="container">
- <edu-loadmore isEmpty="{{rows.length == 0}}" isRefresh="{{isRefresh}}" isLoading="{{isLoading}}"
- isComplete="{{noMore}}">
- <view class='card' wx:for="{{rows}}" wx:key="index">
- <view class="base-info">
- <van-image width="69rpx" height="69rpx" fit="cover" round src="{{item.picUrl}}" class="student-avater"/>
- <view class="user-info">
- <view class="user-base">
- <view class="user-name">{{item.name}}</view>
- <view class="user-tag user-tag1" wx:if="{{myStuId == item.id}}">
- {{item.teamJobName || '学员'}}(我)
- </view>
- <view class="user-tag user-tag2" wx:if="{{myStuId != item.id}}">
- {{item.teamJobName || '学员'}}
- </view>
- <view class="space"></view>
- <van-icon name="/images/ic_student_tel.png" size="33rpx" wx:if="{{item.phone}}"
- bind:tap="callPhone" data-phone="{{item.phone}}"/>
- <view class="user-tel" bind:tap="callPhone" data-phone="{{item.phone}}">{{item.phone || ""}}
- </view>
- </view>
- <view class="user-other">
- {{sexs[item.sex]}} {{item.nationName || "未知"}}
- {{item.teamName}}({{item.groupName ? item.groupName : '未分组'}})
- </view>
- </view>
- </view>
- <view class="other-info">
- <view class="user-job">
- <view class="other-tag">
- <van-icon name="/images/ic_student_job.png" size="24rpx"/>
- <view class="other-tag-txt">职务</view>
- </view>
- <view class="other-content">{{item.jobName || "未知"}}</view>
- </view>
- <view class="divide"></view>
- <view class="space" bind:tap="sleep" data-item="{{item}}">
- <view class="other-tag">
- <van-icon name="/images/ic_student_sleep.png" size="24rpx"/>
- <view class="other-tag-txt">住宿安排</view>
- </view>
- <view class="other-tag-txt other-txt">查看详细
- <van-icon name="arrow"/>
- </view>
- </view>
- </view>
- </view>
- </edu-loadmore>
- </view>
|