//针对客户的需求,给不用的大场景修改 var SpecialScene = function(){}; SpecialScene.prototype.special = function() { var num = manage.number("m"),that = this; return { //之前执行的代码 beforeImplement : function(){ switch(num) { case "388": that.images388().modifyIcon(); break; } }, //之后执行的代码 afterImplement : function(){ } } }; //388 SpecialScene.prototype.images388 = function() { return { modifyIcon : function(){ g_HotImage = { point:"images/4dagePoint2.png", point2:"images/4dagePoint.png" }; g_HotMeshSize = { g_HotMeshWidth: 0.3, g_HotMeshHeight:0.3 } } } }; var specialScene = new SpecialScene()