From 98bc0d4c8c94a15c0e977c12305ed44f8fb38976 Mon Sep 17 00:00:00 2001 From: nyoung Date: Mon, 23 Dec 2024 12:30:58 +0800 Subject: [PATCH] 1 --- pages/index/index.vue | 41 ++++++-- pages/orderDetails/details.vue | 171 ++++++++++++++++++++++++++++++-- static/icons/currentDetails.png | Bin 0 -> 993 bytes 3 files changed, 194 insertions(+), 18 deletions(-) create mode 100644 static/icons/currentDetails.png diff --git a/pages/index/index.vue b/pages/index/index.vue index a476927..0f012e3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -71,12 +71,7 @@ {{item.rescuePosition || ''}} - - - - - 详情 - + @@ -142,6 +137,18 @@ 查看详情 + + + + + 转维修 + + + + + + 查看详情 + @@ -327,7 +334,25 @@ components: { tabBar, }, - methods: { + methods: { + GOrepair(item){ + let data ={ + id: item.id + } + request({ + url: '/app/rescueInfo/toRepair', + method: 'post', + params: data + }).then((res) => { + if (res.code == 200) { + uni.showToast({ + title: '操作成功' + }) + this.singleList = [] + this.driverRescuePage() + } + }) + }, jyPushStart() { // 暂时只有安卓支持 jyJPush.registerSDKCallBack(sdkCallBack => { @@ -1174,7 +1199,7 @@ } .ja-you { - width: 60%; + width: 80%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; diff --git a/pages/orderDetails/details.vue b/pages/orderDetails/details.vue index 3b2b14d..b69cf12 100644 --- a/pages/orderDetails/details.vue +++ b/pages/orderDetails/details.vue @@ -152,6 +152,18 @@ 救援类型: {{detailsData.rescueTypeStr || ''}} + + + + 是否扣车: + {{detailsData.isKouChe=='1'?'是' : '否'}} + + + + + 是否维修: + {{detailsData.isWeiXiu=='1'?'是' : '否'}} + @@ -188,8 +200,42 @@ 救援进程 - - + + + + + + + + + + + + {{item.title}} + + {{item.createTime}} + + + + {{item.remark}} + + + + + + + + + + + + + + + + + @@ -606,13 +652,13 @@ } - .lan-ga { - width: 100%; - margin: 10px auto; - box-sizing: border-box; - padding-bottom: 15px; - border-bottom: 1px solid #EEEEEE; - } + // .lan-ga { + // width: 100%; + // margin: 10px auto; + // box-sizing: border-box; + // padding-bottom: 15px; + // border-bottom: 1px solid #EEEEEE; + // } .ga-top { display: flex; @@ -1062,5 +1108,110 @@ .actbox { background: #0D2E8D !important; color: white; + } + + + .lan-ga { + width: 100%; + margin: 20rpx auto; + box-sizing: border-box; + padding-bottom: 40rpx; + position: relative; + + .lan-ga-line { + position: absolute; + width: 2rpx; + height: calc(100% - 56rpx); + background-color: #979797; + left: calc(56rpx / 2 - 2rpx); + transform: translate(-50%, 0); + top: calc(56rpx + 10rpx); + } + } + + .ga-top-box { + display: flex; + justify-content: space-between; + } + + .ga-content { + flex: 1; + width: 0; + + .ga-content-top { + display: flex; + align-items: center; + justify-content: space-between; + column-gap: 8rpx; + padding-bottom: 14rpx; + } + + .ga-content-title { + font-weight: bold; + flex: 1; + width: 0; + word-break: break-all + } + + .xhui { + font-size: 22rpx; + color: #929292; + flex-shrink: 0; + } + + .beizh { + font-size: 28rpx; + color: #000000; + } + } + + .ga-top { + display: flex; + align-items: center; + color: #000; + font-weight: bold; + font-size: 16px; + } + + .img-box { + width: 70px; + height: 70px; + border-radius: 6px; + overflow: hidden; + margin-top: 10px; + margin-right: 10px; + + image { + width: 100%; + height: 100%; + } + } + + .wrap-box { + width: 100%; + display: flex; + flex-wrap: wrap; + } + + + .gain { + box-sizing: border-box; + width: 52rpx; + height: 52rpx; + font-size: 34rpx; + color: #327DFB; + margin-right: 20rpx; + border: 2rpx solid #327DFB; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + line-height: 1; + font-weight: bold; + + .gainIcon { + width: 100%; + height: 100%; + } } diff --git a/static/icons/currentDetails.png b/static/icons/currentDetails.png new file mode 100644 index 0000000000000000000000000000000000000000..feee510073be0dcebc53a7ec19e96ddabab24c7b GIT binary patch literal 993 zcmV<710MW|P)Px&n@L1LRA@upnmuR~Q4q)Hzq@y&iA`z+#ShRTl8YD8C5V{eII%$wi6c{B4q zKpMZ9RX$g%y7Mr2l9?`m=?oE_V9>Z2222$q`oo|yKwsI#ULt7}b~5;`%MFAzl+N>{ zW81fgvB<%{toX1Q&7si2hT@bcln)i2eC@*r22|Anu$eT>mF*mUsOreDRu!Jhu~l*HN5r_p#0gcsFmfQ&2>fi^ zupVsXV5`_t0!pv(g!9+gWafDlqq=1P6wEPmp}2yB<7^)bbS2N1T-$lW%pzkA?E_FY zEc3?4EI#*hqA$>NwswsfubEh;-C=(qQ~IWsk9dsJYK(lRPW!kq0j zQ(b`?Yo<8tFzY!BK-nBK)7{oo2T(nmId6xR093?d zasWLoVeh8KyPk^?rvll*-rz-Hm1tn5B6`s=X|@%Icz_Ev;Izi;+NL3t-pm zPs$b|5)?4Y4WRXc>kGkEjm zUs|9@@{@<=bJM^Q*5P zh6n~;U@B|BC+4eu9SS2K1&s6u_<&T#E;I4zFb?|BjSNQCAp8_SznOT#k5fTqqlBp! zRUC+r`$x>lFixse_NZYRAy*9rq*~br0#jc@)xaUATGe0kqRxMd682)mIu zBnbl6aY!PJ#O@fYzLsKi&?tancNDBU;{{m{esqpKtQW>&cby`jVs+u=O?j-YBt58D zT^hH{R9vq0J*Zecyzro6^)#lrHpJ%fQhULR&GWK$u-H5R?AD@;!V}H^HB)&P;fryK P00000NkvXXu0mjf;Udyh literal 0 HcmV?d00001