浏览记录,搜索结果标题过长样式优化

This commit is contained in:
zxy
2024-02-29 09:57:10 +08:00
parent ad6e38db4a
commit fe592c308c
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
<view class="search-item" @click="toDetail(item)">
<!-- <company-list :companyitem="item" :noApply="false"></company-list> -->
<image src="../../static/img/eyeopen.svg" style="width: 32rpx;height: 32rpx;margin-right: 10rpx;" mode=""></image>
<view style="flex:1">{{ item.workname }}</view>
<view style="flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;">{{ item.workname }}</view>
<view class="type" v-if="item.type == 0">任务</view>
<view class="type" v-else-if="item.type == 1">岗位</view>
<view class="type" v-else-if="item.type == 2">政策</view>