From 889e87d3e95b8c675b572da2faa219feb01261a9 Mon Sep 17 00:00:00 2001 From: kron Date: Sun, 28 Sep 2025 14:48:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/my-device.vue | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/src/pages/my-device.vue b/src/pages/my-device.vue index 7f9a5ad..1aec5fc 100644 --- a/src/pages/my-device.vue +++ b/src/pages/my-device.vue @@ -92,6 +92,18 @@ const toDeviceIntroPage = () => { const backToHome = () => { uni.navigateBack(); }; + +const copyEmail = () => { + uni.setClipboardData({ + data: "shelingxingqiu@163.com", + success: () => { + uni.showToast({ + title: "邮箱已复制", + icon: "success", + }); + }, + }); +};