File tree Expand file tree Collapse file tree
.codex/skills/simcompanies-maintenance/references Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222- ` resourceMarketHandler.js ` :资源市场计算和控件。
2323- ` outgoingContractMPHandler.js ` :出库销售/合同 MP、VWAP 预设、价格建议和运输利润显示。
2424- ` warehouseRetailProfit.js ` :仓库零售利润。
25+ - ` landscapeIdleBuildingHighlight.js ` :地图空闲建筑高亮。
26+ - ` restaurantStockReminder.js ` :餐馆备货提醒(菜单库存、每日消耗、剩余天数预警)。
2527- ` executiveBoardroom.js ` :自定义高管数据面板和已保存加成。
2628
2729## 高风险检查
Original file line number Diff line number Diff line change 66
77### 已变更
88
9- - 暂无待发布的用户可见变更 。
9+ - 增加餐馆备货提醒:在餐馆建筑页展示菜品库存、每日消耗与剩余天数,低于 2 天预警;可设置餐馆数量,并支持功能开关 。
1010
1111
1212
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ const outgoingContractMPHandler = { init: (...args) => window.SC_Modules?.outgoi
44const ExecutiveTrainingModule = { init : ( ...args ) => window . SC_Modules ?. ExecutiveTrainingModule ?. init ( ...args ) } ;
55const FormerExecutivesModule = { forceInject : ( ...args ) => window . SC_Modules ?. FormerExecutivesModule ?. forceInject ( ...args ) } ;
66const LandscapeIdleBuildingHighlight = { init : ( ...args ) => window . SC_Modules ?. LandscapeIdleBuildingHighlight ?. init ( ...args ) } ;
7+ const RestaurantStockReminder = { init : ( ...args ) => window . SC_Modules ?. RestaurantStockReminder ?. init ( ...args ) } ;
78 // 模块9:判断当前页面
89 // ======================
910 ( function ( ) {
@@ -68,6 +69,7 @@ const LandscapeIdleBuildingHighlight = { init: (...args) => window.SC_Modules?.L
6869 buildingPage : { //建筑页面
6970 pattern : / \/ b \/ \d + \/ ? $ / ,
7071 action : ( ) => {
72+ RestaurantStockReminder . init ( ) ;
7173 // 多级重试:确保在 SPA 页面切换后 DOM 完全渲染时能注入按钮
7274 // 单次 300ms 延迟有时不足以等待 React 渲染完成
7375 const tryInit = ( delay , retriesLeft ) => {
You can’t perform that action at this time.
0 commit comments