From cdd5c3e8e571b4a2489d3fd857a851aa75906f57 Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Fri, 12 Jun 2020 14:46:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/order-item/index.vue | 3 +- pages/index/details.vue | 148 +++++++++++++++++++++++----- pages/index/index.vue | 166 +++++++++++++++++++++++++++++++- static/image/home/2.png | Bin 0 -> 2434 bytes static/image/home/3.png | Bin 0 -> 2556 bytes static/image/home/4.png | Bin 0 -> 4399 bytes static/image/home/5.png | Bin 0 -> 1057 bytes 7 files changed, 292 insertions(+), 25 deletions(-) create mode 100644 static/image/home/2.png create mode 100644 static/image/home/3.png create mode 100644 static/image/home/4.png create mode 100644 static/image/home/5.png diff --git a/components/order-item/index.vue b/components/order-item/index.vue index 1894615..7923ee0 100644 --- a/components/order-item/index.vue +++ b/components/order-item/index.vue @@ -21,9 +21,8 @@ export default { }, methods: { toDetailsPage() { - console.log(1) uni.navigateTo({ - url: '/pages/index/details' + url: '/pages/index/details?current=' + this.cur }); }, }, diff --git a/pages/index/details.vue b/pages/index/details.vue index 56b63e0..4a3d061 100644 --- a/pages/index/details.vue +++ b/pages/index/details.vue @@ -10,7 +10,21 @@ - + + + + 李先生 + + + + 123456789 + + + + 山东省临沂市兰山区XX路XX小区XX楼xx单元 + + + 收件人信息 @@ -27,19 +41,23 @@ - + 派送方式 - + 人工送达 - 指派外部骑手 + 指派外部骑手 - - 快递 - 骑手 + + 快递 + 骑手 确认 - + + 不处理 + 确定处理 + + 骑手信息 @@ -48,39 +66,42 @@ 确认 - + 填写快递单号 确认 + + 确定处理
平台将进行退款
+ 确定不处理
平台将进行联系
+ + 取消 + 确定 + +
@@ -126,6 +147,39 @@ export default { } } } + .refunds-user { + padding: 25rpx 30rpx; + background-color: #FFFFFF; + margin-bottom: 20rpx; + > view { + display: flex; + align-items: center; + margin-bottom: 30rpx; + @mixin image-class($width, $right) { + > image { + flex-shrink: 0; + width: $width; + height: 40rpx; + margin-right: $right; + } + } + &:first-child { + @include image-class($width: 40rpx, $right: 20rpx); + } + &:nth-child(2) { + margin-left: 4rpx; + @include image-class($width: 32rpx, $right: 24rpx); + } + &:last-child { + margin-left: 2rpx; + @include image-class($width: 36rpx, $right: 22rpx); + } + > view { + font-size: 26rpx; + color: rgba(51,51,51,1); + } + } + } .user-info { .info-title { font-size: 30rpx; @@ -209,6 +263,29 @@ export default { line-height: 98rpx; } } + .refunds-option { + flex: 1; + padding: 88rpx 30rpx; + background-color: #FFFFFF; + display: flex; + > view { + width: 335rpx; + height: 80rpx; + border: 1rpx solid rgba(236,236,236,1); + background: rgba(236,236,236,1); + border-radius: 6rpx; + font-size: 30rpx; + color: rgba(0,0,51,1); + line-height: 80rpx; + text-align: center; + margin-right: 20rpx; + } + .active { + border: 1rpx solid #FF780F; + color: #FF780F; + background: #FFF1E6; + } + } .delivery-popup { .title { width: 420rpx; @@ -239,5 +316,32 @@ export default { text-align: center; } } + .refunds-popup { + .popup-tips { + width: 420rpx; + text-align: center; + font-size: 28rpx; + color: rgba(102,102,102,1); + line-height: 42rpx; + padding: 30rpx 0; + } + .popup-btn { + width: 420rpx; + display: flex; + border-top: 2rpx solid #ECECEC; + > view { + flex: 1; + height: 98rpx; + text-align: center; + line-height: 98rpx; + &:first-child { + border-right: 2rpx solid #ECECEC; + } + } + .determine { + color: #FF780F; + } + } + } } \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 0709aff..1e86ffe 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -30,7 +30,24 @@ - {{ current }} + + + 选择骑手 + + {{ worker.company + " " + worker.name }} + + + + 请选择 + + + + + 投诉简介 +