wesmiler 6 years ago
parent
commit
00aacb59cc
1 changed files with 2 additions and 1 deletions
  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");