feat: 电子药箱小程序 - 4Tab药品管理

- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡
- 药品百科: 搜索 + 分类筛选 + 20种药品静态数据
- 惠教中心: 4条药品使用指南课程
- 我的: 家庭成员信息管理
- 自定义TabBar + navigation-bar组件
- SVG药品分类插图
This commit is contained in:
陈誉午
2026-07-29 11:20:52 +08:00
commit 994b267f5c
683 changed files with 43849 additions and 0 deletions
@@ -0,0 +1,34 @@
<view class="layout-contianer" style="top: {{isPortrait ? '90px': '0px'}}">
<block wx:for="{{renderList}}" wx:key="id">
<!-- player -->
<view wx:if="{{!item.isMe}}" class="player-block {{item.isShow ? '' : 'hide'}}" style="left: {{item.styles.left}};top:{{item.styles.top}};width: {{item.styles.width}};height:{{item.styles.height}};z-index:{{item.styles.zIndex}};">
<v-player url="{{item.url || ''}}" uid="{{item.userId}}" screen="{{item.isScreen ? '1' : '0'}}" state='init' connectLivePlayerAttrs="{{connectLivePlayerAttrs}}" />
<view wx:if="{{!item.hasVideo}}" class="back" style="background: url({{item.styles.image}});background-size: cover;"></view>
<view class="position" wx:if="{{item.isShow && item.isShowLabel}}">
<view class="tag" wx:if="{{item.isHost}}">主持人</view>
<view class="tag" wx:if="{{item.isPresenter && !item.isHost}}">主讲</view>
<view wx:if="{{!item.hasAudio}}" class="mute">
<image src="../assets/mute.svg" />
</view>
<view class="name">{{item.nickname || '主持人'}}</view>
<view wx:if="{{item.isAudience}}">(观众)</view>
<span wx:if="{{item.isScreen}}">正在共享屏幕</span>
</view>
</view>
<!-- pusher -->
<view wx:if="{{item.isMe}}" class="player-block {{item.isShow ?'' : 'outer'}}" style="left: {{item.styles.left}};top:{{item.styles.top}};width: {{item.styles.width}};height:{{item.styles.height}};z-index:{{item.styles.zIndex}};" bindtap="showPanel">
<v-pusher id="v-pusher" url="{{item.url || ''}}" enableCamera="{{hasVideo}}" enableMic="{{hasAudio}}" beauty="0" state="init" />
<view wx:if="{{!hasVideo}}" class="back" style="background: url({{item.styles.image}}); background-size: cover;"></view>
<view class="position">
<view wx:if="{{!hasAudio}}" class="mute">
<image src="../assets/mute.svg" />
</view>
<view class="name">{{item.nickname}}</view>
<view wx:if="{{item.isAudience && item.isShow}}">(观众)</view>
</view>
<view class="moreBt">
<image src="../assets/more.png" />
</view>
</view>
</block>
</view>