chore:对方与我交换名片,我这里弹出交换名片框,点击有一人请求与您交换名片,进入到图片中的页面,删除红色框中的“示例交换”四个字

This commit is contained in:
2026-10-15 09:16:59 +08:00
parent e60b3e2e52
commit e8fc1aca06

View File

@@ -15,17 +15,14 @@
<view class="ex-avatar-wrap" @tap.stop="viewCard(item)">
<image v-if="item.avatar" class="ex-avatar" :src="item.avatar" mode="aspectFill" />
<view v-else class="ex-avatar ex-avatar-ph">{{ item.name.charAt(0) }}</view>
<view class="ex-avatar-tag">示例交换</view>
</view>
<view class="ex-info">
<view class="ex-name-row">
<text class="ex-name">{{ item.name }}</text>
<text class="ex-badge iconfont icon-dui"></text>
<text class="ex-badge iconfont icon-dui"></text>
</view>
<text class="ex-job">{{ item.job_title }}</text>
<view class="ex-company-row">
<text class="ex-tag">示例交换</text>
<text class="ex-company">{{ item.company }}</text>
</view>
</view>
@@ -223,20 +220,6 @@ export default {
font-weight: 600;
}
.ex-avatar-tag {
position: absolute;
left: 50%;
bottom: -10rpx;
transform: translateX(-50%);
padding: 2rpx 10rpx;
border-radius: 6rpx;
background-color: #2aa5ff;
color: #ffffff;
font-size: 16rpx;
line-height: 1.5;
white-space: nowrap;
}
.ex-info {
flex: 1;
min-width: 0;
@@ -273,17 +256,6 @@ export default {
margin-top: 10rpx;
}
.ex-tag {
flex-shrink: 0;
padding: 2rpx 12rpx;
margin-right: 10rpx;
border-radius: 6rpx;
background-color: #2aa5ff;
color: #ffffff;
font-size: 20rpx;
line-height: 1.5;
}
.ex-company {
flex: 1;
min-width: 0;