feat: update VSCode settings for ESLint and Prettier integration
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 20s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s

chore: refactor ESLint configuration for improved linting rules and performance

fix: handle push event data parsing in service worker

style: adjust tabbar item properties for better readability in App.vue

refactor: remove unused functions and improve code clarity in TransactionDetail.vue

fix: ensure consistent event handling in CalendarView.vue

style: clean up component structure and formatting in various Vue files

chore: update launch script for better command execution

feat: add ESLint configuration file for consistent code style across the project

fix: resolve issues with button click events in multiple components
This commit is contained in:
孙诚
2026-01-07 14:33:30 +08:00
parent efdfe88155
commit b2339c1c5e
32 changed files with 380 additions and 241 deletions

View File

@@ -1,4 +1,5 @@
<template>
<!-- eslint-disable vue/no-v-html -->
<template>
<div class="page-container-flex">
<van-nav-bar v-if="!isComponent" title="消息中心">
<template #right>
@@ -49,7 +50,11 @@
height="50%"
:closeable="true"
>
<div v-if="currentMessage.messageType === 2" class="detail-content" v-html="currentMessage.content">
<div
v-if="currentMessage.messageType === 2"
class="detail-content"
v-html="currentMessage.content"
>
</div>
<div v-else class="detail-content">
{{ currentMessage.content }}
@@ -207,12 +212,6 @@ const handleMarkAllRead = () => {
onMounted(() => {
// onLoad 会由 van-list 自动触发
});
const props = defineProps({
isComponent: {
type: Boolean,
default: false
}
});
defineExpose({
handleMarkAllRead