This commit is contained in:
hrx 2025-11-21 11:16:24 +08:00
parent 26ce699c60
commit 3491eed86a
8 changed files with 9 additions and 9 deletions

View File

@ -100,7 +100,7 @@ Vue.use(HappyScroll)
// }); // });
// // 禁止F12和开发者工具快捷键 // // 禁止F12和开发者工具快捷键
// document.addEventListener('keydown', function(e) { // document.addEventListener('keydown', function(e ) {
// // 禁止F12 // // 禁止F12
// if (e.key === 'F12') { // if (e.key === 'F12') {
// e.preventDefault(); // e.preventDefault();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@ -550,8 +550,8 @@ export default Vue.extend({
} }
.function-icon { .function-icon {
width: 30px; width: 100%;
height: 30px; height: 100%;
} }
.function-content { .function-content {

View File

@ -83,7 +83,7 @@
v-for="(item, index) in todoList" v-for="(item, index) in todoList"
:key="index" :key="index"
class="todo-item" class="todo-item"
@click="handleTodoClick(item.name)" @click="handleTodoClick(item.name)"
> >
<span class="todo-name">{{ item.name }}</span> <span class="todo-name">{{ item.name }}</span>
<span class="todo-count">{{ item.count }}</span> <span class="todo-count">{{ item.count }}</span>
@ -142,9 +142,9 @@ export default Vue.extend({
} }
}, },
created() { created() {
// initMybalance 使 computed mybalance
this.initMybalance(); // this.initMybalance();
this.getUnreadMsgCount(); this.getUnreadMsgCount();
this.fetchTodoCount(); this.fetchTodoCount();
}, },
mounted() { mounted() {
@ -186,8 +186,8 @@ export default Vue.extend({
const iconIndex = index % this.navIcons.length; const iconIndex = index % this.navIcons.length;
return this.navIcons[iconIndex]; return this.navIcons[iconIndex];
}, },
// initMybalance 使 computed mybalance
async initMybalance() { // async initMybalance() {
const res = await editReachargelogAPI() const res = await editReachargelogAPI()
if (res.status) { if (res.status) {
this.mybalance = res.data this.mybalance = res.data