- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
<view wx:if='{{flag}}' class="drawer custom-drawer">
|
|
<view
|
|
wx:if="{{mask}}"
|
|
class='wrap {{wrapAnimate}}'
|
|
style='background:rgba(0,0,0,{{bgOpacity}});'
|
|
catchtap='hideFrame'
|
|
></view>
|
|
<view
|
|
wx:else
|
|
class='wrap {{wrapAnimate}}'
|
|
style='background:rgba(0,0,0,{{bgOpacity}});'
|
|
catchtap='catchNone'
|
|
></view>
|
|
|
|
<view wx:if="{{mask}}" catchtap='hideFrame' class='frame-wrapper {{frameAnimate}}'>
|
|
<view catchtap='catchNone' class='frame' style="background-color: {{themeColor.Fill_7}};">
|
|
<!-- 内容 -->
|
|
<slot></slot>
|
|
<view wx:if="{{needCancel}}" class='cancel' bindtap="hideFrame" hover-class="buttonHover">取消</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view wx:else catchtap='catchNone' class='frame-wrapper {{frameAnimate}}'>
|
|
<view catchtap='catchNone' class='frame' style="background-color: {{themeColor.Fill_7}};">
|
|
<!-- 内容 -->
|
|
<slot></slot>
|
|
<view wx:if="{{needCancel}}" class='cancel' bindtap="hideFrame" hover-class="buttonHover">取消</view>
|
|
</view>
|
|
</view>
|
|
</view>
|