feat: 优化名片分享海报与详情交互

- 为律师详情页增加分享海报生成与分享封面图

- 新增律所简介入口并调整个人简介为页面整体滚动
This commit is contained in:
2026-03-21 22:01:33 +08:00
parent ac7eb6d85d
commit f39fcd05aa
5 changed files with 735 additions and 34 deletions

View File

@@ -61,10 +61,7 @@
<!-- Bio -->
<view class="section-card">
<view class="section-header">个人简介</view>
<scroll-view wx:if="{{bioScrollable}}" class="bio-scroll" scroll-y="true" show-scrollbar="true">
<view class="bio-text">{{lawyer.bio}}</view>
</scroll-view>
<view wx:else class="bio-text">{{lawyer.bio}}</view>
<view class="bio-text">{{lawyer.bio}}</view>
</view>
@@ -73,6 +70,15 @@
</view>
</scroll-view>
<canvas
id="sharePosterCanvas"
class="share-poster-canvas"
canvas-id="sharePosterCanvas"
disable-scroll="true"
type="2d"
style="width: 500px; height: 400px;"
></canvas>
<!-- Fixed Action Dock -->
<action-dock bind:action="handleDockAction"></action-dock>
</block>