- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
<view class="program-list">
|
|
<view wx:if="{{!programList.length}}" class="program-empty">暂无节目单</view>
|
|
<!-- 节目单条目可能超过横屏 tab 高度,使用 scroll-view 保证真机内列表独立滚动。 -->
|
|
<scroll-view wx:else class="program-scroll" scroll-y enhanced show-scrollbar="{{false}}">
|
|
<view
|
|
wx:for="{{programList}}"
|
|
wx:key="index"
|
|
wx:for-item="item"
|
|
class="program-card"
|
|
>
|
|
<view class="program-time {{item.IsPlay === 1 ? 'program-text-active' : ''}}">
|
|
<view>{{item.startTimeText}}</view>
|
|
<view class="program-time-line"></view>
|
|
<view>{{item.endTimeText}}</view>
|
|
</view>
|
|
<view class="program-cover-wrapper">
|
|
<image class="program-cover" mode="aspectFill" src="{{item.VideoCoverImage}}" />
|
|
<view wx:if="{{item.IsPlay === 1}}" class="program-playing-mask">
|
|
<image class="program-playing-icon" src="../../assets/program_playing.svg" />
|
|
</view>
|
|
</view>
|
|
<view class="program-name {{item.IsPlay === 1 ? 'program-text-active' : ''}}">
|
|
{{item.videoNameText}}
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|