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
+38
View File
@@ -0,0 +1,38 @@
<!--components/player.wxml-->
<view class="player-object">
<video
wx:if="{{showVideo && vodUrl}}"
id="vodVideo"
src="{{vodUrl}}"
autoplay="{{true}}"
show-fullscreen-btn="{{false}}"
show-play-btn="{{false}}"
show-center-play-btn="{{false}}"
class="video"
object-fit="contain"
direction="0"
bindplay="onVideoPlay"
bindpause="onVideoPause"
bindended="onVideoEnded"
binderror="onVideoError"
></video>
<live-player
wx:if="{{liveUrl}}"
live-url="{{liveUrl}}"
vod-url="{{vodUrl}}"
is-playback="{{isPlayback}}"
room-title="{{roomInfo.title}}"
viewer-count="{{roomInfo.viewerCount}}"
is-living="{{roomInfo.isLiving}}"
object-fit="contain"
mode="live"
class="player-video"
bindstatechange="onLiveStateChange"
binderror="onLiveError"
bindplay="onVideoPlay"
bindpause="onVideoPause"
bindended="onVideoEnded"
/>
</view>