Files
陈誉午 994b267f5c feat: 电子药箱小程序 - 4Tab药品管理
- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡
- 药品百科: 搜索 + 分类筛选 + 20种药品静态数据
- 惠教中心: 4条药品使用指南课程
- 我的: 家庭成员信息管理
- 自定义TabBar + navigation-bar组件
- SVG药品分类插图
2026-07-29 11:20:52 +08:00

16 lines
1.3 KiB
Plaintext

<!-- volc-mini-sdk/components/product-card/product.wxml -->
<view class="productContainer">
<Drawer id="volc-dirawer-product-card-portrait" custom-drawer="product-card-drawer-shell" needCancel="{{false}}" themeColor="{{drawerLightThemeColor}}">
<!-- 控制传给 Drawer 的真实 slot 内容,避免抽屉未打开时提前创建商品列表。 -->
<view wx:if="{{productDrawerReady}}" class="productDrawerContainer">
<coupon-btn-list sdkInstance="{{sdkInstance}}" showEntry="{{true}}" />
<!-- <card-list sdkInstance="{{sdkInstance}}" productIndex="3"/> -->
<mp-tabs tabs="{{productMenus}}" activeTab="{{activeTab}}" swiper-class="p-swiper" tab-background-color="transparent" tab-active-text-color="{{drawerLightThemeColor.FontColor}}" tab-inactive-text-color="{{drawerLightThemeColor.BackFontColor}}" bindtabclick="onTabClick" bindchange="onChange">
<block wx:for="{{productMenus}}" wx:key="Index">
<card-list wx:if="{{renderedProductTabMap[index]}}" data-set="{{item}}" slot="tab-content-{{index}}" sdkInstance="{{sdkInstance}}" productIndex="{{item.Index}}" themeColor="{{drawerLightThemeColor}}" listHeight="{{480}}" />
</block>
</mp-tabs>
</view>
</Drawer>
</view>