|
@@ -2,7 +2,7 @@
|
|
|
<view class="main" style="background-image: url({{imgPath}}/index/bg.png);">
|
|
|
<view class="header" style="height: {{headerStyle.height}}px;line-height: {{headerStyle.height}}px;margin-top: {{headerStyle.top}}px;">{{title}}</view>
|
|
|
<view class="map-content" style="background-image: url({{imgPath}}/details/map-border.png);">
|
|
|
- <map class="map" enable-satellite="true"></map>
|
|
|
+ <map class="map" enable-satellite="true" longitude="{{map.longitude}}" latitude="{{map.latitude}}"></map>
|
|
|
</view>
|
|
|
<view class="tab">
|
|
|
<view class="tab-item" wx:for="{{tabs}}" style="{{tabActive == index ? 'background-image: url(' + imgPath + '/details/tab-bg.png);' : ''}}" data-index="{{index}}" bindtap="tabEvent">{{item.label}}</view>
|