feat: 搭建微信小程序展示端
- 初始化小程序工程配置与类型声明 - 增加首页、律所、律师列表、详情与历史页面 - 补充公共组件、运行时配置与示例素材
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user