feat:v1.4前端更新

This commit is contained in:
超凡
2025-06-24 14:43:09 +08:00
parent 0268aa5033
commit 35fec82e4a
1026 changed files with 118424 additions and 56490 deletions

30
app/utils/setTheme.js Normal file
View File

@@ -0,0 +1,30 @@
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
let app = getApp();
export function setThemeColor(){
switch (app.globalData.theme) {
case 'theme1':
return '#e93323';
break;
case 'theme2':
return '#FE5C2D';
break;
case 'theme3':
return '#42CA4D';
break;
case 'theme4':
return '#1DB0FC';
break;
case 'theme5':
return '#FF448F';
break;
}
}