style 简历匹配职位的点击emit

This commit is contained in:
2025-11-20 14:30:01 +08:00
parent 183c71da3c
commit 6b20c045a9
2 changed files with 72 additions and 9 deletions

View File

@@ -55,7 +55,7 @@
<image class="match-card-bg" src="@/static/icon/match-card-bg.png" />
<view class="title">简历匹配职位</view>
<view class="match-item-container">
<AIMatch></AIMatch>
<AIMatch @tag-click="handleTagClick"></AIMatch>
</view>
</view>
</view>
@@ -292,6 +292,10 @@ const checkStickyStatus = (e) => {
});
};
const handleTagClick = (tagInfo) => {
console.log("点击的标签信息:", tagInfo);
};
const hexToRgba = (hex, opacity) => {
const r = parseInt(hex.slice(1, 3), 16);
const g = parseInt(hex.slice(3, 5), 16);
@@ -883,6 +887,8 @@ defineExpose({ loadData });
.match-item-container
width:100%;
margin-top:30rpx;
position :relative;
z-index:1
.match-item-row
display: flex;
justify-content: center;