From 3acc1ec5d6b024865bc6211f124df79bbf6f151a Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sun, 8 Oct 2023 15:47:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E4=BF=A1=E6=81=AF=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 + .../plugins/delivery/logistics/logistics.css | 20 ++ .../plugins/delivery/logistics/logistics.vue | 202 ++++++++++++++++++ pages/user-order/user-order.vue | 39 ++-- 4 files changed, 247 insertions(+), 21 deletions(-) create mode 100644 pages/plugins/delivery/logistics/logistics.css create mode 100644 pages/plugins/delivery/logistics/logistics.vue diff --git a/pages.json b/pages.json index badf2ad9..067525dd 100644 --- a/pages.json +++ b/pages.json @@ -969,6 +969,13 @@ "enablePullDownRefresh": true, "navigationBarTitleText": "订单详情" } + }, + { + "path": "logistics/logistics", + "style": { + "enablePullDownRefresh": false, + "navigationBarTitleText": "物流信息" + } } ] }, diff --git a/pages/plugins/delivery/logistics/logistics.css b/pages/plugins/delivery/logistics/logistics.css new file mode 100644 index 00000000..dc2b76f0 --- /dev/null +++ b/pages/plugins/delivery/logistics/logistics.css @@ -0,0 +1,20 @@ +.map-container { + height: 100vh; +} +.team { + left: 20rpx; + bottom: calc(env(safe-area-inset-bottom) + 20rpx); + width: calc(100% - 40rpx); + background-color: rgb(255 255 255 / 0.85); +} +.team .base .avatar { + width: 80rpx; + height: 80rpx; +} +.team .tel { + right: 20rpx; + top: calc(50% - 27rpx); + line-height: 54rpx; + height: 54rpx; + width: 54rpx; +} \ No newline at end of file diff --git a/pages/plugins/delivery/logistics/logistics.vue b/pages/plugins/delivery/logistics/logistics.vue new file mode 100644 index 00000000..95a30cb0 --- /dev/null +++ b/pages/plugins/delivery/logistics/logistics.vue @@ -0,0 +1,202 @@ + + + \ No newline at end of file diff --git a/pages/user-order/user-order.vue b/pages/user-order/user-order.vue index 29495f2c..b3717bb9 100644 --- a/pages/user-order/user-order.vue +++ b/pages/user-order/user-order.vue @@ -56,32 +56,29 @@ + ((item.plugins_express_data || 0) == 1 && (item.express_number || null) != null) || + (item.plugins_delivery_data || 0) == 1 + " class="item-operation tr br-t padding-vertical-main"> + - + @@ -194,15 +191,15 @@ params: params.data, }); } - }, - - onShow() { - // 数据加载 - this.init(); // 初始化配置 this.init_config(); + // 数据加载 + this.init(); + }, + + onShow() { // 分享菜单处理 app.globalData.page_share_handle(); },