Browse Source

作者增加 hot

bding 2 years ago
parent
commit
4975fdb640
1 changed files with 11 additions and 2 deletions
  1. 11 2
      pages-purchaser/researchAuthor/researchAuthor.vue

+ 11 - 2
pages-purchaser/researchAuthor/researchAuthor.vue

@@ -10,9 +10,10 @@
         <image @click="authorDetails(item)" :src="item.ImgUrl" v-if="item.ImgUrl"></image>
         <view class="li-item kol-item">
           <view class="item-top">
-            <text @click="authorDetails(item)">
+            <view class="hot-item" @click="authorDetails(item)">
               {{ item.NickName }}
-            </text>
+              <image class="hot-icon" v-if="item.IsHot" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/hot_report.png" mode=""></image>
+            </view>
             <text :class="item.IsFollw ? 'cancel-attention' : 'attention'" @click="isAttention(item, '专家')">{{ item.IsFollw ? "取消关注" : "+ 关注" }}</text>
           </view>
           <text @click="themeDetails(val, 'KOL榜')" class="kol-text text_oneLine" v-for="val in item.List" :key="val.IndustrialManagementId"> # {{ val.IndustryName }} </text>
@@ -88,5 +89,13 @@ export default {
 .theme-hot-content {
   padding-bottom: 30rpx;
   @import "../components/cssAuthorTheme.scss";
+  .hot-item {
+    display: flex;
+    align-items: center;
+    .hot-icon {
+      width: 30rpx !important;
+      height: 30rpx !important;
+    }
+  }
 }
 </style>