31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
<view class="lawyer-card {{layoutClass}}" bindtap="handleTap">
|
|
<image class="avatar" src="{{lawyer.avatar}}" mode="aspectFill"></image>
|
|
|
|
<view class="content">
|
|
<view class="top-row">
|
|
<view class="identity-block">
|
|
<view class="header-row">
|
|
<text class="name">{{lawyer.name}}</text>
|
|
<text class="title" wx:if="{{lawyer.title}}">{{lawyer.title}}</text>
|
|
</view>
|
|
|
|
<view class="contact-row" wx:if="{{contactItems.length}}">
|
|
<text class="contact-chip" wx:for="{{contactItems}}" wx:key="*this">{{item}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="action-col">
|
|
<text class="consult-btn">咨询</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="specialty-block">
|
|
<text class="specialty-label" wx:if="{{isFeatured && visibleSpecialties.length}}">业务方向</text>
|
|
<view class="tags-row">
|
|
<text class="tag" wx:for="{{visibleSpecialties}}" wx:key="*this">{{item}}</text>
|
|
<text class="tag-more" wx:if="{{moreSpecialtiesCount > 0}}">...</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|