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(() => {