refactor timi-web

This commit is contained in:
Timi
2026-08-26 21:18:02 +08:00
parent fe5d190308
commit f54a129edb
85 changed files with 1745 additions and 180 deletions
+6 -2
View File
@@ -8,7 +8,9 @@
</div>
<pass-time-label class="time" :timestamp="detail.sendAt" underline />
</header>
<section v-text="detail.content" />
<section class="body">
<notify-view :detail="detail" empty-text="暂无通知内容" />
</section>
</article>
<t-empty
v-else
@@ -18,7 +20,9 @@
</template>
<script setup lang="ts">
import { NotifyAPI, type NotifyDetail, PassTimeLabel } from "timi-web";
import { NotifyView } from "timi-tdesign-mobile";
import { PassTimeLabel } from "timi-web";
import { NotifyAPI, type NotifyDetail } from "timi-web-api";
import { DialogPlugin } from "tdesign-mobile-vue";
import { useNavBarStore } from "@/store/navBarStore";
import { getErrorMessage } from "@/utils/error";