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 @@
"use strict";Component({options:{styleIsolation:"shared"},properties:{sdkInstance:{type:Object,value:null},animationAwardId:{type:Number,value:null},AwardThemeUrl:{type:String,value:null}},data:{},lifetimes:{detached:function(){}},observers:{sdkInstance:function(e){}},methods:{}});
@@ -0,0 +1 @@
{"component":true,"usingComponents":{"mp-loading":"weui-miniprogram/loading/loading","mp-icon":"weui-miniprogram/icon/icon","mp-dialog":"weui-miniprogram/dialog/dialog"}}
@@ -0,0 +1,18 @@
<wxs module="m1">
var LotteryAttendIconMap = {
lotteryBox: 'https://p1-live.byteimg.com/tos-cn-i-gjr78lqtd0/d0886daf61274e689f22bfd8d3a10999~tplv-gjr78lqtd0-z75.image',
slotMachine: 'https://p1-live.byteimg.com/tos-cn-i-gjr78lqtd0/157f2d4469f3475d9fa3db104eb75ea0~tplv-gjr78lqtd0-z75.image',
};
var getImage = function(AwardThemeUrl, IsUseDarkTheme) {
return LotteryAttendIconMap[AwardThemeUrl] || 'https://p1-live.byteimg.com/tos-cn-i-gjr78lqtd0/ca5dd7c55b844699bee908bbdf3cc943~tplv-gjr78lqtd0-z75.image';
}
module.exports.getImage = getImage;
</wxs>
<mp-dialog
show="{{animationAwardId}}"
mask="{{true}}"
mask-closable="{{false}}"
ext-class="lottery-animation-dialog"
>
<image src="{{m1.getImage(AwardThemeUrl)}}" />
</mp-dialog>
@@ -0,0 +1 @@
.lottery-animation-dialog .weui-dialog{background:0 0}.lottery-animation-dialog .weui-dialog__hd{padding:0}.lottery-animation-dialog .weui-dialog__bd{padding:0;margin-bottom:0}.lottery-animation-dialog image{width:300px;height:300px}