shuishen
2021-06-15 4d8ef5d02421b1bb60f575e56b75d43a1ea4c2bb
widgets/FullScreen/Widget.js
@@ -23,18 +23,18 @@
      new Cesium.FullscreenButton(this.domNode, null);
      $('.cesium-fullscreenButton').attr('title', '全屏视角');
      $(".jimu-widget-fullScreen button.cesium-button").html("<img src='../../../images/全屏.png' alt=''>");
      $(".jimu-widget-fullScreen button.cesium-button").html("<img src='./images/全屏.png' alt=''>");
      $('.jimu-widget-fullScreen button.cesium-button').click(function () {
        var title = $(this).attr('title');
        if (title == "Exit full screen") {
          $(".jimu-widget-fullScreen button.cesium-button").html("<img src='../../../images/全屏.png' alt=''>");
          $(".jimu-widget-fullScreen button.cesium-button").html("<img src='./images/全屏.png' alt=''>");
        } else {
          
          $(".jimu-widget-fullScreen button.cesium-button").html("<img src='../../../images/收缩.png' alt=''>");
          $(".jimu-widget-fullScreen button.cesium-button").html("<img src='./images/收缩.png' alt=''>");
        }
      })