From 91dab6d4467429a49907513c47f874ed8e14c4bd Mon Sep 17 00:00:00 2001 From: A1300399510 <1300399510@qq.com> Date: Fri, 31 Oct 2025 01:28:16 +0800 Subject: [PATCH] no message --- component/hot-tag/hot-tag.js | 21 ++ component/hot-tag/hot-tag.txt | 10 + component/item-bottom/item-bottom.js | 11 +- component/item-bottom/item-bottom.txt | 14 +- component/item-forum/item-forum.js | 1 - css/public.css | 33 +++ css/public.less | 39 +++ css/search.css | 58 +++++ css/search.less | 73 ++++++ homepage-me.html | 343 ++++++++++++++------------ img/triangle-orange.svg | 6 + img/well-number.svg | 6 + js/homepage-me.js | 112 +++++++-- js/save.js | 2 + js/search.js | 64 ++++- search.html | 64 +++-- 16 files changed, 639 insertions(+), 218 deletions(-) create mode 100644 component/hot-tag/hot-tag.js create mode 100644 component/hot-tag/hot-tag.txt create mode 100644 img/triangle-orange.svg create mode 100644 img/well-number.svg diff --git a/component/hot-tag/hot-tag.js b/component/hot-tag/hot-tag.js new file mode 100644 index 0000000..2a9d26d --- /dev/null +++ b/component/hot-tag/hot-tag.js @@ -0,0 +1,21 @@ +// my-component.js +// 引入全局 Vue 对象(因在 HTML 中通过 script 引入,Vue 已挂载到 window) +const { defineComponent, ref } = Vue; +// 定义组件(直接使用模板) +export const hotTag = defineComponent({ + name: "hot-tag", + props: { + itemdata: { + type: Object, + default: () => {}, + }, + }, + + setup(props) { + return {}; + }, + + components: {}, + + template: `
- UID: {{ info.uin }}
-
-
勋章 {{ medallist.length }}
- +