- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
18 lines
765 B
Plaintext
18 lines
765 B
Plaintext
<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> |