From 097304523468a4417135b4ade5f8d3f0881b334c Mon Sep 17 00:00:00 2001 From: Double-_-Z <2492419643@qq.com> Date: Fri, 25 Jul 2025 00:38:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=AE=A2=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=9D=99=E6=80=81=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aircraft/server/order/detail.vue | 198 ++++++++++++++++++++++++++++++- 1 file changed, 193 insertions(+), 5 deletions(-) diff --git a/aircraft/server/order/detail.vue b/aircraft/server/order/detail.vue index 2b0fe80..0bc20b5 100644 --- a/aircraft/server/order/detail.vue +++ b/aircraft/server/order/detail.vue @@ -11,8 +11,87 @@ - 123 + + + 飞行信息 + + + + + 订单类型 + 载人 + + + 景区 + 白云山 + + + 路线 + 南门→山顶广场 + + + 货物重量 + 56 KG + + + 附加费 + 100 + + + + + + 订单信息 + + + + + 发起人 + 李晓霞 + + + 客户名称 + 李晓霞 + + + 手机号 + 13624566325 + + + 操作员 + 陈新生 + + + 下单时间 + 2025-07-06 14:02:08 + + + + + + 飞行任务 + + + + + + ~暂无任务~ + + + + + + 新增任务 + + + @@ -34,15 +113,26 @@ export default { // #endif //我的页图标基础路径 myFileUrl: configService.fileUrl + 'aerocraft/my/', + // 订单页图标基础路径 + fileUrl: configService.fileUrl + 'aerocraft/order/', // 轮播图 topBg: 'top-bg.png', + // 文字背景图 + textBg: 'text-bg.png', + // 飞行任务空图标 + empty: 'action-empty.png', // 页面是否滚动到顶 topLevel: 0, + // 滚动顶部 + scrollTop: 0, } }, onPageScroll(e) { - - } + const level = e.scrollTop/60; + if(level<=1) this.topLevel = level; + else this.topLevel = 1; + this.scrollTop = e.scrollTop; + }, } @@ -57,7 +147,7 @@ export default { .top-abs{ position: absolute; .order-status{ - margin-top: 68rpx; + margin-top: 54rpx; margin-left: 32rpx; font-family: Source Han Sans SC; font-weight: bold; @@ -80,7 +170,105 @@ export default { margin-top: -230rpx; background: #FFFFFF; border-radius: 20rpx; - padding: 40rpx 30rpx 20rpx; + padding: 40rpx 30rpx calc(150rpx + env(safe-area-inset-bottom)); + .fly-message{ + display: flex; + flex-direction: column; + margin-bottom: 40rpx; + .message-title{ + position: relative; + height: 52rpx; + .text-content{ + z-index: 1; + font-family: Source Han Sans SC; + font-weight: bold; + font-size: 36rpx; + color: #333333; + position: absolute; + } + .text-bg{ + z-index: 0; + top: 0;position: absolute; + left: 0; + margin-top: 24rpx; + } + } + .message-empty{ + margin-top: 16rpx; + padding: 90rpx 30rpx; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + .empty-text{ + font-family: Source Han Sans SC; + font-weight: 400; + font-size: 30rpx; + color: #999999; + margin-top: 30rpx; + } + } + .message-content{ + margin-top: 16rpx; + background: #F7F7F7; + border-radius: 30rpx; + display: flex; + flex-direction: column; + padding: 0 30rpx; + overflow: hidden; + .mc-lam{ + display: flex; + align-items: center; + justify-content: space-between; + padding: 36rpx 0; + border-bottom: 2rpx solid #E6E6E6; + font-family: Source Han Sans SC; + font-weight: 400; + font-size: 32rpx; + &:nth-last-child(1){ + border-bottom: none; + } + .lam-title{ + color: #5E5E5E; + } + .lam-value{ + color: #333333; + text{ + margin-right: 12rpx; + color: #FA6400; + font-family: Arial; + font-weight: bold; + font-size: 34rpx; + } + } + } + } + } + } + .order-bottom{ + z-index: 2; + position: fixed; + bottom: -2rpx; + width: 100%; + background-color: #FFFFFF; + padding: 16rpx 24rpx calc(24rpx + env(safe-area-inset-bottom)); + .add-action{ + background: #FEE547; + border-radius: 12rpx; + font-family: Source Han Sans SC; + font-weight: bold; + font-size: 30rpx; + color: #333333; + display: flex; + align-items: center; + justify-content: center; + padding: 30rpx 0; + &:active{ + margin: 4rpx 0; + font-size: 26rpx; + opacity: 0.8; + } + } } } \ No newline at end of file