wesmiler před 6 roky
rodič
revize
00aacb59cc
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      public/static/weixin/js/shop-map.js

+ 2 - 1
public/static/weixin/js/shop-map.js

@@ -229,7 +229,8 @@ var app = new Vue({
                 div.style.textAlign = "center";
                 div.style.whiteSpace = "nowrap";
                 div.style.MozUserSelect = "none";
-                div.setAttribute('class', 'info');
+                var className = data.business? 'info shop-business' : 'info';
+                div.setAttribute('class', className);
                 div.setAttribute('data-id', data.id);
                 div.setAttribute('data-point', this._point.lng + ',' + this._point.lat);
                 var span = this._span = document.createElement("span");