From e5faf35bfd57b6cfbdcf83567d62e139d9ee88c5 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Mon, 20 Oct 2025 10:34:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=A4=8D=E5=88=B6?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Invitation/InvitationToRegister.vue | 20 ++++++++++++++- src/views/RechargeAgency/Recruit.vue | 25 +++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/src/views/Invitation/InvitationToRegister.vue b/src/views/Invitation/InvitationToRegister.vue index 9d5d4a4..ed2b747 100644 --- a/src/views/Invitation/InvitationToRegister.vue +++ b/src/views/Invitation/InvitationToRegister.vue @@ -526,6 +526,18 @@ + + +
+
+ Copied successfully +
+
@@ -550,7 +562,7 @@ import maskLayer from '../../components/MaskLayer.vue' import { useDebounce, useThrottle } from '@/utils/useDebounce' import { getMemberProfile } from '@/api/wallet' import { showError, showWarning, showInfo, showSuccess } from '@/utils/toast.js' -import { useClipboard } from '@vueuse/core' +import { set, useClipboard } from '@vueuse/core' // vite动态导入图片 const imageModules = import.meta.glob('@/assets/images/InvitationNewUser/*.{png,jpg,svg}', { @@ -572,6 +584,7 @@ const headerInfo = ref({}) const helpInfoShow = ref(false) //帮助模块 const enterCodeShow = ref(false) //交易弹窗 +const tipShow = ref(false) //提示弹窗 const invitationCode = ref('') //邀请码 @@ -605,6 +618,11 @@ const copyCode = (text) => { document.execCommand('copy') document.body.removeChild(textArea) } + + tipShow.value = true + setTimeout(() => { + tipShow.value = false + }, 2000) } /** diff --git a/src/views/RechargeAgency/Recruit.vue b/src/views/RechargeAgency/Recruit.vue index f154b37..0fe9024 100644 --- a/src/views/RechargeAgency/Recruit.vue +++ b/src/views/RechargeAgency/Recruit.vue @@ -230,6 +230,25 @@ + + +
+
+ Copied successfully +
+
@@ -255,6 +274,7 @@ const isInAppEnvironment = ref(false) // 检测是否在APP环境中 const maskLayerShow = ref(false) // 控制遮罩层显示隐藏 const followingStatus = ref(false) // 控制关注按钮状态 +const tipShow = ref(false) //提示弹窗 const defaultAvatarUrl = (e) => { console.log('头像资源出错') @@ -279,6 +299,11 @@ const copyPhone = (text) => { document.execCommand('copy') document.body.removeChild(textArea) } + + tipShow.value = true + setTimeout(() => { + tipShow.value = false + }, 2000) } onMounted(() => {