no message

This commit is contained in:
A1300399510
2025-10-31 01:28:16 +08:00
parent d4244fc783
commit 91dab6d446
16 changed files with 639 additions and 218 deletions

View File

@@ -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: `<div class="hot-tag"> <div class="hot-tag-title"> <img class="icon" src="./img/triangle-orange.svg" /> 热门标签 </div> <div class="list flexflex"> <div class="item">热门标签</div> </div></div>`,
});

View File

@@ -0,0 +1,10 @@
<div class="hot-tag">
<div class="hot-tag-title">
<img class="icon" src="./img/triangle-orange.svg" />
热门标签
</div>
<div class="list flexflex">
<div class="item">热门标签</div>
</div>
</div>