发货方式优化及消息功能优化

This commit is contained in:
Dev
2026-10-08 20:34:08 +08:00
parent f21b010ced
commit 7e3e999b74
23 changed files with 371 additions and 455 deletions
@@ -0,0 +1,12 @@
// 消息类型对应的标签主题色:0=系统消息(蓝),1=公告消息(橙),2=需求消息(绿)
function tagTheme(type) {
var map = {
'0': 'primary',
'1': 'warning',
'2': 'success'
};
return map[String(type)] || 'default';
}
module.exports = {
tagTheme: tagTheme
}