南昌市物联网技防平台-前端
zengh
2021-04-09 20e20e5dcb6fb581bfe50a83253d18d2cb072e04
样式调整
2 files modified
9 ■■■■■ changed files
public/map/widgets/supervisoryMap/FlareClusterLayer_v3.js 3 ●●●● patch | view | raw | blame | history
src/page/index/top/top-menu.vue 6 ●●●● patch | view | raw | blame | history
public/map/widgets/supervisoryMap/FlareClusterLayer_v3.js
@@ -55,7 +55,6 @@
        yPropertyName (string): default 'y'.  This is the name of the field in the dataset that represents the y coordinate.
        idPropertyName (string): default null. This is the name of the field in the dataset that represents a unique id which can be used to identify the flare.  This is usefull when you may have multiple points with the same lat/long.
      */
      //set options from constructor parameter or set defaults
      options = options || {};
      this.spatialRef = options.spatialReference || new SpatialReference({
@@ -76,7 +75,7 @@
        .setAlign(Font.ALIGN_START)
        .setFont(new Font("10pt").setWeight(Font.WEIGHT_BOLD).setFamily("calibri"))
        .setVerticalAlignment("middle");
      defaultTextSymbol.font.size = 14;
      defaultTextSymbol.font.size = 30;
      this.textSymbol = options.textSymbol || defaultTextSymbol;
      this.flareShowMode = options.flareShowMode || "mouse";
src/page/index/top/top-menu.vue
@@ -3,17 +3,17 @@
    <el-menu :default-active="activeIndex" mode="horizontal" text-color="#333">
      <el-menu-item index="0" @click.native="openHome(dataItem)" key="0">
        <template slot="title">
          <i :class="dataItem.source" :title="dataItem.name"></i>
          <i style="font-size: 20px!important;" :class="dataItem.source" :title="dataItem.name"></i>
        </template>
      </el-menu-item>
      <el-menu-item index="1" @click.native="openHome(mapItem)" key="0">
        <template slot="title">
          <i :class="mapItem.source" :title="mapItem.name"></i>
          <i style="font-size: 20px!important;"  :class="mapItem.source" :title="mapItem.name"></i>
        </template>
      </el-menu-item>
      <el-menu-item index="2" @click.native="openHome(cardItem)" key="0">
        <template slot="title">
          <i :class="cardItem.source" :title="cardItem.name"></i>
          <i style="font-size: 20px!important;"  :class="cardItem.source" :title="cardItem.name"></i>
        </template>
      </el-menu-item>
      <!--      <el-menu-item index="0" @click.native="openHomes(ZHAJ)" key="0">-->