22 lines
691 B
Plaintext
22 lines
691 B
Plaintext
<view class="lawyer-card" bindtap="handleTap">
|
|
<image class="avatar" src="{{lawyer.avatar}}" mode="aspectFill"></image>
|
|
|
|
<view class="content">
|
|
<view class="header-row">
|
|
<text class="name">{{lawyer.name}}</text>
|
|
<text class="title">{{lawyer.title}}</text>
|
|
</view>
|
|
|
|
<text wx:if="{{showOffice}}" class="office">{{lawyer.office}}</text>
|
|
|
|
<view class="tags-row">
|
|
<text class="tag" wx:for="{{specialties}}" wx:key="*this" wx:if="{{index < 3}}">{{item}}</text>
|
|
<text class="tag-more" wx:if="{{specialties.length > 3}}">...</text>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="action-col">
|
|
<text class="consult-btn">咨询</text>
|
|
</view>
|
|
</view>
|