|
@@ -229,7 +229,8 @@ var app = new Vue({
|
|
|
div.style.textAlign = "center";
|
|
div.style.textAlign = "center";
|
|
|
div.style.whiteSpace = "nowrap";
|
|
div.style.whiteSpace = "nowrap";
|
|
|
div.style.MozUserSelect = "none";
|
|
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-id', data.id);
|
|
|
div.setAttribute('data-point', this._point.lng + ',' + this._point.lat);
|
|
div.setAttribute('data-point', this._point.lng + ',' + this._point.lat);
|
|
|
var span = this._span = document.createElement("span");
|
|
var span = this._span = document.createElement("span");
|