38 lines
1.8 KiB
Plaintext
38 lines
1.8 KiB
Plaintext
<!--pages/task/task.wxml-->
|
|
<view class="task_container">
|
|
<!-- 上传 -->
|
|
<view class="upload_box">
|
|
<view class="company_message">
|
|
<text>{{userInfo.name}}</text>
|
|
</view>
|
|
<view class="upload_container">
|
|
<view class="to_upload" bindtap="goUpload">
|
|
<image style="width: 80rpx;height: 60rpx;margin-bottom: 20rpx;" src="../../assets/img/photo.png"></image>
|
|
<text>车辆登记</text>
|
|
</view>
|
|
<view class="to_upload" bindtap="goRegister">
|
|
<image style="width: 80rpx;height: 60rpx;margin-bottom: 20rpx;" src="../../assets/img/photo.png"></image>
|
|
<text>访客登记</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 记录 -->
|
|
<view class="task_box" wx:if="{{dataList}}">
|
|
<view class="all_task">
|
|
<text style="font-weight: bold; font-size: 34rpx;">近期上报</text>
|
|
<text style="font-size: 26rpx; color: rgba(42, 130, 228, 1);" data-status="all" bindtap="goTaskPage">查看更多</text>
|
|
</view>
|
|
<view class="task_item" wx:for="{{dataList}}" wx:key="index" bindtap="goTaskDetail" data-detail="{{item}}">
|
|
<view class="card_head">
|
|
<text style="font-size: 30rpx;color: rgba(0, 0, 0, 0.84);">登记时间:{{item.createTime || ''}}</text>
|
|
<text style="font-size: 30rpx;">{{uploadType[item.registerType]}}</text>
|
|
</view>
|
|
<image-info data="{{item}}"></image-info>
|
|
</view>
|
|
</view>
|
|
<!-- <view wx:else class="empty_page">
|
|
<image style="width: 150rpx; height: 150rpx;" src="../../assets/img/empty.png"></image>
|
|
<text style="font-size: 30rpx; color: #999999;">暂无数据</text>
|
|
</view> -->
|
|
</view>
|