From d5381ec06ab5f549fade867c3a874de613bdd5d4 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Fri, 07 Jun 2024 10:23:41 +0800
Subject: [PATCH] 去掉BNB充值,调试好充值接口
---
src/components/footer/index.vue | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/src/components/footer/index.vue b/src/components/footer/index.vue
index b3f60fc..dedb782 100644
--- a/src/components/footer/index.vue
+++ b/src/components/footer/index.vue
@@ -73,7 +73,7 @@
name: 'profile',
}"
>
- <span>{{ $t("Profile") }}</span>
+ <span>{{ $t("我的") }}</span>
<template #icon="props">
<img
:src="props.active ? profile.active : profile.inactive"
@@ -113,10 +113,18 @@
profile: {},
};
},
+ created() {
+ this.$nextTick(() => {
+ // 禁用右键
+ document.oncontextmenu = new Function("event.returnValue=false");
+ // 禁用选择
+ document.onselectstart = new Function("event.returnValue=false");
+ });
+ },
mounted() {
this.home = {
- active: require(`@/assets/3x/资源 10@3x.png`),
- inactive: require(`@/assets/3x/names1.png`),
+ inactive: require(`@/assets/3x/资源 10@3x.png`),
+ active: require(`@/assets/3x/names1.png`),
};
this.qoutes = {
active: require(`@/assets/3x/asda.png`),
@@ -159,6 +167,7 @@
.van-tabbar-item__icon img {
height: 56px;
width: 56px;
+ pointer-events: none;
}
::v-deep .van-tabbar-item__icon {
@@ -190,6 +199,11 @@
// }
.tabbar-footer {
+ -webkit-user-select: none; /* Safari */
+ -moz-user-select: none; /* Firefox */
+ -ms-user-select: none; /* IE10+/Edge */
+ user-select: none; /* Standard syntax */
+
position: relative;
.bgc {
position: absolute;
--
Gitblit v1.9.3