feat: 整体页面优化,删除无用svg

This commit is contained in:
Blizzard
2026-02-14 08:32:47 +08:00
parent daea00ca60
commit cbbe82ef63
59 changed files with 1265 additions and 342 deletions
+12 -13
View File
@@ -1,19 +1,18 @@
// 预置养护图标 - 模拟从后端加载
export const CARE_TASK_ICONS = [
{ id: 'water', name: '浇水', icon: 'rain-medium', color: '#2196F3', bgColor: '#E3F2FD' },
{ id: 'fertilize', name: '施肥', icon: 'gift', color: '#8BC34A', bgColor: '#F1F8E9' },
{ id: 'prune', name: '修剪', icon: 'cut', color: '#FF9800', bgColor: '#FFF3E0' },
{ id: 'repot', name: '换盆', icon: 'home', color: '#9C27B0', bgColor: '#F3E5F5' },
{ id: 'resoil', name: '换土', icon: 'load', color: '#757575', bgColor: '#F5F5F5' },
{ id: 'rotate', name: '转盆', icon: 'refresh', color: '#00BCD4', bgColor: '#E0F7FA' },
{ id: 'spray', name: '喷雾', icon: 'cloud', color: '#03A9F4', bgColor: '#E1F5FE' },
{ id: 'check', name: '检查', icon: 'search', color: '#4CAF50', bgColor: '#E8F5E9' },
{ id: 'sun', name: '晒太阳', icon: 'sunny', color: '#FFC107', bgColor: '#FFFDE7' },
{ id: 'move', name: '挪位置', icon: 'location', color: '#E91E63', bgColor: '#FCE4EC' },
{ id: 'medicine', name: '用药', icon: 'heart', color: '#F44336', bgColor: '#FFEBEE' },
{ id: 'other', name: '其他', icon: 'ellipsis', color: '#607D8B', bgColor: '#ECEFF1' },
{ id: 'water', name: '浇水', icon: 'rain-medium', color: '#2196F3', bgColor: '#E3F2FD', targetAction: 'ACT_WATER' },
{ id: 'fertilize', name: '施肥', icon: 'gift', color: '#8BC34A', bgColor: '#F1F8E9', targetAction: 'ACT_FERTILIZE' },
{ id: 'prune', name: '修剪', icon: 'cut', color: '#FF9800', bgColor: '#FFF3E0', targetAction: 'ACT_PRUNE' },
{ id: 'repot', name: '换盆', icon: 'home', color: '#9C27B0', bgColor: '#F3E5F5', targetAction: 'ACT_REPOT' },
{ id: 'resoil', name: '换土', icon: 'load', color: '#757575', bgColor: '#F5F5F5', targetAction: 'ACT_RESOIL' },
{ id: 'rotate', name: '转盆', icon: 'refresh', color: '#00BCD4', bgColor: '#E0F7FA', targetAction: 'ACT_ROTATE' },
{ id: 'spray', name: '喷雾', icon: 'cloud', color: '#03A9F4', bgColor: '#E1F5FE', targetAction: 'ACT_SPRAY' },
{ id: 'check', name: '检查', icon: 'search', color: '#4CAF50', bgColor: '#E8F5E9', targetAction: 'ACT_CHECK' },
{ id: 'sun', name: '晒太阳', icon: 'sunny', color: '#FFC107', bgColor: '#FFFDE7', targetAction: 'ACT_SUN' },
{ id: 'move', name: '挪位置', icon: 'location', color: '#E91E63', bgColor: '#FCE4EC', targetAction: 'ACT_MOVE' },
{ id: 'medicine', name: '用药', icon: 'heart', color: '#F44336', bgColor: '#FFEBEE', targetAction: 'ACT_MEDICINE' },
{ id: 'other', name: '其他', icon: 'ellipsis', color: '#607D8B', bgColor: '#ECEFF1', targetAction: 'ACT_OTHER' },
];
export const MOCK_BADGES = [
+2 -2
View File
@@ -270,8 +270,8 @@ class WxRequest {
// Initialize with default instance
const request = new WxRequest({
baseUrl: 'http://192.168.0.184:8889',
//baseUrl: 'https://go.sundynix.cn/api',
//baseUrl: 'http://192.168.0.184:8889',
baseUrl: 'https://go.sundynix.cn/api',
header: {
'Content-Type': 'application/json'
}