You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <!--package_A/page/TaskDetail/index.wxml-->
- <view class="detail_container">
- <view class="detail_head">
- <text>{{dataSource.platformName}}</text>
- <text>{{dataSource.createTime}}分配</text>
- </view>
- <!-- 地图区域 -->
- <view id="map" class="map_box">
- <base-map wx:if="{{pointList.length !== 0}}" point="{{pointList}}"></base-map>
- </view>
- <!-- 任务信息 -->
- <view class="task_message">
- <text class="message_head">{{statusList[dataSource.status].text}}任务</text>
- <view class="message_list">
- <view class="message_item" wx:for="{{messageList}}" wx:key="index">
- <image style="width: 28rpx;height: 28rpx;margin-right: 20rpx;" src="{{'../../../assets/img/'+item.icon+'.png'}}"></image>
- <text>{{item.label}}:<text wx:if="{{item.value === 'isLive'}}">{{dataSource[item.value] === 2 ? '否' : '是'}}</text><text wx:else>{{dataSource[item.value] || ''}}</text></text>
- </view>
- </view>
- </view>
- <!-- 表单区域 -->
- <view class="form_container">
- <view class="form_item {{item.warning?'warning':''}}" wx:for="{{formRules}}" wx:key="index">
- <text class="item_label">{{item.name}}</text>
- <picker bindchange="updateChange" mode="selector" data-index="{{index}}" value="{{formOptions[item.value].current}}" range="{{formOptions[item.value].list}}" range-key="{{formOptions[item.value].key}}" disabled="{{disabled}}" class="picker_box">
- <view class="picker" wx:if="{{formOptions[item.value].list[formOptions[item.value].current][formOptions[item.value].key]}}">
- {{formOptions[item.value].list[formOptions[item.value].current][formOptions[item.value].key]}}
- </view>
- <view wx:else class="picker">
- {{item.placeholder}}
- </view>
- <image wx:if="{{!disabled}}" style="width: 20rpx; height: 12rpx; position: absolute; top: 20rpx;right: 20rpx;" src="../../../assets/img/down.png"></image>
- </picker>
- <text class="tips">{{item.placeholder}}</text>
- </view>
- </view>
- <!-- 飞行信息 -->
- <view class="fly_message">
- <text wx:if="{{dataSource.status > 15}}">飞行开始时间:{{dataSource.flightStarTime || ''}}</text>
- <text wx:if="{{dataSource.status > 20}}" style="margin-top: 30rpx;">飞行结束时间:{{dataSource.flightEndTime || ''}}</text>
- </view>
- <!-- 按钮区域 -->
- <view class="btn_list">
- <view wx:if="{{dataSource.status === 10}}" class="btn_item order_btn" bindtap="reciveOrder">接单</view>
- <view wx:if="{{dataSource.status === 15}}" class="btn_item start_btn" bindtap="beginFlight">开始飞行</view>
- <view wx:if="{{dataSource.status === 20}}" class="btn_item end_btn" bindtap="finishFlight">结束飞行</view>
- </view>
- </view>
|