SpecialScene.js 997 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //针对客户的需求,给不用的大场景修改
  2. var SpecialScene = function(){};
  3. SpecialScene.prototype.special = function() {
  4. var num = manage.number("m"),that = this;
  5. return {
  6. //之前执行的代码
  7. beforeImplement : function(){
  8. switch(num)
  9. {
  10. case "388":
  11. that.images388().modifyIcon();
  12. break;
  13. }
  14. },
  15. //之后执行的代码
  16. afterImplement : function(){
  17. }
  18. }
  19. };
  20. //388
  21. SpecialScene.prototype.images388 = function() {
  22. return {
  23. modifyIcon : function(){
  24. g_HotImage = {
  25. point:"images/4dagePoint2.png",
  26. point2:"images/4dagePoint.png"
  27. };
  28. g_HotMeshSize = {
  29. g_HotMeshWidth: 0.3,
  30. g_HotMeshHeight:0.3
  31. }
  32. }
  33. }
  34. };
  35. var specialScene = new SpecialScene()