Browse Source

更新包 修改默认底图文本颜色字体大小

haojianlong 4 years ago
parent
commit
106b45f1aa
2 changed files with 3 additions and 2 deletions
  1. 1 1
      package.json
  2. 2 1
      src/components/floorMap/index.vue

+ 1 - 1
package.json

@@ -10,7 +10,7 @@
     "dependencies": {
         "@mapbox/geojson-merge": "^1.1.1",
         "@saga-web/base": "2.1.22",
-        "@saga-web/big": "1.0.73",
+        "@saga-web/big": "1.0.74",
         "@saga-web/draw": "2.1.100",
         "@saga-web/feng-map": "1.0.22",
         "@saga-web/graph": "2.1.105",

+ 2 - 1
src/components/floorMap/index.vue

@@ -104,7 +104,8 @@ export default {
                         this.fParser.parseData(res)
                         this.fParser.spaceList.forEach(t => {
                             this.scene.addItem(t)
-                            t.nameSize = 16
+                            t.nameSize = 14
+                            t.nameColor = '#646A73'
                             if (t.data.Name && this.bunkObj[t.data.Name]) {
                                 t.name = this.bunkObj[t.data.Name].detailtype
                             } else {