From 76fabb80a43b50ddc59f8ae9239141c84a43a78f Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Thu, 14 May 2026 14:08:36 +0800 Subject: [PATCH] 1 --- pages/index/index.vue | 53 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 2022ee9..3f7de2d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -513,7 +513,17 @@ - + + + + + 抢单成功 + + 点击下方"配送"按钮,即可开始送单啦 + + + + @@ -964,7 +974,7 @@ if (res.code == 200) { that.resetSwipeOrder(); if (!uni.getStorageSync('worker') && res.result != null) { - that.tui.toast(res.message + '点击下方"配送"即可开始送单啦!'); + this.$refs.tishiPopup.open() uni.setStorageSync('worker', res.result) }else{ that.tui.toast(res.message); @@ -2742,4 +2752,43 @@ font-weight: 700; color: #000; } + .tishi-popup{ + background:url('https://jewel-shop.oss-cn-beijing.aliyuncs.com/629843c61a014d69bf3a1195f51a898b.png') no-repeat; + width: 300px; + height: 285px; + box-sizing: border-box; + background-size: 100% 100%; + position: relative; + text-align: center; + } + + .tishi-copy { + position: absolute; + top: 72px; + left: 46px; + width: 194px; + } + + .tishi-copy-title { + color: #21443c; + font-size: 16px; + font-weight: 900; + line-height: 23px; + letter-spacing: 0.2px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); + } + + .tishi-copy-desc { + margin-top: 13px; + color: #6d7d78; + font-size: 14px; + font-weight: 700; + line-height: 21px; + letter-spacing: 0.1px; + } + + .tishi-copy-highlight { + color: #ff7043; + font-weight: 900; + } \ No newline at end of file