新增订单弹窗调整
This commit is contained in:
parent
616ec2baa0
commit
0cb68fb371
@ -92,9 +92,10 @@
|
||||
<view class="action-popup">
|
||||
<view class="action-top">
|
||||
<view class="action-close" />
|
||||
<view class="action-title">新增任务</view>
|
||||
<view class="action-title">{{current===0?'新增任务':'注意事项'}}</view>
|
||||
<u-icon class="action-close" :name="fileUrl+closeIcon" size="32" @click="showAddAction=false" />
|
||||
</view>
|
||||
<view v-if="current === 0">
|
||||
<view class="action-lam" style="margin-top: 72rpx;">
|
||||
<view class="lam-title">执行设备</view>
|
||||
<u-input class="lam-input" placeholder-style="font-size:32rpx;color:#B3B3B3;"
|
||||
@ -122,8 +123,48 @@
|
||||
</u-upload>
|
||||
</view>
|
||||
</view>
|
||||
<view class="action-save">
|
||||
保存
|
||||
</view>
|
||||
<view v-else-if="current === 1">
|
||||
<view class="action-attention">
|
||||
<view class="attention-title">
|
||||
1. 乘客管理<br/>准入条件<br/>
|
||||
</view>
|
||||
<view class="attention-content">
|
||||
✅ 身高/体重限制(如:40kg-100kg,需明确公示);<br/>
|
||||
✅ 禁止孕妇、心血管疾病患者、醉酒者乘机;<br/>
|
||||
✅ 签署《风险告知书》并购买保险。<br/>
|
||||
</view>
|
||||
<view class="attention-title">
|
||||
行为规范<br/>
|
||||
</view>
|
||||
<view class="attention-content">
|
||||
❗ 全程系紧安全带,禁止触碰舱门/舷窗;<br/>
|
||||
❗ 禁止携带易燃易爆物品(含充电宝>100Wh);<br/>
|
||||
❗ 飞行中禁用电子设备(防信号干扰)。<br/>
|
||||
</view>
|
||||
<view class="attention-title">
|
||||
2. 飞行安全<br/>气象红线<br/>
|
||||
</view>
|
||||
<view class="attention-content">
|
||||
🔸 风速>8m/s、能见度<1km、雷雨天气立即停飞;<br/>
|
||||
🔸 高原景区需额外监测空气密度(影响升力)。<br/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else-if="current === 2">
|
||||
<view class="action-attention">
|
||||
<view class="attention-title">
|
||||
应急程序<br/>
|
||||
</view>
|
||||
<view class="attention-content">
|
||||
✅ 每架次配应急降落伞(需定期检修);<br/>
|
||||
✅ 预设迫降点(避开人群/水域,景区地图标注);<br/>
|
||||
✅ 乘客紧急通话按钮直连指挥中心。
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="action-save" @click="handleSave">
|
||||
{{current === 0 ? '保存' : current === 1 ? '下一页' : '我已知晓'}}
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
@ -199,7 +240,9 @@ export default {
|
||||
equipmentId: '',
|
||||
weight: '',
|
||||
photo: ''
|
||||
}
|
||||
},
|
||||
// 当前页
|
||||
current: 0
|
||||
}
|
||||
},
|
||||
onPageScroll(e) {
|
||||
@ -226,6 +269,14 @@ export default {
|
||||
const val = this.equipments[index[0]];
|
||||
this.form.equipmentId = val?.id || '';
|
||||
this.form.equipmentName = val?.name || '';
|
||||
},
|
||||
// 保存任务
|
||||
handleSave(){
|
||||
if(this.current === 2){
|
||||
this.showAddAction = false;
|
||||
this.current = 0;
|
||||
}
|
||||
this.current += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -394,6 +445,16 @@ export default {
|
||||
margin-right: 52rpx;
|
||||
}
|
||||
}
|
||||
.action-attention{
|
||||
margin: 44rpx 0 72rpx;
|
||||
font-family: Source Han Sans SC;
|
||||
font-size: 30rpx;
|
||||
color: #333333;
|
||||
line-height: 60rpx;
|
||||
.attention-title{
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
.action-lam{
|
||||
border-bottom: 2rpx solid #D9D9D9;
|
||||
margin-bottom: 34rpx;
|
||||
|
Loading…
Reference in New Issue
Block a user