Przeglądaj źródła

顾问详情头像

limin 7 lat temu
rodzic
commit
ce93b3cb8f

+ 1 - 1
src/main/webapp/WEB-INF/views/portal/adviser/adviserDetail.html

@@ -17,7 +17,7 @@
     </div>
     <div class="container">
         <div class="componyLogo">
-            <div><img th:src="${portalHost+'/img/initPic/achievementInit.jpg'}" alt=""></div>
+            <div><img th:src="${adviserDetail.personPortraitUrl!=null ? avatarUploadHost + adviserDetail.personPortraitUrl : portalHost +'/img/initPic/achievementInit.jpg'}" alt=""></div>
             <p><span class="name" th:text="${adviserDetail.username}">李四光</span><span class="position" th:text="${adviserDetail.consultantTypeName}">专利代理人</span></p>
         </div>
         <div class="collectionN active"><span class="heart"></span><span class="nubCollect" th:text="${adviserDetail.countInterest}">55</span>次收藏</div>