【2024.12.17】置顶逻辑

<a :href="'/blog/' + searchDataMini.blog[0].blog_id + '.html'" :class="searchDataMini.blog[0].cate_id <= 0 ? 'opacity40' : ''"  class="search-item" :key="index" v-if="searchDataMini.blog && searchDataMini.blog[0].is_top && searchDataMini.blog[0].user_id == item[]">
  {{ searchDataMini.blog[0].cate_id <= 0 ? '【未分类】' : ''}}{{ searchDataMini.blog[0].blog_title }}
  <view style="    display: flex
;
align-items: center;
  ">
<span class="blog-is-top" v-if="searchDataMini.blog[0].is_top" style="margin-right: 4rpx;font-size: 24rpx;">置顶</span> 
<span style="margin-left: 12rpx;" v-if="!searchDataMini.blog[0].is_top">{{ searchDataMini.blog[0].created_at }}</span>
<view>
<uni-icons style="margin-left: 16rpx;" type="fire" size="24rpx"></uni-icons>
<span style="margin-left: 12rpx;">{{ searchDataMini.blog[0].read_count }}</span>
</view>
  </view>
</a>