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,66 @@
<view class="volc-live-player-container">
<video
class="volc-live-player"
wx:if="{{engine === 'video'}}"
id="innerLiveVideo"
src="{{src}}"
is-live="{{true}}"
autoplay="{{true}}"
controls="{{false}}"
show-center-play-btn="{{false}}"
show-play-btn="{{false}}"
enable-progress-gesture="{{false}}"
show-fullscreen-btn="{{false}}"
show-background-playback-button="{{false}}"
object-fit="{{objectFit}}"
picture-in-picture-mode="{{pictureInPictureMode}}"
bindplay="handlePlay"
bindpause="handlePause"
binderror="handleError"
bindfullscreenchange="handleFullscreenChange"
bindwaiting="handleWaiting"
bindloadedmetadata="handleLoadedMetaData"
bindenterpictureinpicture="handleEnterPictureInPicture"
bindleavepictureinpicture="handleLeavePictureInPicture"
bindprogress="handleProgress"
bindtimeupdate="handleTimeUpdate"
bindended="handleEnded"
>
<slot />
<view wx:if="{{showControls}}" class="volc-live-player-tap-layer" bindtap="_handleTapLayerTap"></view>
<view
wx:if="{{showControls && controlsVisible}}"
class="volc-live-player-controls {{isFullscreen ? 'is-fullscreen' : ''}}"
catchtap="_handleControlsTap"
>
<view class="volc-live-player-top">
<view class="volc-live-player-top-right-slot">
<slot name="topRight" />
</view>
</view>
<view class="volc-live-player-controls-bottom-shadow"></view>
<view class="volc-live-player-controls-top-shadow"></view>
<view wx:if="{{showPlayControl}}" class="volc-live-player-play" bindtap="_togglePlay">
<image
class="volc-live-player-play-icon"
src="{{isPlaying ? '../../../assets/mobilePause.svg' : '../../../assets/mobilePlay.svg'}}"
mode="aspectFit"
/>
</view>
<view
wx:if="{{showFullscreenControl}}"
class="volc-live-player-fullscreen"
bindtap="_toggleFullscreen"
>
<image
class="volc-live-player-fullscreen-icon"
src="{{isFullscreen ? '../assets/mobileExitFullscreen.svg' : '../assets/mobileFullscreen.svg'}}"
/>
</view>
</view>
<volc-loading wx:if="{{isLoading}}" zIndex="{{15}}" theme="dark" type="player" />
</video>
</view>